distriqt / ANE-Parse

Provides access to the Parse SDK
https://airnativeextensions.com/extension/com.distriqt.Parse
Other
0 stars 0 forks source link

Parse Installation #8

Closed sfcal99 closed 9 years ago

sfcal99 commented 9 years ago

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

marchbold commented 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

sfcal99 commented 9 years ago

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 image

marchbold commented 9 years ago

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.

sfcal99 commented 9 years ago

is there anything I need to configure on Parse? I still not get any data at all...

marchbold commented 9 years ago

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.

sfcal99 commented 9 years ago

I use back your example to build the app, but the installation didn't appear on Parse at all

marchbold commented 9 years ago

Can you send a push notification through Parse?

sfcal99 commented 9 years ago

Cannot, no installation found

marchbold commented 9 years ago

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:

sfcal99 commented 9 years ago

I have update with the latest version, but the installation still no update at all... how to include additional information in test environment?

sfcal99 commented 9 years ago

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

sfcal99 commented 9 years ago

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)

marchbold commented 9 years ago

Are you sure you are packaging the Bolts ANE with your application?

sfcal99 commented 9 years ago
<extensions>
    <extensionID>com.distriqt.Bolts</extensionID>
    <extensionID>com.distriqt.Core</extensionID>
    <extensionID>com.distriqt.Parse</extensionID>
</extensions>

image

anything else need to configure?

marchbold commented 9 years ago

What version of AIR are you using?

sfcal99 commented 9 years ago

17.0.0.124

marchbold commented 9 years ago

Can you try with 18+, there are some important fixes for the Android build tools in 18

sfcal99 commented 9 years ago

okay, after update to 18.0.0.199, is work