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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Enhance.Connector" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Enhance.Connector --version 1.0.0
#r "nuget: Enhance.Connector, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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.

  1. Check whether any ad is available:

    bool isReady = Enhance.IsInterstitialReady();

  2. 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.

  1. Check whether any ad is available:

    bool isReady = Enhance.IsRewardedAdReady();

  2. 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 are small sized ads displayed in the top or bottom of the app.

  1. Check whether any ad is available:

    bool isReady = Enhance.IsBannerAdReady();

  2. Display the ad:

    Enhance.ShowBannerAdWithPosition(Enhance.Position position);

    Available positions:

    Enhance.Position.Top Enhance.Position.Bottom

  3. 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.

  1. 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)

  2. Check whether any offer wall is available:

    bool isReady = Enhance.IsOfferwallReady();

  3. 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.

  1. Check whether any special offer is available:

    bool isReady = Enhance.IsSpecialOfferReady();

  2. 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.

  1. Send a simple analytics event:

    Enhance.LogEvent(string eventType);

  2. 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.

  1. Ask for local notifications permission:

    Enhance.RequestLocalNotificationPermission(Action onPermissionGranted, Action onPermissionRejected);

  2. Enable a new local notification:

    Enhance.EnableLocalNotification(string title, string messsage, int delaySeconds);

  3. 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.

  1. Check if In-App purchasing is currently supported:

    bool isSupported = Enhance.Purchases.IsSupported();

  2. Start the purchase flow for the given product:

    Enhance.Purchases.AttemptPurchase(string productName, Action onPurchaseSuccess, Action onPurchaseFailed);

  3. Try to consume the given product from the user's inventory:

    Enhance.Purchases.Consume(string productName, Action onConsumeSuccess, Action onConsumeFailed);

  4. Check if item is already owned:

    bool isOwned = Enhance.Purchases.IsItemOwned(string productName);

  5. Get the number of the given product that user owns, or 0 if none:

    int count = Enhance.Purchases.GetOwnedItemCount(string productName);

  6. Get the string containing the localized display title:

    string displayTitle = Enhance.Purchases.GetDisplayTitle(string productName, string defaultTitle);

  7. Get the string containing the localized display description:

    string displayDesc = Enhance.Purchases.GetDisplayDescription(string productName, string defaultDescription);

  8. Get the string containing the localized display price:

    string displayPrice = Enhance.Purchases.GetDisplayPrice(string productName, string defaultPrice);

  9. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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,238 1/18/2018