Amazon App Store IAP Implementation throws CommandServiceClient: CommandServiceException at runtime [closed] - android

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 days ago.
Improve this question
I'm getting some runtime errors when trying to connect to the Appstore SDK in sandbox mode from a Samsung Device:
D/Kiwi: CommandServiceClient: Binding Service!!!
D/Kiwi: CommandServiceClient: Created intent with action com.amazon.venezia.CommandService
E/Kiwi: CommandServiceClient: CommandServiceException happened, retriesLeft=4
com.amazon.a.a.n.a.a.c: COMMAND_SERVICE_NOT_INSTALLED: null: null
at com.amazon.a.a.n.a.d.e(CommandServiceClient.java:257)
at com.amazon.a.a.n.a.d.a(CommandServiceClient.java:181)
at com.amazon.a.a.n.a.a.a(AbstractCommandTask.java:124)
at com.amazon.a.a.n.b.b$1.run(SimpleTaskPipeline.java:179)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.os.HandlerThread.run(HandlerThread.java:67)
D/Kiwi: CommandServiceClient: Sleeping for 400 ms
I/ViewRootImpl#4ec0c94[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView#f7f1bd[MainActivity]
D/InputMethodManager: getNavigationBarColor() -855310
D/FA: Connected to remote service
D/InputMethodManager: prepareNavigationBarInfo() DecorView#f7f1bd[MainActivity]
D/InputMethodManager: getNavigationBarColor() -855310
mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
V/FA: Processing queued up service tasks: 7
D/InputTransport: Input channel constructed: 'ClientS', fd=202
D/InputMethodManager: prepareNavigationBarInfo() DecorView#f7f1bd[MainActivity]
D/InputMethodManager: getNavigationBarColor() -855310
mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/SurfaceControl: nativeRelease nativeObject s[-5476376664434943808]
I/SurfaceControl: nativeRelease nativeObject e[-5476376664434943808]
I/SurfaceControl: nativeRelease nativeObject s[-5476376664434943904]
I/SurfaceControl: nativeRelease nativeObject e[-5476376664434943904]
W/FlurryAgent: Analytics report sent to https://data.flurry.com/v1/flr.do
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
I/Ads: Ad failed to load : 3
D/MyAds: No ad config.
I/Ads: Ad failed to load : 3
AllocSpace objects, 2(104KB) LOS objects, 49% free, 7073KB/13MB, paused 212us total 103.640ms
D/FONTSIZE: letter=50specials:36
D/TAG: tileWidth=72.0
I/TAG: No ad config.
I/Ads: Ad failed to load : 3
D/Kiwi: CommandServiceClient: Binding Service!!!
D/Kiwi: CommandServiceClient: Created intent with action com.amazon.venezia.CommandService
E/Kiwi: CommandServiceClient: CommandServiceException happened, retriesLeft=3
com.amazon.a.a.n.a.a.c: COMMAND_SERVICE_NOT_INSTALLED: null: null
at com.amazon.a.a.n.a.d.e(CommandServiceClient.java:257)
at com.amazon.a.a.n.a.d.a(CommandServiceClient.java:181)
at com.amazon.a.a.n.a.a.a(AbstractCommandTask.java:124)
at com.amazon.a.a.n.b.b$1.run(SimpleTaskPipeline.java:179)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.os.HandlerThread.run(HandlerThread.java:67)
D/Kiwi: CommandServiceClient: Sleeping for 800 ms
W/FlurryAgent: Analytics report sent to https://data.flurry.com/v1/flr.do
D/Kiwi: CommandServiceClient: Binding Service!!!
D/Kiwi: CommandServiceClient: Created intent with action com.amazon.venezia.CommandService
E/Kiwi: CommandServiceClient: CommandServiceException happened, retriesLeft=2
com.amazon.a.a.n.a.a.c: COMMAND_SERVICE_NOT_INSTALLED: null: null
at com.amazon.a.a.n.a.d.e(CommandServiceClient.java:257)
at com.amazon.a.a.n.a.d.a(CommandServiceClient.java:181)
at com.amazon.a.a.n.a.a.a(AbstractCommandTask.java:124)
at com.amazon.a.a.n.b.b$1.run(SimpleTaskPipeline.java:179)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.os.HandlerThread.run(HandlerThread.java:67)
D/Kiwi: CommandServiceClient: Sleeping for 1600 ms
D/Kiwi: CommandServiceClient: Binding Service!!!
D/Kiwi: CommandServiceClient: Created intent with action com.amazon.venezia.CommandService
E/Kiwi: CommandServiceClient: CommandServiceException happened, retriesLeft=1
com.amazon.a.a.n.a.a.c: COMMAND_SERVICE_NOT_INSTALLED: null: null
at com.amazon.a.a.n.a.d.e(CommandServiceClient.java:257)
at com.amazon.a.a.n.a.d.a(CommandServiceClient.java:181)
at com.amazon.a.a.n.a.a.a(AbstractCommandTask.java:124)
at com.amazon.a.a.n.b.b$1.run(SimpleTaskPipeline.java:179)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.os.HandlerThread.run(HandlerThread.java:67)
D/Kiwi: CommandServiceClient: Sleeping for 3200 ms
V/FA: Inactivity, disconnecting from the service
D/Kiwi: CommandServiceClient: Binding Service!!!
D/Kiwi: CommandServiceClient: Created intent with action com.amazon.venezia.CommandService
When trying to get the user data but the request never returns on Sandbox.
D/d: Appstore SDK - Sandbox Mode: sendGetUserDataRequest
D/d: Appstore SDK - Sandbox Mode: sendPurchaseUpdatesRequest/sendGetUserData first:a3c3a5b3-d45d-4a0d-9ba7-6bb7c3075bba
D/d: Appstore SDK - Sandbox Mode: sendItemDataRequest
When running against the production servers I get a "FAILED" status when trying to get IAP product information available like price name etc.
I have their Amazon App Tester app installed and it recognizes the local json I've uploaded.
Does it look like a broken linking maybe or Pro guard invalid config file ? I'm a beginner on Android development , was able to implement Play Store IAP's sucessufully in the past but seems I'm missing something regarding the Amazon Store IAP.

Since API 30 you need to add queries to the manifest file. For Amazon this is needed:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
...>
<queries>
<package android:name="com.amazon.venezia"/>
</queries>
It's really weird that they didn't write that in their documentation.

Thanks a lot, Simon ! I've included the queries part like this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.mycompany.myapp">
<queries>
<package android:name="com.amazon.venezia"/>
</queries>
<uses-feature
android:name="android.hardware.camera"
android:required="true" />
But I still get the command service not installed error:
> D/Kiwi: AbstractCommandTask: ----------------------------------------------
D/Kiwi: AbstractCommandTask: Executing: get_license
D/Kiwi: AbstractCommandTask: ----------------------------------------------
D/Kiwi: AbstractCommandTask: Executing Command: get_license
D/Kiwi: CommandServiceClient: Binding Service!!!
D/Kiwi: CommandServiceClient: Created intent with action com.amazon.venezia.CommandService
E/Kiwi: CommandServiceClient: CommandServiceException happened, retriesLeft=6
com.amazon.a.a.n.a.a.c: COMMAND_SERVICE_NOT_INSTALLED: null: null
at com.amazon.a.a.n.a.d.e(CommandServiceClient.java:257)
at com.amazon.a.a.n.a.d.a(CommandServiceClient.java:181)
at com.amazon.a.a.n.a.a.a(AbstractCommandTask.java:124)
at com.amazon.a.a.n.b.b$1.run(SimpleTaskPipeline.java:179)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
When running agains Production. When using Sandbox mode, I don't get anymore COMMAND_SERVICE_NOT_INSTALLED but I do get AUTH_TOKEN_VERIFICATION_FAILURE:
> D/Kiwi: AbstractCommandTask: Exception occurred while processing task: com.amazon.a.a.n.a.a.a: AUTH_TOKEN_VERIFICATION_FAILURE: null: null
com.amazon.a.a.n.a.a.a: AUTH_TOKEN_VERIFICATION_FAILURE: null: null
at com.amazon.a.a.n.a.b.a(AuthenticationTokenVerifier.java:94)
at com.amazon.a.a.n.a.a.a(AbstractCommandTask.java:204)
at com.amazon.a.a.n.a.a.a(AbstractCommandTask.java:131)
at com.amazon.a.a.n.b.b$1.run(SimpleTaskPipeline.java:179)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.os.HandlerThread.run(HandlerThread.java:67)
E/Kiwi: AbstractCommandTask: On Exception!!!!: com.amazon.a.a.n.a.a.a: AUTH_TOKEN_VERIFICATION_FAILURE: null: null
I've included the .pem file as they suggested in the project's assets directory but it seems it didn't work:
AppstoreAuthenticationKey.pem
Do you have any clue of what might be the issue ?

Check you have the Amazon App Tester app installed and configured with your IAP json data, along with the correct receiver tags in your merged AndroidManifest. Additionally, make sure you have sandbox mode enabled on your test device(s):
https://stackoverflow.com/a/71393893/18483253
See also my answer over here:
https://stackoverflow.com/a/71588959/18483253

Thanks #Chris for your answer! I had the same problem, regrettably it took me a while to understand some connections behind the testing process, so I'd like to summarise a few things that I found out.
Apart from the actual coding, a common mistake seems to be the missing receiver in the Manifest. If you encounter the issue, doublecheck here:
https://developer.amazon.com/docs/in-app-purchasing/iap-implement-iap.html#responsereceiver
Make sure you have downloaded the PEM-file and put it in the right directory. Doublecheck here:
https://developer.amazon.com/docs/in-app-purchasing/integrate-appstore-sdk.html#configure_key
Now the misunderstanding that I had: When testing in-app purchases with Google Play, the device is actually loading the products from the server. But here's a major difference for Amazon: When testing with the Amazon App Store in Debug mode, the test-device will NOT connect to the server, but the request is handled by another test app, the Amazon App Tester:
https://www.amazon.com/-/de/gp/mas/get/android/ref=mas_buy_client?showAsin=1&asin=B00BN3YZM2
But it is not enough to have the app installed on the test device, you also need to download the sku-definition from the web-interface and push it to the test-device. When you then open the Amazon App Tester app, you can see your sku(s) in the last section. Only if you see them there, your test requests will be handled by the app!
Here's the tutorial video with the specific steps to set up the device:
https://www.youtube.com/watch?v=cmPAY16wGb0&list=PL93Q4ZD_4z4oUkRM0ap23LAN3HBENuXt2&index=9&t=289s
I hope this also helps for your understanding!

Related

Template Application for running Azure Custom Vision Image Detection not working once I open the application

The template application I was using for running an image classifier model from Azure Custom Vision is not working when i try to build and run it first.
I tried building and running, as what the README.md said to test the application, but so far, i keep on getting errors that I hardly can even fathom. I expected this would run as said, but as I said, it kept on showing errors when I tried to open the app. The phone I'm using is a Huawei but I forgot the specific series and stuff. Here is the error log I got from just clicking on the app.
01/25 19:12:11: Launching 'app' on HUAWEI MED-LX9.
Install successfully finished in 5 s 540 ms.
$ adb shell am start -n "demo.tensorflow.org.customvision_sample/demo.tensorflow.org.customvision_sample.ClassifierActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 9677 on device 'huawei-med_lx9-PEVBB20423201126'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/omvision_sampl: Late-enabling -Xcheck:jni
E/omvision_sampl: Unknown bits set in runtime_flags: 0x8000
I/omvision_sampl: Reinit property: dalvik.vm.checkjni= false
I/omvision_sampl: ReInitProperties: persist.vm.debug.dumpapi= false
D/ActivityThread: Attach thread to application
D/HwFrameworkSecurityPartsFactory: HwFrameworkSecurityPartsFactory in.
I/HwFrameworkSecurityPartsFactory: add HwFrameworkSecurityPartsFactory to memory.
E/BehaviorCollectManager: Fail to acquire dataAnalyzerService...
I/omvision_sampl: The ClassLoaderContext is a special shared library.
I/omvision_sampl: QarthPatchMonintor::Init
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::StartWatch
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::WatchPackage: /data/hotpatch/fwkhotpatch/
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::CheckAndWatchPatch: /data/hotpatch/fwkhotpatch/demo.tensorflow.org.customvision_sample
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::CheckAndWatchPatch: /data/hotpatch/fwkhotpatch/all
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::Run
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::Reading
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::CheckNotifyEvent
I/omvision_sampl:
I/omvision_sampl: QarthPatchMonintor::CheckNotifyEvent before read
I/omvision_sampl:
I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=demo.tensorflow.org.customvision_sample#10169#256
I/HwApiCacheMangerEx: need clear apicache,because volumes changed,oldCnt=0 newCnt=1
I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=demo.tensorflow.org.customvision_sample#10169#0
I/HwApiCacheMangerEx: need clear apicache,because volumes changed,oldCnt=1 newCnt=1
I/AwareBitmapCacher: init processName:demo.tensorflow.org.customvision_sample pid=9677 uid=10169
E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile#be12549
I/iGraphics: [0020080c] pn: demo.tensorflow.org.customvision_sample, p: 9677
I/iGraphics: [0030050c] PV 10
I/iGraphics: [0030050c] no element 'igfx'
I/iGraphics: [0030050c] LoadCloudParams lib file success.
E/Parcel: Reading a NULL string not supported here.
E/GED: Failed to get GED Log Buf, err(0)
V/ActivityThread: callActivityOnCreate
D/tensorflow: CameraActivity: onCreate demo.tensorflow.org.customvision_sample.ClassifierActivity#f8dcd05
V/HwWidgetFactory: : successes to get AllImpl object and return....
I/DecorView[]: old windowMode:0 new windoMode:1
I/CameraManagerGlobal: Connecting to camera service
I/tensorflow: CameraActivity: Camera API lv2?: true
I/InterpreterApi: Loaded native library: tensorflowlite_jni
I/InterpreterApi: Didn't load native library: tensorflowlite_jni_gms_client
I/tflite: Initialized TensorFlow Lite runtime.
E/libc: Access denied finding property "ro.hardware.chipname"
W/omvision_sample: type=1400 audit(0.0:6423): avc: denied { read } for pid=9677 name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=14884 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
I/tflite: Created TensorFlow Lite XNNPACK delegate for CPU.
I/tflite: Replacing 39 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 1 partitions.
D/AndroidRuntime: Shutting down VM
I/QarthLog: [PatchStore] createDisableExceptionQarthFile
I/QarthLog: [PatchStore] create disable file for demo.tensorflow.org.customvision_sample uid is 10169
E/AndroidRuntime: FATAL EXCEPTION: main
Process: demo.tensorflow.org.customvision_sample, PID: 9677
java.lang.RuntimeException: Unable to start activity ComponentInfo{demo.tensorflow.org.customvision_sample/demo.tensorflow.org.customvision_sample.ClassifierActivity}: ai.customvision.visionskills.VisionSkillsException: {"NativeRuntimeError":"Skill[Classifier] Build Exception <JNIWrapperException: Failed to load model; Model name = <sample-tflite.cvmodel/cvexport.manifest>; details: java.lang.IncompatibleClassChangeError: Found interface org.tensorflow.lite.Tensor, but class was expected (declaration of 'org.tensorflow.lite.Tensor' appears in /data/app/demo.tensorflow.org.customvision_sample-ujz1FIumEghqzxaDGOhliw==/base.apk)>"}
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3897)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4076)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2473)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8349)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)
Caused by: ai.customvision.visionskills.VisionSkillsException: {"NativeRuntimeError":"Skill[Classifier] Build Exception <JNIWrapperException: Failed to load model; Model name = <sample-tflite.cvmodel/cvexport.manifest>; details: java.lang.IncompatibleClassChangeError: Found interface org.tensorflow.lite.Tensor, but class was expected (declaration of 'org.tensorflow.lite.Tensor' appears in /data/app/demo.tensorflow.org.customvision_sample-ujz1FIumEghqzxaDGOhliw==/base.apk)>"}
at ai.customvision.visionskills.VisionSkillsManager.throwIfJNIFailed(VisionSkillsManager.java:24)
at ai.customvision.visionskills.VisionSkillsManager.SkillConfigurationBuild_orThrow(VisionSkillsManager.java:553)
at ai.customvision.visionskills.VisionSkillsManager.skillConfigurationBuild(VisionSkillsManager.java:309)
at ai.customvision.visionskills.ConfigurationBase.build(ConfigurationBase.java:41)
at ai.customvision.visionskills.CVSClassifier$Configuration.build(CVSClassifier.java:64)
at demo.tensorflow.org.customvision_sample.MSCognitiveServicesCustomVisionClassifier.<init>(MSCognitiveServicesCustomVisionClassifier.java:51)
at demo.tensorflow.org.customvision_sample.ClassifierActivity.onCreate(ClassifierActivity.java:54)
at android.app.Activity.performCreate(Activity.java:8085)
at android.app.Activity.performCreate(Activity.java:8073)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3870)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4076) 
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91) 
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149) 
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2473) 
at android.os.Handler.dispatchMessage(Handler.java:110) 
at android.os.Looper.loop(Looper.java:219) 
at android.app.ActivityThread.main(ActivityThread.java:8349) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) 

After distributing Android as an app bundle, the app is automatically closed due to an app crash when running the app

I'm using react-native with Android.
After distributing Android as an app bundle, the app is automatically closed due to an app crash when running the app.
If I distribute it as an apk file, the app runs well.
However, if the abb file is successfully built with the gradlew bundleRelease command and then deployed to Google and the app is run, the app is automatically closed.
This is a logcat error.
2021-07-20 13:56:37.453 6938-27625/? E/pageboostd: active launch start : app comcookingrn
2021-07-20 13:56:37.454 1011-6254/? E/ActivityTaskManager: TouchDown intent received, starting ActiveLaunch
2021-07-20 13:56:37.454 6938-27625/? E/pageboostd: comcookingrn, amt 4696304 scnt 2 fcnt 0
2021-07-20 13:56:37.455 6938-27625/? E/pageboostd: comcookingrn, amt 0 scnt 2 fcnt 0
2021-07-20 13:56:37.455 6938-27625/? E/pageboostd: active launch end : app comcookingrn data_amount 4696304
2021-07-20 13:56:37.470 27360-27360/? E/com.cookingrn: Not starting debugger since process cannot load the jdwp agent.
2021-07-20 13:56:37.487 23866-23917/? E/nightwatch-target: lmkd signal waiters
2021-07-20 13:56:37.527 511-511/? E/audit: type=1400 audit(1626756997.521:5296889): avc: granted { execute } for pid=27360 comm="com.cookingrn" path="/data/data/com.cookingrn/lib-0/libc++_shared.so" dev="sda33" ino=1181052 scontext=u:r:untrusted_app:s0:c186,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c186,c258,c512,c768 tclass=file SEPF_SM-G977N_11_0010 audit_filtered
2021-07-20 13:56:37.527 511-511/? E/audit: type=1300 audit(1626756997.521:5296889): arch=c00000b7 syscall=222 success=yes exit=479864037376 a0=6fba202000 a1=db770 a2=5 a3=12 items=0 ppid=537 pid=27360 auid=4294967295 uid=10698 gid=10698 euid=10698 suid=10698 fsuid=10698 egid=10698 sgid=10698 fsgid=10698 tty=(none) ses=4294967295 comm="com.cookingrn" exe="/system/bin/app_process64" subj=u:r:untrusted_app:s0:c186,c258,c512,c768 key=(null)
2021-07-20 13:56:37.527 511-511/? E/audit: type=1327 audit(1626756997.521:5296889): proctitle="com.cookingrn"
2021-07-20 13:56:37.529 511-511/? E/audit: type=1400 audit(1626756997.525:5296890): avc: granted { execute } for pid=27360 comm="com.cookingrn" path="/data/data/com.cookingrn/lib-0/libfb.so" dev="sda33" ino=1181053 scontext=u:r:untrusted_app:s0:c186,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c186,c258,c512,c768 tclass=file SEPF_SM-G977N_11_0010 audit_filtered
2021-07-20 13:56:37.558 6938-6938/? E/pageboostd: Received HALT command code 2
2021-07-20 13:56:37.579 1011-6929/? E/FreecessController: can't read /acct/uid_10217/pid_9782/cgroup.procs/acct/uid_10217/pid_9782/cgroup.procs: open failed: EACCES (Permission denied)
2021-07-20 13:56:37.579 1011-6929/? E/FreecessController: can't read /acct/uid_10217/pid_9782/cgroup.procs/acct/uid_10217/pid_9782/cgroup.procs: open failed: EACCES (Permission denied)
2021-07-20 13:56:37.612 1011-6207/? E/PkgPredictorService-Collector: record changed bt=0 wifi=1 screen=0
2021-07-20 13:56:37.665 571-571/? E/HYPER-HAL: [SysfsControlManager.cpp]writeSysfs(): Couldn't Open Sysfs - /sys/kernel/ems/energy_weight
2021-07-20 13:56:37.665 571-571/? E/HYPER-HAL: [SysfsControlManager.cpp]writeSysfs(): Couldn't Open Sysfs - /sys/kernel/ems/energy_weight
2021-07-20 13:56:37.694 626-1577/? E/NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::acquire()
2021-07-20 13:56:37.739 27360-27670/? E/unknown:ReactNative: ReactInstanceManager.createReactContext: mJSIModulePackage null
2021-07-20 13:56:37.741 27360-27670/? E/unknown:DisabledDevSupportManager: Caught exception
java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(Unknown Source:2)
at com.facebook.react.bridge.JSBundleLoader$1.loadScript(Unknown Source:10)
at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(Unknown Source:18)
at com.facebook.react.r.q(Unknown Source:264)
at com.facebook.react.r.c(Unknown Source:0)
at com.facebook.react.r$e.run(Unknown Source:68)
at java.lang.Thread.run(Thread.java:923)
2021-07-20 13:56:37.741 27360-27670/? E/AndroidRuntime: FATAL EXCEPTION: create_react_context
Process: com.cookingrn, PID: 27360
java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(Unknown Source:2)
at com.facebook.react.bridge.JSBundleLoader$1.loadScript(Unknown Source:10)
at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(Unknown Source:18)
at com.facebook.react.r.q(Unknown Source:264)
at com.facebook.react.r.c(Unknown Source:0)
at com.facebook.react.r$e.run(Unknown Source:68)
at java.lang.Thread.run(Thread.java:923)
2021-07-20 13:56:37.782 6285-6322/? E/TaskStackListenerAbstract: onTaskSnapshotChanged called by Binder.getCallingPid() 0 android.app.ITaskStackListener$Stub.onTransact:587 android.os.Binder.execTransactInternal:1195 android.os.Binder.execTransact:1159 <bottom of call stack>
2021-07-20 13:56:37.802 6938-6938/? E/pageboostd: Received HALT command code 2
2021-07-20 13:56:37.827 571-571/? E/HYPER-HAL: [SysfsControlManager.cpp]writeSysfs(): Couldn't Open Sysfs - /sys/kernel/ems/energy_weight
2021-07-20 13:56:37.827 571-571/? E/HYPER-HAL: [SysfsControlManager.cpp]writeSysfs(): Couldn't Open Sysfs - /sys/kernel/ems/energy_weight
2021-07-20 13:56:37.908 571-618/? E/HYPER-HAL: [Request.cpp]acquire(): Request:: id : 535118, No Resource to set
2021-07-20 13:56:37.977 626-1528/? E/BufferQueueProducer: [Application Error: com.cookingrn#0](id:2720002cbe0,api:0,p:-1,c:626) disconnect: not connected (req=1)
2021-07-20 13:56:37.988 23866-23917/? E/nightwatch-target: lmkd signal waiters
2021-07-20 13:56:38.008 1011-7732/? E/WindowManager: win=Window{f7dafdb u0 Splash Screen com.cookingrn EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.ActivityRecord.destroySurfaces:5251 com.android.server.wm.ActivityRecord.destroySurfaces:5232 com.android.server.wm.WindowState.onExitAnimationDone:5623 com.android.server.wm.-$$Lambda$01bPtngJg5AqEoOWfW3rWfV7MH4.accept:2 java.util.ArrayList.forEach:1262 com.android.server.wm.ActivityRecord.onAnimationFinished:7162 com.android.server.wm.WindowContainer.doAnimationFinished:2626
2021-07-20 13:56:38.022 626-1528/? E/BufferQueueProducer: [com.cookingrn/com.cookingrn.MainActivity$_27360#0](id:2720002cbde,api:0,p:-1,c:626) disconnect: not connected (req=1)
2021-07-20 13:56:38.052 626-6811/? E/BufferQueueProducer: [com.cookingrn/com.cookingrn.MainActivity$_27360#1](id:2720002cbdf,api:0,p:-1,c:626) disconnect: not connected (req=1)
2021-07-20 13:56:38.062 27360-27360/? E/WindowManager: android.view.WindowLeaked: Activity com.cookingrn.MainActivity has leaked window DecorView#a30abf5[MainActivity] that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:1049)
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:1023)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:450)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:114)
at android.app.Dialog.show(Dialog.java:505)
at org.devio.rn.splashscreen.c$a.run(Unknown Source:51)
at android.app.Activity.runOnUiThread(Activity.java:7145)
at org.devio.rn.splashscreen.c.e(Unknown Source:15)
at com.cookingrn.MainActivity.onCreate(Unknown Source:3)
at android.app.Activity.performCreate(Activity.java:8198)
at android.app.Activity.performCreate(Activity.java:8182)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3765)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3968)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8512)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
2021-07-20 13:56:38.062 27360-27360/? E/WindowManager: android.view.WindowLeaked: Activity com.cookingrn.MainActivity has leaked window DecorView#a30abf5[MainActivity] that was originally added here.
From that line, I understand you're trying to start a new activity while there is still something running, and so it's leaking from the old activity to the new one.
I think it's the dialog that you show here.
at android.app.Dialog.show(Dialog.java:505)
Dismissing the dialog should solve your problem.

ERROR: Unknown bits set in runtime_flags: 0x8000

Simple application that scans Wi-Fi networks.
This one for a reference: Get available wi-fi scan result in customized listview
Just put a ListView in a layout and add ACCESS/CHANGE_WIFI_STATE permissions into manifest.
The problem is that it works on my Samsung J3 (2016), but I don't know why it doesn't on my new Samsung M11. Has it something to do with Android versions? I have already returned a Realme C3 that was having same issues because I thought it was due to Mediatek SOC.
SAMSUNG M11 (Android 10) LOG:
03/28 20:09:56: Launching 'app' on Physical Device.
Install successfully finished in 3 s 220 ms.
$ adb shell am start -n "es.josecarlos.myapplication/es.josecarlos.myapplication.SearchWifi" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 29558 on device 'samsung-sm_m115f-R9JR30FM7HJ'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/s.myapplicatio: Late-enabling -Xcheck:jni
E/s.myapplicatio: Unknown bits set in runtime_flags: 0x8000
D/ActivityThread: setConscryptValidator
D/ActivityThread: setConscryptValidator - put
E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
E/ANDR-PERF: IPerf:: Perf HAL Service is not available.
I/Perf: Connecting to perf service.
I/s.myapplicatio: Starting a blocking GC Alloc
Starting a blocking GC Alloc
I/s.myapplicatio: Waiting for a blocking GC Alloc
I/s.myapplicatio: WaitForGcToComplete blocked Alloc on ClassLinker for 20.796ms
Starting a blocking GC Alloc
D/PhoneWindow: forceLight changed to true [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4238 com.android.internal.policy.DecorView.updateColorViews:1490 com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged:3216 android.view.Window.setFlags:1148 com.android.internal.policy.PhoneWindow.generateLayout:2444
I/MultiWindowDecorSupport: updateCaptionType >> DecorView#9ffef9d[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
D/MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView#9ffef9d[]
W/s.myapplicatio: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
W/s.myapplicatio: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
D/ViewRootImpl#73bc89c[SearchWifi]: setView = com.android.internal.policy.DecorView#9ffef9d TM=true MM=false
D/ViewRootImpl#73bc89c[SearchWifi]: Relayout returned: old=(0,0,720,1560) new=(0,0,720,1560) req=(720,1560)0 dur=14 res=0x7 s={true 3550955520} ch=true
D/OpenGLRenderer: createReliableSurface : 0xd3a8e0c0, 0xd3a74800
I/AdrenoGLES: QUALCOMM build : 2ced3f2, Id01cc02572
Build Date : 12/15/19
OpenGL ES Shader Compiler Version: EV031.27.05.02
Local Branch :
Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.8.6.2.R1.10.00.00.537.049
Remote Branch : NONE
Reconstruct Branch : NOTHING
Build Config : S L 8.0.10 AArch32
D/AbsListView: in onLayout changed
I/AdrenoGLES: PFP: 0x005ff112, ME: 0x005ff066
W/Gralloc3: mapper 3.x is not supported
D/ViewRootImpl#73bc89c[SearchWifi]: MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView#9ffef9d[SearchWifi]
getNavigationBarColor() -855310
D/InputMethodManager: prepareNavigationBarInfo() DecorView#9ffef9d[SearchWifi]
getNavigationBarColor() -855310
V/InputMethodManager: Starting input: tba=es.josecarlos.myapplication ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
D/ViewRootImpl#73bc89c[SearchWifi]: MSG_RESIZED: frame=(0,0,720,1560) ci=(0,65,0,84) vi=(0,65,0,84) or=1
D/InputMethodManager: prepareNavigationBarInfo() DecorView#9ffef9d[SearchWifi]
D/InputMethodManager: getNavigationBarColor() -855310
V/InputMethodManager: Starting input: tba=es.josecarlos.myapplication ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
D/ViewRootImpl#73bc89c[SearchWifi]: ViewPostIme pointer 0
D/ViewRootImpl#73bc89c[SearchWifi]: ViewPostIme pointer 1
D/ViewRootImpl#47f6701[Toast]: setView = android.widget.LinearLayout#76759a6 TM=true MM=false
V/Toast: Text: Fsca in android.widget.Toast$TN#b5efe7
D/ViewRootImpl#47f6701[Toast]: Relayout returned: old=(0,65,720,1476) new=(232,1287,488,1364) req=(256,77)0 dur=12 res=0x7 s={true 3550953472} ch=true
D/OpenGLRenderer: createReliableSurface : 0xb8abc140, 0xd3a74000
D/ViewRootImpl#47f6701[Toast]: MSG_RESIZED: frame=(232,1287,488,1364) ci=(0,0,0,0) vi=(0,0,256,77) or=1
D/ViewRootImpl#47f6701[Toast]: dispatchDetachedFromWindow
D/InputTransport: Input channel destroyed: 'c01175c', fd=75
SAMSUNG J3 (Android 5.1) LOG:
03/28 20:19:39: Launching 'app' on Physical Device.
Install successfully finished in 1 m 15 s 28 ms.
$ adb shell am start -n "es.josecarlos.myapplication/es.josecarlos.myapplication.SearchWifi" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 8248 on device 'samsung-sm_j320fn-42000d659a379400'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
W/ResourcesManager: getTopLevelResources: /data/app/es.josecarlos.myapplication-1/base.apk / 1.0 running in es.josecarlos.myapplication rsrc of package es.josecarlos.myapplication
I/InjectionManager: Inside getClassLibPath + mLibMap{0=, 1=}
D/ResourcesManager: For user 0 new overlays fetched Null
I/InjectionManager: Inside getClassLibPath caller
D/InjectionManager: InjectionManager
fillFeatureStoreMap es.josecarlos.myapplication
I/InjectionManager: Constructor es.josecarlos.myapplication, Feature store :{}
featureStore :{}
W/ResourcesManager: getTopLevelResources: /data/app/es.josecarlos.myapplication-1/base.apk / 1.0 running in es.josecarlos.myapplication rsrc of package es.josecarlos.myapplication
W/ResourcesManager: getTopLevelResources: /data/app/es.josecarlos.myapplication-1/base.apk / 1.0 running in es.josecarlos.myapplication rsrc of package es.josecarlos.myapplication
getTopLevelResources: /data/app/es.josecarlos.myapplication-1/base.apk / 1.0 running in es.josecarlos.myapplication rsrc of package es.josecarlos.myapplication
D/ResourcesManager: For user 0 new overlays fetched Null
W/ResourceType: Failure getting entry for 0x01080946 (t=7 e=2374) (error -75)
W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
D/PhoneWindow: *FMB* installDecor mIsFloating : false
*FMB* installDecor flags : -2139029248
I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>
Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>
D/TextView: setTypeface with style : 0
D/TextView: setTypeface with style : 0
D/TextView: setTypeface with style : 0
W/ResourceType: Failure getting entry for 0x01080946 (t=7 e=2374) (error -75)
Failure getting entry for 0x01080946 (t=7 e=2374) (error -75)
D/AbsListView: Get MotionRecognitionManager
E/MotionRecognitionManager: mSContextService = null
motionService = null
D/Activity: performCreate Call Injection manager
I/InjectionManager: dispatchOnViewCreated > Target : es.josecarlos.myapplication.SearchWifi isFragment :false
D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
D/PhoneWindow: *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null
*FMB* isFloatingMenuEnabled return false
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Get maximum texture size. GL_MAX_TEXTURE_SIZE is 4096
Enabling debug mode 0
I/InjectionManager: dispatchCreateOptionsMenu :es.josecarlos.myapplication.SearchWifi
dispatchPrepareOptionsMenu :es.josecarlos.myapplication.SearchWifi
D/TextView: setTypeface with style : 0
D/TextView: setTypeface with style : 0
D/TextView: setTypeface with style : 0
setTypeface with style : 0
I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy#117c6e4b time:365818
D/ViewRootImpl: ViewPostImeInputStage ACTION_DOWN
D/TextView: setTypeface with style : 0
D/TextView: setTypeface with style : 0
setTypeface with style : 0
D/TextView: setTypeface with style : 0
D/InputMethodManager: windowDismissed mLockisused = false
Solved. I had to add FINE_LOCATION to the manifest and:
Manually give location permissions in Settings.
or
Make a popup that asks for location permissions the first time the user launch the app.

Closing cover produces a Re-layout

I have some problems with this log. When I close the cover of my phone it says this and my activity goes to next one when this should not happen. Is it possible to avoid this happening?? Avoid Relayout or focus changing??
It doesn't happen when in a Second phone with PIN number. (So i need to put the pin to unlock the phone).
With no PIN so, phone is not locked, just closed the cover. When I open again and the activity restart, the activity had finished and went to next one.
With the second phone, with PIN, when I close I have to put the PIN to enter again and in this case, the activity went in the normal way.
D/InputMethodManager: prepareNavigationBarInfo() DecorView#670a516[Fer_Habit]
getNavigationBarColor() -855310
V/InputMethodManager: Starting input: tba=com.example.gms ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : false , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport: Input channel destroyed: 'ClientS', fd=129
V/FA: Recording user engagement, ms: 9675
V/FA: Connecting to remote service
V/FA: Activity paused, time: 742123461
I/ViewRootImpl#e954868[Class1]: stopped(true) old=false
D/OpenGLRenderer: makeCurrent EglSurface : 0x72a3179900 -> 0x0
V/FA: Connection attempt already in progress
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 2
D/OpenGLRenderer: destroyEglSurface : 0x72a3179900
I/mali_egl: eglDestroySurface() in
I/mali_winsys: delete_surface() [2960x1440] return
I/mali_egl: eglDestroySurface() out
E/OpenGLRenderer: ReliableSurface: perform returned an error
W/libEGL: EGLNativeWindowType 0x72e1651f50 disconnect failed
D/OpenGLRenderer: ~ReliableSurface : 0x72e1651f40
I/ViewRootImpl#e954868[Class1]: Relayout returned: old=(0,0,2960,1440) new=(0,0,2960,1440) req=(2960,1440)8 dur=4 res=0x5 s={false 0} ch=false
I/ViewRootImpl#e954868[Class1]: MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView#670a516[Class1]
getNavigationBarColor() -855310

Flutter Subscription (RevenueCat)

I have an error with my subscription in my Flutter app.
I did al the steps here https://www.revenuecat.com/blog/android-subscriptions-tutorial,
When I subscribe, it says Subscribed, and I can see my subscription on Google Play, but it says that there are some problems with Google Play Store and it wont redirect me to the next page.
Full Log :
D/[Purchases] - DEBUG(22348): Debug logging enabled.
D/[Purchases] - DEBUG(22348): SDK Version - 3.1.0
D/[Purchases] - DEBUG(22348): Initial App User ID - null
D/[Purchases] - DEBUG(22348): Generated New App User ID - 26c252dd759a42899cbdaca5e8f165a3
D/[Purchases] - DEBUG(22348): Identifying App User ID: $RCAnonymousID:26c252dd759a42899cbdaca5e8f165a3
D/[Purchases] - DEBUG(22348): App foregrounded
D/[Purchases] - DEBUG(22348): PurchaserInfo cache is stale, updating caches
D/[Purchases] - DEBUG(22348): Offerings cache is stale, updating caches
D/[Purchases] - DEBUG(22348): [QueryPurchases] Skipping updating pending purchase queue since BillingClient is not connected yet
D/[Purchases] - DEBUG(22348): No subscriber attributes to synchronize.
D/[Purchases] - DEBUG(22348): Subscriber attributes synced successfully.
D/[Purchases] - DEBUG(22348): Listener set
I/System.out(22348): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(22348): (HTTPLog)-Static: isSBSettingEnabled false
D/[Purchases] - DEBUG(22348): Starting connection for com.android.billingclient.api.BillingClientImpl#b3b0036
D/[Purchases] - DEBUG(22348): No cached purchaser info, fetching
D/[Purchases] - DEBUG(22348): Billing Service Setup finished for com.android.billingclient.api.BillingClientImpl#b3b0036.
D/[Purchases] - DEBUG(22348): [QueryPurchases] Updating pending purchase queue
D/[Purchases] - DEBUG(22348): GET /subscribers/%24RCAnonymousID%3A26c252dd759a42899cbdaca5e8f165a3
D/[Purchases] - DEBUG(22348): GET /subscribers/%24RCAnonymousID%3A26c252dd759a42899cbdaca5e8f165a3 201
D/[Purchases] - DEBUG(22348): Sending latest purchaser info to listener
D/[Purchases] - DEBUG(22348): Purchaser info updated, sending to listener
I/System.out(22348): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(22348): (HTTPLog)-Static: isSBSettingEnabled false
D/[Purchases] - DEBUG(22348): No cached offerings, fetching
D/[Purchases] - DEBUG(22348): GET /subscribers/%24RCAnonymousID%3A26c252dd759a42899cbdaca5e8f165a3/offerings
D/[Purchases] - DEBUG(22348): GET /subscribers/%24RCAnonymousID%3A26c252dd759a42899cbdaca5e8f165a3/offerings 200
D/[Purchases] - DEBUG(22348): Requesting products with identifiers: onemonthathlete, lifetimeathlete
D/[Purchases] - DEBUG(22348): Requesting products with identifiers: onemonthathlete, lifetimeathlete
D/[Purchases] - DEBUG(22348): [QueryPurchases] Querying subs
D/[Purchases] - DEBUG(22348): [QueryPurchases] Querying inapp
D/[Purchases] - DEBUG(22348): [QueryPurchases] Cleaning previously sent tokens
D/[Purchases] - DEBUG(22348): [QueryPurchases] Tokens already posted: []
D/[Purchases] - DEBUG(22348): [QueryPurchases] Saving tokens []
D/[Purchases] - DEBUG(22348): [QueryPurchases] Tokens already posted: []
D/[Purchases] - DEBUG(22348): Products request finished for onemonthathlete, lifetimeathlete
D/[Purchases] - DEBUG(22348): Retrieved skuDetailsList: SkuDetails: {"skuDetailsToken":"AEuhp4JfHSozIDQz3ogqW5_NyfRhtNt-A-LcANvB3qrztlhuiwZwEfaGhutYbgPOxNY9","productId":"lifetimeathlete","type":"subs","price":"$126.92","price_amount_micros":126920000,"price_currency_code":"USD","subscriptionPeriod":"P1Y","freeTrialPeriod":"P1W","title":"Lifetime Access (Athlete.co)","description":"Lifetime Access"}, SkuDetails: {"skuDetailsToken":"AEuhp4KlDHUVcCC0ra-q73FjLFF_VHSYmVIGJshi8MT9ljIWGCLne_GojqWqwKqD-4T6","productId":"onemonthathlete","type":"subs","price":"$20.16","price_amount_micros":20160000,"price_currency_code":"USD","subscriptionPeriod":"P1M","freeTrialPeriod":"P1W","title":"One Month Access (Athlete.co)","description":"One Month access to all exercises with this subscription."}
D/[Purchases] - DEBUG(22348): lifetimeathlete - SkuDetails: {"skuDetailsToken":"AEuhp4JfHSozIDQz3ogqW5_NyfRhtNt-A-LcANvB3qrztlhuiwZwEfaGhutYbgPOxNY9","productId":"lifetimeathlete","type":"subs","price":"$126.92","price_amount_micros":126920000,"price_currency_code":"USD","subscriptionPeriod":"P1Y","freeTrialPeriod":"P1W","title":"Lifetime Access (Athlete.co)","description":"Lifetime Access"}
D/[Purchases] - DEBUG(22348): onemonthathlete - SkuDetails: {"skuDetailsToken":"AEuhp4KlDHUVcCC0ra-q73FjLFF_VHSYmVIGJshi8MT9ljIWGCLne_GojqWqwKqD-4T6","productId":"onemonthathlete","type":"subs","price":"$20.16","price_amount_micros":20160000,"price_currency_code":"USD","subscriptionPeriod":"P1M","freeTrialPeriod":"P1W","title":"One Month Access (Athlete.co)","description":"One Month access to all exercises with this subscription."}
D/[Purchases] - DEBUG(22348): Products request finished for onemonthathlete, lifetimeathlete
D/[Purchases] - DEBUG(22348): Retrieved skuDetailsList: SkuDetails: {"skuDetailsToken":"AEuhp4JfHSozIDQz3ogqW5_NyfRhtNt-A-LcANvB3qrztlhuiwZwEfaGhutYbgPOxNY9","productId":"lifetimeathlete","type":"subs","price":"$126.92","price_amount_micros":126920000,"price_currency_code":"USD","subscriptionPeriod":"P1Y","freeTrialPeriod":"P1W","title":"Lifetime Access (Athlete.co)","description":"Lifetime Access"}, SkuDetails: {"skuDetailsToken":"AEuhp4KlDHUVcCC0ra-q73FjLFF_VHSYmVIGJshi8MT9ljIWGCLne_GojqWqwKqD-4T6","productId":"onemonthathlete","type":"subs","price":"$20.16","price_amount_micros":20160000,"price_currency_code":"USD","subscriptionPeriod":"P1M","freeTrialPeriod":"P1W","title":"One Month Access (Athlete.co)","description":"One Month access to all exercises with this subscription."}
D/[Purchases] - DEBUG(22348): lifetimeathlete - SkuDetails: {"skuDetailsToken":"AEuhp4JfHSozIDQz3ogqW5_NyfRhtNt-A-LcANvB3qrztlhuiwZwEfaGhutYbgPOxNY9","productId":"lifetimeathlete","type":"subs","price":"$126.92","price_amount_micros":126920000,"price_currency_code":"USD","subscriptionPeriod":"P1Y","freeTrialPeriod":"P1W","title":"Lifetime Access (Athlete.co)","description":"Lifetime Access"}
D/[Purchases] - DEBUG(22348): onemonthathlete - SkuDetails: {"skuDetailsToken":"AEuhp4KlDHUVcCC0ra-q73FjLFF_VHSYmVIGJshi8MT9ljIWGCLne_GojqWqwKqD-4T6","productId":"onemonthathlete","type":"subs","price":"$20.16","price_amount_micros":20160000,"price_currency_code":"USD","subscriptionPeriod":"P1M","freeTrialPeriod":"P1W","title":"One Month Access (Athlete.co)","description":"One Month access to all exercises with this subscription."}
I/flutter (22348): Offering{identifier: default-monthly, serverDescription: Standard monthly set of packages, availablePackages: [Package{identifier: $rc_monthly, packageType: PackageType.monthly, product: Product{identifier: onemonthathlete, description: One Month access to all exercises with this subscription., title: One Month Access (Athlete.co), price: 20.16, priceString: $20.16, currencyCode: USD, introductoryPrice: IntroductoryPrice{introPrice: 0.0, introPriceString: $0.00, introPricePeriod: P1W, introPricePeriodUnit: DAY, introPricePeriodNumberOfUnits: 7, introPriceCycles: 1}}, offeringIdentifier: default-monthly}, Package{identifier: $rc_lifetime, packageType: PackageType.lifetime, product: Product{identifier: lifetimeathlete, description: Lifetime Access, title: Lifetime Access (Athlete.co), price: 126.92, priceString: $126.92, currencyCode: USD, introductoryPrice: IntroductoryPrice{introPrice: 0.0, introPriceString: $0.00, introPricePeriod: P1W, introPricePeriodUnit: DAY, introPricePeriodNumberOfUnits: 7, introPrice
I/flutter (22348): Package{identifier: $rc_monthly, packageType: PackageType.monthly, product: Product{identifier: onemonthathlete, description: One Month access to all exercises with this subscription., title: One Month Access (Athlete.co), price: 20.16, priceString: $20.16, currencyCode: USD, introductoryPrice: IntroductoryPrice{introPrice: 0.0, introPriceString: $0.00, introPricePeriod: P1W, introPricePeriodUnit: DAY, introPricePeriodNumberOfUnits: 7, introPriceCycles: 1}}, offeringIdentifier: default-monthly}OFFERING MONTHLY
D/ViewRootImpl#e0082f1[MainActivity](22348): ViewPostIme pointer 0
D/ViewRootImpl#e0082f1[MainActivity](22348): ViewPostIme pointer 1
I/flutter (22348): u try sam usao ++++++++++++++++++
D/[Purchases] - DEBUG(22348): Vending offerings from cache
D/[Purchases] - DEBUG(22348): purchase started - product: SkuDetails: {"skuDetailsToken":"AEuhp4KlDHUVcCC0ra-q73FjLFF_VHSYmVIGJshi8MT9ljIWGCLne_GojqWqwKqD-4T6","productId":"onemonthathlete","type":"subs","price":"$20.16","price_amount_micros":20160000,"price_currency_code":"USD","subscriptionPeriod":"P1M","freeTrialPeriod":"P1W","title":"One Month Access (Athlete.co)","description":"One Month access to all exercises with this subscription."} - offering: default-monthly
D/[Purchases] - DEBUG(22348): Making purchase for sku: onemonthathlete
W/ActivityThread(22348): handleWindowVisibility: no activity for token android.os.BinderProxy#826fc3b
D/PhoneWindow(22348): forceLight changed to true [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4238 com.android.internal.policy.DecorView.updateColorViews:1490 com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged:3216 android.view.Window.setFlags:1148 com.android.internal.policy.PhoneWindow.generateLayout:2444
I/MultiWindowDecorSupport(22348): updateCaptionType >> DecorView#49ed196[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
D/MultiWindowDecorSupport(22348): setCaptionType = 0, DecorView = DecorView#49ed196[]
D/ViewRootImpl#3767eed[ProxyBillingActivity](22348): setView = com.android.internal.policy.DecorView#49ed196 TM=true MM=false
D/ViewRootImpl#e0082f1[MainActivity](22348): MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager(22348): prepareNavigationBarInfo() DecorView#d561475[MainActivity]
D/InputMethodManager(22348): getNavigationBarColor() -855310
D/ViewRootImpl#3767eed[ProxyBillingActivity](22348): Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=7 res=0x7 s={true 499042742272} ch=true
D/OpenGLRenderer(22348): createReliableSurface : 0x7419580880, 0x743143f000
D/ViewRootImpl#3767eed[ProxyBillingActivity](22348): MSG_RESIZED: frame=(0,0,1080,2400) ci=(0,76,0,126) vi=(0,76,0,126) or=1
D/InputTransport(22348): Input channel destroyed: 'ClientS', fd=108
W/BillingHelper(22348): Couldn't find purchase lists, trying to find single data.
D/[Purchases] - DEBUG(22348): BillingWrapper purchases updated. onemonthathlete GPA.3330-8467-4550-90881 aolipdjnbkjdnnobnccokhod.AO-J1OyCPAYXPaGJFyTmE-RtgWe8vxA8qtRkQqQWGRbJdgifLL2ZgBWNP8YVMUr7ATFbPTMZYcdpNVGiQ66irN3cXqL-gOhpoIYMRYJcYdl-HzN-x8u1VsuOEE8VyNh5mOQphC15kdFK
I/System.out(22348): (HTTPLog)-Static: isSBSettingEnabled false
I/System.out(22348): (HTTPLog)-Static: isSBSettingEnabled false
D/ViewRootImpl#3767eed[ProxyBillingActivity](22348): MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager(22348): prepareNavigationBarInfo() DecorView#49ed196[ProxyBillingActivity]
D/InputMethodManager(22348): getNavigationBarColor() -855310
D/InputMethodManager(22348): prepareNavigationBarInfo() DecorView#49ed196[ProxyBillingActivity]
D/InputMethodManager(22348): getNavigationBarColor() -855310
V/InputMethodManager(22348): Starting input: tba=com.flutter.Athlete.co ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager(22348): startInputInner - Id : 0
I/InputMethodManager(22348): startInputInner - mService.startInputOrWindowGainedFocus
D/ViewRootImpl#e0082f1[MainActivity](22348): stopped(false) old=false
D/ViewRootImpl#3767eed[ProxyBillingActivity](22348): MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager(22348): prepareNavigationBarInfo() DecorView#49ed196[ProxyBillingActivity]
D/InputMethodManager(22348): getNavigationBarColor() -855310
D/ViewRootImpl#e0082f1[MainActivity](22348): MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager(22348): prepareNavigationBarInfo() DecorView#d561475[MainActivity]
D/InputMethodManager(22348): getNavigationBarColor() -855310
D/InputMethodManager(22348): prepareNavigationBarInfo() DecorView#d561475[MainActivity]
D/InputMethodManager(22348): getNavigationBarColor() -855310
V/InputMethodManager(22348): Starting input: tba=com.flutter.Athlete.co ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager(22348): startInputInner - Id : 0
I/InputMethodManager(22348): startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport(22348): Input channel destroyed: 'ClientS', fd=108
D/ViewRootImpl#3767eed[ProxyBillingActivity](22348): stopped(true) old=false
D/ViewRootImpl#3767eed[ProxyBillingActivity](22348): dispatchDetachedFromWindow
D/InputTransport(22348): Input channel destroyed: 'acb1706', fd=125
D/[Purchases] - DEBUG(22348): POST /receipts
D/[Purchases] - DEBUG(22348): POST /receipts 503
E/[Purchases] - ERROR(22348): There was a problem with the Play Store. | Problem communicating with the Store when trying to validate the receipt.

Categories

Resources