Enhance.Connector
1.0.0
Requires NuGet 2.8.1 or higher.
dotnet add package Enhance.Connector --version 1.0.0
NuGet\Install-Package Enhance.Connector -Version 1.0.0
<PackageReference Include="Enhance.Connector" Version="1.0.0" />
paket add Enhance.Connector --version 1.0.0
#r "nuget: Enhance.Connector, 1.0.0"
// Install Enhance.Connector as a Cake Addin #addin nuget:?package=Enhance.Connector&version=1.0.0 // Install Enhance.Connector as a Cake Tool #tool nuget:?package=Enhance.Connector&version=1.0.0
Enhance Drag & Drop Library by Enhance, Inc.
http://www.enhance.co
XAMARIN
Setup
Install the provided .nupkg into your Xamarin project. If you run into trouble, there is a quick and easy walkthrough:
https://developer.xamarin.com/guides/cross-platform/xamarin-studio/nuget_walkthrough/
Hint: You can use Enhance in single platform applications(Android/iOS) as well as in multi-platform projects(e.g. Xamarin.Forms).
Interstitial Ads
Interstitial Ads are short static or video ads, usually shown between levels or when game is over.
Check whether any ad is available:
bool isReady = Enhance.IsInterstitialReady();
Show the ad:
Enhance.ShowInterstitialAd();
Note: Interstitial ads will automatically interrupt the flow of your application until the user completes interaction with the ad.
Rewarded Ads
Rewarded Ads are usually video ads which pay high CPM for the users who view them in return for an in-game reward.
Check whether any ad is available:
bool isReady = Enhance.IsRewardedAdReady();
Show the ad:
Enhance.ShowRewardedAd(Action<RewardType, int> OnRewardGranted, Action OnRewardDeclined, Action OnRewardUnavailable);
Note: Rewarded ads will automatically interrupt the flow of your application until the user completes interaction with the ad.
Banner Ads
Banner Ads are small sized ads displayed in the top or bottom of the app.
Check whether any ad is available:
bool isReady = Enhance.IsBannerAdReady();
Display the ad:
Enhance.ShowBannerAdWithPosition(Enhance.Position position);
Available positions:
Enhance.Position.Top Enhance.Position.Bottom
Hide the ad:
Enhance.HideBannerAd();
Note: You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.
Offer Walls
Offer Walls show full screen of real world offers(e.g. surveys), usually with reward offered in return for a completion.
Set currency callback. It's called whenever the user receives a reward from offerwall. It's important to do it in the beginning of the app's logic.
Enhance.SetReceivedCurrencyCallback(Action<int> onCurrencyReceived)
Check whether any offer wall is available:
bool isReady = Enhance.IsOfferwallReady();
Display the offer wall:
Enhance.ShowOfferwall();
Note: Offer walls will automatically interrupt the flow of your application until the user completes interaction with the offer wall.
Special Offers
Special offers are real world offers(e.g. surveys). They are available through Enhance ZeroCode, but now you can also request them from code.
Check whether any special offer is available:
bool isReady = Enhance.IsSpecialOfferReady();
Display the special offer:
Enhance.ShowSpecialOffer();
Note: Special Offers will automatically interrupt the flow of your application until the user completes interaction with the special offer.
Analytics
Enhance can hook into various analytics networks. By default it will track sessions, users and retention.
Send a simple analytics event:
Enhance.LogEvent(string eventType);
Send a detailed analytics event with parameter:
Enhance.LogEvent(string eventType, string paramKey, string paramValue);
Local Notifications
Local Notifications are reminders displayed on your mobile device's screen after the app becomes inactive.
Ask for local notifications permission:
Enhance.RequestLocalNotificationPermission(Action onPermissionGranted, Action onPermissionRejected);
Enable a new local notification:
Enhance.EnableLocalNotification(string title, string messsage, int delaySeconds);
Disable the local notification:
Enhance.DisableLocalNotification();
In-App Purchases
Enhance library provides a set of functions which help you to easily make use of different In-App Purchases SDKs in your application.
Check if In-App purchasing is currently supported:
bool isSupported = Enhance.Purchases.IsSupported();
Start the purchase flow for the given product:
Enhance.Purchases.AttemptPurchase(string productName, Action onPurchaseSuccess, Action onPurchaseFailed);
Try to consume the given product from the user's inventory:
Enhance.Purchases.Consume(string productName, Action onConsumeSuccess, Action onConsumeFailed);
Check if item is already owned:
bool isOwned = Enhance.Purchases.IsItemOwned(string productName);
Get the number of the given product that user owns, or 0 if none:
int count = Enhance.Purchases.GetOwnedItemCount(string productName);
Get the string containing the localized display title:
string displayTitle = Enhance.Purchases.GetDisplayTitle(string productName, string defaultTitle);
Get the string containing the localized display description:
string displayDesc = Enhance.Purchases.GetDisplayDescription(string productName, string defaultDescription);
Get the string containing the localized display price:
string displayPrice = Enhance.Purchases.GetDisplayPrice(string productName, string defaultPrice);
Manually restore purchases and update the user's inventory, if applicable:
Enhance.Purchases.ManuallyRestorePurchases(Action onRestoreSuccess, Action onRestoreFailed);
Advanced Usage
Most of Enhance functions can accept additional parameters for advanced usage. For example, instead of simple Enhance.IsInterstitialAdReady() you can use Enhance.IsInterstitialAdReady(string placement).
Demo Project
For a full implementation example, please see the demo project which can be found in the 'demo_project' directory within the distribution package.
Please remember that none of these features will work properly before Enhancing your application on our website.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard is compatible. netstandard1.0 was computed. netstandard1.1 was computed. netstandard1.2 was computed. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. monoandroid10 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wp8 was computed. wp81 was computed. wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 1.4
- NETStandard.Library (>= 1.6.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,284 | 1/18/2018 |