Yes it crashes with my key with your app.
I just reproduced your crash on Corona 2014.2454. I also just tested our plugin on the latest public build 2014.2393 and it is working. Was GameThrive working for you on an older version of a daily build or is this the first time you are setting up our plugin up?
If you also tried an older version too and it was crashing just the same let us know the version numbers as this will help us find what created this issue.
Thanks.
I’ll try a daily build. This is my first time using gamethrive. It works flawless on iOS.
I would use the latest public build instead of a daily build as everything is more stable on them. We will post back when we find more details on the daily build with our plugin on Android.
That did work but my issue with the public build is that local notifications don’t work when using:
Runtime:addEventListener( “notification”, notificationListener )
That should work, are you only seeing issues with the Corona notificationListener on iOS 8? Do you have an issue with that with or without our plugin?
If you are only seeing an issue on iOS 8 try using Xcode 5.1.1 with Corona. See my post for instructions on how to set it up. http://forums.coronalabs.com/topic/51264-registerforremotenotificationtypes-is-not-supported-in-ios-80-and-later/?p=266509
its just with the game thrive plugin. The daily build is fine but not the public.
I ran our sample program with Runtime:addEventListener(“notification”, notificationListener) and the notificationListener function gets called just fine with a table in the event parameter when I open a local notification. I built with the latest public build 2014.2393 and ran on Android 4.4 and iOS 8 devices.
For you on 2014.2393 is notificationListener not getting called or is the event parameter blank? Is it not working for you on Android or iOS?
Ok I figured it out, wow thats obscure. Somehow game thrive is turning off the gps on the public build.
Runtime:addEventListener( “location”, checkGPS)
That is very odd! Is the location listen not working on Android or iOS or both? On Android you need to include a permission are you missing that?
I’m not sure why but with out doing anything it started working. Anyway thanks for your help.
Hey, glad everything is working for you on the public build now.
Quick update on the daily builds, it seems daily build 2431 and newer doesn’t work with GameThrive but build 2429 and older do. It seems android.support.v4 was removed in those newer builds and is required for GameThrive to work. Since the public build is working you will probably stick to that but I’ll update everyone here when it is working on the newer daily builds.
Thanks.
Just updating everyone that we fixed the Android issue above when building with Corona daily builds 2430 and newer.
I’m still not having any joy on Android. Using 2459 and not seeing my remote pushes arrive. Also tried older build before these changes and nothing coming there either and those definitely worked couple of days ago.
@Appoet do thing work for you now?
Never mind, I have to try to debug this further. I can send through GameThrive website, but sending through my own server is not working now for some reason.
jonjonsson are you getting an error or an id back from our server when you’re using our JSON API? You can send us your full JSON message to contact@gamethrive.com and we can look it over if you still having issues.
Thanks.
Thanks for help. My device changed deviceID for some reason. I didn’t know that could happen. My server was not handling it correctly.
Sorry, I’m still having issues with Android unrelated to my previous server problem.
If I use an older build before the changes I get a different deviceID than if I use a new build (2459). Should that be happening?
Sending push to older build deviceID works fine as always, but new build deviceID does not receive push.
Old build:
All push methods work fine.
New build:
Shows up as subscribed player on GameThrive website.
Different deviceID than old build reported by GameThrive.IdsAvailableCallback(IdsAvailable)
Pushing with Rest API to that or old deviceID does not work
Pushing with Rest API with GameThrive PlayerID does not work
Pushing through GameThrive website does not work.
I looked at your app on our server and it looks like in your new builds you are using a different Google Project number in your app. Could you double check your GameThrive.Init() line with your project number on Google’s site https://console.developers.google.com/project
A few days ago made an update to our server to better report GCM warnings and errors. If you see any failures after sending a notification you can go to the settings page to see them. To clear them just resave the GCM settings.
Google’s registration ids are different per package name(case sensitive) per device per Google project number. A different registration id means a new playerID on our system.
Thanks, embarrassing mistake, a case of badly named projects in the Google Developer Console. The one I should have been using was called “API project” and another one I was trying to use was the name of my app but used for other purposes.
Nice addition to be able to see errors on the settings page.
The remote and local push notification icons are not the same now. Local uses the correct one: IconNotificationDefault-*hdpi.png but remote is using the app icon. It was not like this before.