GameThrive new problems introduced possibly today

Just noticed three problems that starting occurring today:

  1. The function GameThrive.HandleLaunchArgs is nil. This was on the simulator on Mac. Did not try Android or iOS.

  2. For Android, the plugin now requires a new permission that prevents the device from sleeping.  Is this really necessary?  

  3. My game crashes now when device sleeps then wakes up.  I get Runtime Error  /Users/hiptic/Documents/GameThrive/SDK/Corona/SDK/android/…/shared/plugin_GameThrivePushNotifications.lua:74:java.lang.NullPointerException.  This bug is a show-stopper.

This was using Corona 2014.2448

Hello,

Sorry, this update went out sooner than expected. I am writing a up a post on what needs to be done to update to our newest version and will reply here with a link.

Thanks.

Here are the instructions on updating to GameThrive 1.4.0. Corona builds on 2014.2393 or later will be using this version and requires you to make the changes in the post below.

http://forums.coronalabs.com/topic/51526-important-update-gamethrive-sdk-140/

I can’t build for Simulator, GameThrive plugin seems to be at fault:

30/09/14 21:27:14,408 Corona Simulator[2094]: Runtime error

/Users/jonjonsson/Dropbox/projects/PokerGod/Builds/Poker¬†God.app/.build/libtemplate/Builder.lua:310: <error>{“status”:256,“message”:“ld: warning: ObjC object file (/Users/jonjonsson/Dropbox/projects/PokerGod/Builds/Poker¬†God.app/.build/libtemplate/libtemplate.a(main.o)) was compiled for iOS Simulator, but linking for MacOSX\nUndefined symbols for architecture i386:\n  “_OBJC_CLASS_$_GameThrive”, referenced from:\n      objc-class-ref in libplugin_GameThrivePushNotifications.a(GameThrivePushNotifications.o)\nld: symbol(s) not found for architecture i386\nclang: error: linker command failed with exit code 1 (use -v to see invocation)”}</error>

stack traceback:

C: in function ‘assert’

/Users/jonjonsson/Dropbox/projects/PokerGod/Builds/Poker¬†God.app/.build/libtemplate/Builder.lua:310: in function ‘checkError’

/Users/jonjonsson/Dropbox/projects/PokerGod/Builds/Poker¬†God.app/.build/libtemplate/Builder.lua:333: in function ‘build’

?: in function ‘buildExe’

?: in function <?:644>

We are working on a fix for the Build for “Xcode Simulator” option. We should be able to get this fixed within a day.

We have fixed the “Xcode Simulator” build link error when GameThrive is included. Could you give it anther try jonjonsson? I am to verify it builds correctly but I haven’t been able to get the iOS 8 simulator to install to make sure it is running correctly.

Yes it works now thanks.

For Android, the plugin now requires a new permission that prevents the device from sleeping.  Is this really necessary?  

Testing on Android now and seeing this too. 

We added the android.permission.WAKE_LOCK to this update but we also removed the android.permission.RECEIVE_BOOT_COMPLETED permission. We use the wake lock in the new update to make sure notifications can display on time when the screen is off.

Hello,

Sorry, this update went out sooner than expected. I am writing a up a post on what needs to be done to update to our newest version and will reply here with a link.

Thanks.

Here are the instructions on updating to GameThrive 1.4.0. Corona builds on 2014.2393 or later will be using this version and requires you to make the changes in the post below.

http://forums.coronalabs.com/topic/51526-important-update-gamethrive-sdk-140/

I can’t build for Simulator, GameThrive plugin seems to be at fault:

30/09/14 21:27:14,408 Corona Simulator[2094]: Runtime error

/Users/jonjonsson/Dropbox/projects/PokerGod/Builds/Poker¬†God.app/.build/libtemplate/Builder.lua:310: <error>{“status”:256,“message”:“ld: warning: ObjC object file (/Users/jonjonsson/Dropbox/projects/PokerGod/Builds/Poker¬†God.app/.build/libtemplate/libtemplate.a(main.o)) was compiled for iOS Simulator, but linking for MacOSX\nUndefined symbols for architecture i386:\n  “_OBJC_CLASS_$_GameThrive”, referenced from:\n      objc-class-ref in libplugin_GameThrivePushNotifications.a(GameThrivePushNotifications.o)\nld: symbol(s) not found for architecture i386\nclang: error: linker command failed with exit code 1 (use -v to see invocation)”}</error>

stack traceback:

C: in function ‘assert’

/Users/jonjonsson/Dropbox/projects/PokerGod/Builds/Poker¬†God.app/.build/libtemplate/Builder.lua:310: in function ‘checkError’

/Users/jonjonsson/Dropbox/projects/PokerGod/Builds/Poker¬†God.app/.build/libtemplate/Builder.lua:333: in function ‘build’

?: in function ‘buildExe’

?: in function <?:644>

We are working on a fix for the Build for “Xcode Simulator” option. We should be able to get this fixed within a day.

We have fixed the “Xcode Simulator” build link error when GameThrive is included. Could you give it anther try jonjonsson? I am to verify it builds correctly but I haven’t been able to get the iOS 8 simulator to install to make sure it is running correctly.

Yes it works now thanks.

For Android, the plugin now requires a new permission that prevents the device from sleeping.  Is this really necessary?  

Testing on Android now and seeing this too. 

We added the android.permission.WAKE_LOCK to this update but we also removed the android.permission.RECEIVE_BOOT_COMPLETED permission. We use the wake lock in the new update to make sure notifications can display on time when the screen is off.