App crashes when Google Play store popup closed by tapping outside of it

Hey, just to add to this – yes, we are experiencing this now too.  2702 is the last build that works for us.  It seems like any native popup will cause our app to freeze on return.  We noticed with the “social” popup.

We saw this in the 2705 release notes:

  • Android: fixed case where audio would continue to play after the device enters sleep mode via timeout on Android 5.1.X; casenum 42340.
  • Core: making BitmapPaint’s scaleX and scaleY properties to be consistent for accessing and setting them (casenum 42497)
  • All - Fixing a race condition on transition resume. Casenum 42440.
  • Core Graphics: fixed horizontal gradients for rounded rects and circles (casenum 39683)

Maybe it’s something to do with the Android audio fix and suspending/resuming apps or something? Or perhaps it’s something to do with fixing the transition.resume race condition?

Thanks,

Dave

Brent, this can be reproduced with the ComposeSMSAndEmail sample code in the latest build - 2716.  The last time it worked was Build 2702.

 

This is a serious problem.

Thanks,

Dave

More info now that I have debug working:

V/Corona  ( 1469): > Class.forName: plugin.fuse.LuaLoader

W/linker  ( 1469): liblicensing.so has text relocations. This is wasting memory and prevents security hardening. Please fix.

V/Corona  ( 1469): > Class.forName: CoronaProvider.licensing.google.LuaLoader

V/Corona  ( 1469): < Class.forName: CoronaProvider.licensing.google.LuaLoader

V/Corona  ( 1469): Loading via reflection: CoronaProvider.licensing.google.LuaLoader

W/Bundle  ( 1469): Key android.intent.extra.TEXT expected ArrayList<CharSequence> but value was a android.text.SpannableStringBuilder.  The default value <null> was returned.

W/Bundle  ( 1469): Attempt to cast generated internal exception:

W/Bundle  ( 1469): java.lang.ClassCastException: android.text.SpannableStringBuilder cannot be cast to java.util.ArrayList

W/Bundle  ( 1469):      at android.os.BaseBundle.getCharSequenceArrayList(BaseBundle.java:1060)

W/Bundle  ( 1469):      at android.os.Bundle.getCharSequenceArrayList(Bundle.java:884)

W/Bundle  ( 1469):      at android.content.Intent.getCharSequenceArrayListExtra(Intent.java:5172)

W/Bundle  ( 1469):      at android.content.Intent.migrateExtraStreamToClipData(Intent.java:7853)

W/Bundle  ( 1469):      at android.app.Instrumentation.execStartActivity(Instrumentation.java:1494)

W/Bundle  ( 1469):      at android.app.Activity.startActivityForResult(Activity.java:3745)

W/Bundle  ( 1469):      at android.app.Activity.startActivityForResult(Activity.java:3706)

W/Bundle  ( 1469):      at com.ansca.corona.CoronaActivity.showSendMailWindowUsing(CoronaActivity.java:1860)

W/Bundle  ( 1469):      at com.ansca.corona.CoronaShowApiHandler.showSendMailWindowUsing(CoronaShowApiHandler.java:52)

W/Bundle  ( 1469):      at com.ansca.corona.Controller$11.run(Controller.java:1075)

W/Bundle  ( 1469):      at android.os.Handler.handleCallback(Handler.java:739)

W/Bundle  ( 1469):      at android.os.Handler.dispatchMessage(Handler.java:95)

W/Bundle  ( 1469):      at android.os.Looper.loop(Looper.java:135)

W/Bundle  ( 1469):      at android.app.ActivityThread.main(ActivityThread.java:5254)

W/Bundle  ( 1469):      at java.lang.reflect.Method.invoke(Native Method)

W/Bundle  ( 1469):      at java.lang.reflect.Method.invoke(Method.java:372)

W/Bundle  ( 1469):      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

W/Bundle  ( 1469):      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

Hey guys sorry for not keeping up with this thread - been super busy over the past week…  I’ve had to resort to building with public build 2511 (two public builds ago) to find one that doesn’t break.  If I use the latest public build or latest daily this bug occurs.   Using an Android phone with Android v 4.1.2 on it if my Google Play store popup dialog (one with IAP item price and “Buy” button) is visible, and I tap outside of it (as if I changed my mind to purchase iAP), the app fully freezes up then crashes hard.  Using build 2511, if I do this the store callback is called with a “failed” command and it’s caught and all works as expected.  Using the recent builds it appears this is never called - or not really sure what happens.  

Not sure what code I can show that’d help - this is from the Google Play layer - the store popup dialog which I don’t have any control over in lua…

Dave - you experiencing this bug too?

@borderleap - I think it’s probably the same bug or very similar. The app my team is working on at the moment doesn’t have any IAP, and I haven’t put out a new android version of Puzzlewood in a month or so, so I can’t verify at the moment.

Dave

I put in a bug for this. (Case 42778)

Hi guys,

Thanks for filing the reports. We’re aware of this issue and are looking into fixes for it.

Brent

Hi everyone,

This issue has been fixed in build 2015.2718.

Excellent!  Thanks Brent, Dave and Ajay :slight_smile:  Going to dig into this latest daily build later today and give it a try.

My team has confirmed that all is well in 2718.  :-)

Thanks!

Dave

Thanks Dave!