i am trying implement in apps purchase in cocos2d game. i use extend CCLayer scene() in cocos2d. when i click on button of in-apps purchase than payment dialog is open but my application is close in back-end. i don't know how this happen.
automatically Application close when in apps dialog open in cocos2d android
295 Views Asked by Gaurav Pansheriya At
1
There are 1 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in IN-APP-PURCHASE
- TypeError: _appStoreServerLibrary.SignedDataVerifier is not a constructor node js app-store-server-library
- macOS in-app purchases via dylib - is it possible? alternatives? suggestions?
- StoreKit 2: Custom purchase option isn't recorded
- ios sdk swift : Show in-app app update/install prompt
- purchase errors via 2accounts
- How to handle Apple subscription with serverside verification
- IOS IAP succeed but does not charge the user
- Can't add iOS sandbox test credit cards
- Cannot see free trial in Android/Play store using Flutter in_app_purchase
- Can an iOS app sell user created content with In-App Purchases?
- Flutter in_app_purchase multiple subscriptions
- iOS 17.4 Code=4097 "connection to service named com.apple.storekitd"
- Is there any way to handle promocode in flutter?
- How I can know if the user cancel the subscription from google play store using in_app_purchase Flutter?
- Unity IAP AppleOriginalTransactionID is empty
Related Questions in COCOS2D-ANDROID
- Decrypting help on IDA Pro/XXTEA
- Android studio error No variants found for 'app' in cocos 2d-x project
- Admob rewarded video will only appear once
- Cocos2dx Crash - Version 3.17.2
- How to use CustomEventData in Button component Cocos Creator 3.5.0 Typescript
- clang++: error: linker command failed with exit code 1 in Cocos Creator Android Studio. Possibly _stack_chk_fail_local
- Cocos 2dx 4.x. Enable C++17 in Android Studio
- Cocos 2dx control playback speed of currently playing audio effect
- PluginOneSignal/PluginOneSignal.h' file not found
- Exporting cocos2d Android application as aar and calling its Activity from another project
- Integrate Android library into cocos2D for Android release (Failed to invoke JavaScriptJavaBridge_callStaticMethod)
- What is the purpose of runOnUiThread in Android games?
- IOError: [Errno 2] No such file or directory: directory...proj.android\\app/build/outputs/apk\\debug\\app-debug.apk
- Why doesn`t Cosos2d ClippingNode work properly?
- Call JNI from cocos2d-x to Android is not triggered in Release Mode
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
i think its due to -
finish(). May be you have called the finish() in youronPause(). In my case i mistakenly wrote it in onPause for that reason when i clicked the buy button of IAP, always dialogue appeared but game window closed automatically.After commenting out the
finish()method my problem solved. :)