Closed sfcal99 closed 9 years ago
Hi, Can you please include more information as to what you have tried and your testing environment?
First thing to check is that you've followed all the instructions in the getting started guide:
http://airnativeextensions.com/extension/com.distriqt.Parse#get-started
https://www.dropbox.com/s/15j1vucmfqt6i83/parse-example.zip?dl=0 here is the example file
[trace] Parse Supported: true [trace] Parse Version: 1.8.Android.1.4 [trace] Parse Notifications Enabled: true [trace] parse:register:success [trace] ============= SUBSCRIPTIONS ================== [trace] ==============================================
no error found, but in the Parse Console, data no update
Hi, Installations can take a long time to appear in this view. It's better to check the analytics views as they are updated more often. Are push notifications working for your application?
We are just about to push an update for version 1.10 of Parse so you could also try this update. Make sure you grab the Bolts update as well.
is there anything I need to configure on Parse? I still not get any data at all...
No,
The installation object can take a while to appear, you should test by running your application for a decent period, and attempt to trigger some push notifications. We haven't figured out a decent way of forcing the installation to appear.
I use back your example to build the app, but the installation didn't appear on Parse at all
Can you send a push notification through Parse?
Cannot, no installation found
Okay,
Firstly make sure you are using the latest versions of the parse, bolts and core ANE's in your application.
Next, can you include some additional information about your test environment:
adb logcat
in a consoleI have update with the latest version, but the installation still no update at all... how to include additional information in test environment?
here the error I found on logcat 08-27 09:27:20.767 24696-24696/? W/dalvikvm﹕ Unable to resolve superclass of Lcom/distriqt/extension/parse/ParseNotificationsReceiver; (635) 08-27 09:27:20.767 24696-24696/? W/dalvikvm﹕ Link of class 'Lcom/distriqt/extension/parse/ParseNotificationsReceiver;' failed
And the app crash 08-27 09:30:18.900 25305-25305/? E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: air.com.astro.duniaceria, PID: 25305 java.lang.RuntimeException: Unable to instantiate receiver com.parse.GcmBroadcastReceiver: java.lang.ClassNotFoundException: Didn't find class "com.parse.GcmBroadcastReceiver" on path: DexPathList[[zip file "/data/app/air.com.astro.duniaceria-1.apk"],nativeLibraryDirectories=[/data/app-lib/air.com.astro.duniaceria-1, /vendor/lib, /system/lib]] at android.app.ActivityThread.handleReceiver(ActivityThread.java:2388) at android.app.ActivityThread.access$1700(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1272) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5001) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method)
Are you sure you are packaging the Bolts ANE with your application?
<extensions>
<extensionID>com.distriqt.Bolts</extensionID>
<extensionID>com.distriqt.Core</extensionID>
<extensionID>com.distriqt.Parse</extensionID>
</extensions>
anything else need to configure?
What version of AIR are you using?
17.0.0.124
Can you try with 18+, there are some important fixes for the Android build tools in 18
okay, after update to 18.0.0.199, is work
I try to use your sample code to build the app, but after run the app, the installation didn't add into Parse Installation, can you check on this