Git Product home page Git Product logo

Comments (9)

AllanWang avatar AllanWang commented on August 22, 2024

I am currently also experiencing this issue. My older apps (which probably aren't using 2.4) are not.

03-05 02:26:29.933 10033-10033/com.pitchedapps.material.glass.free E/AndroidRuntime: FATAL EXCEPTION: main Process: com.pitchedapps.material.glass.free, PID: 10033 java.lang.IllegalStateException: Can't start async operation (launchPurchaseFlow) because another async operation(launchPurchaseFlow) is in progress. at org.sufficientlysecure.donations.google.util.IabHelper.flagStartAsync(IabHelper.java:821) at org.sufficientlysecure.donations.google.util.IabHelper.launchPurchaseFlow(IabHelper.java:375) at com.pitchedapps.material.glass.fragments.DonationsFragment.donateGoogleOnClick(DonationsFragment.java:359) at com.pitchedapps.material.glass.fragments.DonationsFragment$1.onClick(DonationsFragment.java:235) at android.view.View.performClick(View.java:5204) at android.view.View$PerformClick.run(View.java:21154) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)

from donations.

mx1up avatar mx1up commented on August 22, 2024

from donations.

AllanWang avatar AllanWang commented on August 22, 2024

And if you want to press the button a second time?

from donations.

mx1up avatar mx1up commented on August 22, 2024

from donations.

dschuermann avatar dschuermann commented on August 22, 2024

Have you properly delegated the results like done in https://github.com/SufficientlySecure/donations/blob/master/example/src/main/java/org/sufficientlysecure/donations/example/DonationsActivity.java#L84 ?

from donations.

AllanWang avatar AllanWang commented on August 22, 2024

Sorry, my bad. It seems like I didn't the on activity created part. All is working now for me

from donations.

dschuermann avatar dschuermann commented on August 22, 2024

The README should be improved to describe the usage of the onActivityResult delegation.

from donations.

btimofeev avatar btimofeev commented on August 22, 2024

I have same issue. My onActivityResult is the same as in example. My code is here https://github.com/btimofeev/UniPatcher/blob/master/app/src/google/java/org/emunix/unipatcher/ui/activity/DonateActivity.java

Android 6.0.1
Google Play Services 10.0.84

from donations.

dschuermann avatar dschuermann commented on August 22, 2024

I added a better explanation to the README to pass through results to the fragment in onActivityResult. I don't know why other crashes still happen.

from donations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.