public override void SetMessagingListener(FlurrySDK.Flurry.IFlurryMessagingListener flurryMessagingListener)
        {
            Debug.Log("To enable Flurry Messaging for Android, please remember to update your AndroidManifest.xml to setup the Messaging.");

            if (flurryMessagingListener != null)
            {
                try
                {
                    AndroidJavaClass cls_FlurryApplication = new AndroidJavaClass("com.flurry.android.FlurryUnityApplication");
                    cls_FlurryApplication.CallStatic("withFlurryMessagingListener", new MessagingCallback(flurryMessagingListener));
                } catch (AndroidJavaException ex) {
                    Debug.Log("To enable Flurry Messaging for Android, please remember to include Flurry Marketing libraries.");
                }
            }
        }
Example #2
0
 public override void SetMessagingListener(FlurrySDK.Flurry.IFlurryMessagingListener flurryMessagingListener)
 {
     Debug.Log("iOS does not make use of the flurryMessagingListener. This is handled by delegate methods didReceiveMessage and didReceiveActionWithIdentifier in FlurryUnityPlugin.mm");
 }
 public MessagingCallback(FlurrySDK.Flurry.IFlurryMessagingListener flurryMessagingListener)
     : base("com.flurry.android.marketing.messaging.FlurryMessagingListener")
 {
     messagingListener = flurryMessagingListener;
 }
Example #4
0
 public abstract void SetMessagingListener(FlurrySDK.Flurry.IFlurryMessagingListener flurryMessagingListener);