I'm having trouble with getting cached data from OnApplicationPause.
09-24 16:28:28.311 26187 26218 I Unity : AndroidJavaException: java.lang.NoSuchMethodError: no non-static method with name='getPushCacheData' signature='()Ljava/lang/String;' in class Lcom.playfab.unityplugin.GCM.PlayFabPushCache; 09-24 16:28:28.311 26187 26218 I Unity : java.lang.NoSuchMethodError: no non-static method with name='getPushCacheData' signature='()Ljava/lang/String;' in class Lcom.playfab.unityplugin.GCM.PlayFabPushCache;
void OnApplicationPause(bool paused) { #if UNITY_ANDROID && !UNITY_EDITOR PlayFabAndroidPlugin.UpdateRouting(paused); string cached = PlayFabGoogleCloudMessaging.GetPushCacheData(); GameManagerScript.Instance.Toast(cached); #endif }
also when trying to use the other function `GetPushCache` i get this error:
09-24 16:44:43.641 9023 9078 I Unity : Exception: JNI: Unknown signature for type 'System.Collections.Generic.List`1[UnityEngine.AndroidJavaObject]' (obj = System.Collections.Generic.List`1[UnityEngine.AndroidJavaObject]) equal 09-24 16:44:43.641 9023 9078 I Unity : at UnityEngine._AndroidJNIHelper.GetSignature (System.Object obj) [0x00270] in /Users/builduser/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:1202