From fa2b4e0dd8f73da79c367ab8b02c3eefa2c0860f Mon Sep 17 00:00:00 2001 From: Vitaly Sokolov Date: Mon, 18 Apr 2022 18:19:22 +0300 Subject: [PATCH] Update Sample App target API --- .../AppsFlyerXamarinBindingAndroid.csproj | 2 -- XamarinSample/MainActivity.cs | 2 +- XamarinSample/MyNewFirebaseManager.cs | 2 +- XamarinSample/Properties/AndroidManifest.xml | 2 +- XamarinSample/XamarinSample.csproj | 4 ++-- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/AppsFlyerXamarinBindingAndroid/AppsFlyerXamarinBindingAndroid.csproj b/AppsFlyerXamarinBindingAndroid/AppsFlyerXamarinBindingAndroid.csproj index f656344..6fc7023 100644 --- a/AppsFlyerXamarinBindingAndroid/AppsFlyerXamarinBindingAndroid.csproj +++ b/AppsFlyerXamarinBindingAndroid/AppsFlyerXamarinBindingAndroid.csproj @@ -44,8 +44,6 @@ prompt 4 - - false diff --git a/XamarinSample/MainActivity.cs b/XamarinSample/MainActivity.cs index 3bbb55e..a9294f6 100644 --- a/XamarinSample/MainActivity.cs +++ b/XamarinSample/MainActivity.cs @@ -58,7 +58,7 @@ protected override void OnCreate(Bundle savedInstanceState) DeepLinkListener dl = new DeepLinkListener(this); AppsFlyerLib.Instance.AddPushNotificationDeepLinkPath(new string[] { "key1", "key2" }); AppsFlyerLib.Instance.SetDebugLog(true); - AppsFlyerLib.Instance.SetLogLevel(AFLogger.LogLevel.Verbose); // Enable verbose logs for debugging + //AppsFlyerLib.Instance.SetLogLevel(AFLogger.LogLevel.Verbose); // Enable verbose logs for debugging AppsFlyerLib.Instance.Init("4UGrDF4vFvPLbHq5bXtCza", cl, Application); AppsFlyerLib.Instance.SetAppInviteOneLink("E2bM"); // Replace with OneLink ID from your AppsFlyer account AppsFlyerLib.Instance.SetSharingFilter(new string[]{"test", "partner_int"}); diff --git a/XamarinSample/MyNewFirebaseManager.cs b/XamarinSample/MyNewFirebaseManager.cs index 164d314..5ead578 100644 --- a/XamarinSample/MyNewFirebaseManager.cs +++ b/XamarinSample/MyNewFirebaseManager.cs @@ -4,7 +4,7 @@ using Firebase.Messaging; -[Service] +[Service(Exported = true)] [IntentFilter(new[] { "com.google.firebase.MESSAGING_EVENT" })] public class MyNewFirebaseManager : FirebaseMessagingService { diff --git a/XamarinSample/Properties/AndroidManifest.xml b/XamarinSample/Properties/AndroidManifest.xml index d1d3d69..e3ed757 100644 --- a/XamarinSample/Properties/AndroidManifest.xml +++ b/XamarinSample/Properties/AndroidManifest.xml @@ -1,6 +1,6 @@  - + diff --git a/XamarinSample/XamarinSample.csproj b/XamarinSample/XamarinSample.csproj index d4be0fb..384d5b3 100644 --- a/XamarinSample/XamarinSample.csproj +++ b/XamarinSample/XamarinSample.csproj @@ -17,7 +17,7 @@ Resources\Resource.designer.cs Resource Off - v10.0 + v12.0 Properties\AndroidManifest.xml Resources Assets @@ -128,7 +128,7 @@ 117.6.0 - 122.0.0 + 122.0.0.5 1.0.0.8