j3k0 / cordova-plugin-purchase

In-App Purchase for Cordova on iOS, Android and Windows
https://purchase.cordova.fovea.cc
1.3k stars 535 forks source link

[IOS] App store purchase window is not showing #1180

Closed sahalshn closed 1 month ago

sahalshn commented 3 years ago

system info

Ionic:

   Ionic CLI          : 6.12.0 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 10.0.0
   Cordova Platforms : android 9.0.0, ios 6.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.2.0, (and 31 other plugins)

Utility:

   cordova-res (update available: 0.15.3) : 0.15.1
   native-run (update available: 1.3.0)   : 1.2.2

System:

   Android SDK Tools : 26.1.1 (/Users/XXX/Library/Android/sdk)
   ios-sim           : 8.0.2
   NodeJS            : v14.4.0 (/usr/local/bin/node)
   npm               : 6.14.5
   OS                : macOS Catalina
   Xcode             : Xcode 12.4 Build version 12D4e

Other:

   cc.fovea.cordova.purchase : 10.5.3
   @ionic-native/in-app-purchase-2 : "^4.20.0"

Expected behavior

Store.order(id) should display purchase window of App/Play/TestFlight/Sandbox environment.

Observed behavior

The purchase window is showing if the environment is TestFlight, Sandbox, or in the Play store. But in the production version of the iOS app (App Store), the purchase window is not displaying even after waiting for a long time.

TestFlight app log

default 22:03:44.489300+0530 MyAppName Single tap identified. Request details on potential zoom. (0x10183b000) default 22:03:44.489624+0530 MyAppName Ending potential tap. (0x10183b000) default 22:03:44.490225+0530 MyAppName Single tap recognized - commit potential tap (0x10183b000) default 22:03:44.490700+0530 backboardd Lcurrent=61.9256 Lr=0.0164 DR=200.0000 factor=0.0000 default 22:03:44.495275+0530 backboardd Lcurrent=61.9256 Lr=0.0164 DR=200.0000 factor=0.0000 default 22:03:44.504183+0530 backboardd Lcurrent=61.9256 Lr=0.0164 DR=200.0000 factor=0.0000 default 22:03:44.508421+0530 MyAppName Synthetic click completed. (0x10183b000) default 22:03:44.516835+0530 MyAppName [store.js] DEBUG: state: MyAppIdentifier.premiummonthly -> requested default 22:03:44.575150+0530 MyAppName InAppPurchase[objc]: purchase: About to do IAP default 22:03:44.577171+0530 MyAppName InAppPurchase[objc]: paymentQueue:updatedTransactions: MyAppIdentifier.premiummonthly default 22:03:44.586802+0530 MyAppName InAppPurchase[objc]: paymentQueue:updatedTransactions: Purchasing... default 22:03:44.587021+0530 MyAppName InAppPurchase[objc]: paymentQueue:updatedTransactions: State: PaymentTransactionStatePurchasing default 22:03:44.587114+0530 MyAppName InAppPurchase[objc]: processTransactionUpdate:withArgs: transactionIdentifier= default 22:03:44.587816+0530 runningboardd Acquiring assertion targeting [application:506] from originator [application:506] with description <RBSAssertionDescriptor| "Shared Background Assertion 4 for MyAppIdentifier" ID:31-506-1765 target:506 attributes:[ <RBSLegacyAttribute| requestedReason:FinishTask reason:FinishTask flags:( PreventTaskSuspend )>, <RBSAcquisitionCompletionAttribute| policy:AfterValidation> ]> default 22:03:44.587888+0530 runningboardd Assertion 31-506-1765 (target:[application:506]) will be created as inactive as start-time-defining assertions exist default 22:03:44.588397+0530 runningboardd Finished acquiring assertion 31-506-1765 (target:[application:506]) default 22:03:44.589054+0530 appstored StoreKitServiceConnection(506): [IAPDE888754/MyAppIdentifier:2] Adding payment for MyAppIdentifier.premiummonthly and quantity 1 default 22:03:44.589133+0530 appstored StoreKitServiceConnection(506): Loading 1 products for MyAppIdentifier default 22:03:44.589298+0530 appstored elided platform fast path for key: re6Zb+zwFKJNlkQTUeT+/w default 22:03:44.625169+0530 MyAppName 0x1052e6020 - [PID=507, throttler=0x1052b84d8] ProcessThrottler::Activity::Activity: Starting foreground activity / 'WebPageProxy::runJavaScriptInFrameInScriptWorld' default 22:03:44.625227+0530 backboardd Lcurrent=61.9256 Lr=0.0164 DR=200.0000 factor=0.0000 default 22:03:44.626246+0530 backboardd Lcurrent=61.9256 Lr=0.0164 DR=200.0000 factor=0.0000 error 22:03:44.628145+0530 appstored AMSDefaults: [9EF8FAF1] Failed to fetch percentage for identifier: TLSSessionTickets. Error Domain=AMSErrorDomain Code=204 "Bag Value Missing" UserInfo={NSLocalizedDescription=Bag Value Missing, NSLocalizedFailureReason=The bag does not contain TLSSamplingPercentage nor did anyone register a default value. <AMSBagNetworkDataSource: 0x1018b8460; profile: appstored; version: 1; sandbox: 1>} error 22:03:44.628238+0530 appstored AMSDefaults: [9EF8FAF1] Failed to fetch percentage for identifier: TFO. Error Domain=AMSErrorDomain Code=204 "Bag Value Missing" UserInfo={NSLocalizedDescription=Bag Value Missing, NSLocalizedFailureReason=The bag does not contain TFOSamplingPercentage nor did anyone register a default value. <AMSBagNetworkDataSource: 0x1018b8460; profile: appstored; version: 1; sandbox: 1>} default 22:03:44.629384+0530 MyAppName [store.js] DEBUG: ios -> is purchasing MyAppIdentifier.premiummonthly default 22:03:44.629559+0530 MyAppName 0x1052e6020 - [PID=507, throttler=0x1052b84d8] ProcessThrottler::Activity::invalidate: Ending foreground activity / 'WebPageProxy::runJavaScriptInFrameInScriptWorld' default 22:03:44.629622+0530 MyAppName [store.js] DEBUG: state: MyAppIdentifier.premiummonthly -> initiated default 22:03:44.629686+0530 MyAppName 0x1052e6250 - [PID=507, throttler=0x1052b84d8] ProcessThrottler::Activity::Activity: Starting foreground activity / 'WebPageProxy::runJavaScriptInFrameInScriptWorld' default 22:03:44.629940+0530 appstored [IAPDE888754/MyAppIdentifier:2] Sending authentication request for MyAppIdentifier.premiummonthly default 22:03:44.630382+0530 appstored [<StoreKitClient: 0x1019ee7c0>] Sending authenticate request default 22:03:44.630639+0530 appstored AMSAuthenticateTask: [9EF8FAF1] Falling back to sub profile bag default 22:03:44.636264+0530 accountsd " () received"

App Store version logs

default 21:32:22.220705+0530 MyAppName Single tap identified. Request details on potential zoom. (0x122028800) default 21:32:22.222578+0530 MyAppName Ending potential tap. (0x122028800) default 21:32:22.222655+0530 MyAppName Single tap recognized - commit potential tap (0x122028800) default 21:32:22.224565+0530 imagent "The connection to ACDAccountStore was invalidated." default 21:32:22.225542+0530 imagent "The connection to ACDAccountStore was invalidated." default 21:32:22.275890+0530 MyAppName 0x1070e4f90 - [PID=359, throttler=0x1070b84d8] ProcessThrottler::Activity::Activity: Starting foreground activity / 'WebPageProxy::runJavaScriptInFrameInScriptWorld' default 21:32:22.287307+0530 MyAppName Synthetic click completed. (0x122028800) default 21:32:22.293092+0530 MyAppName 0x1070e4f90 - [PID=359, throttler=0x1070b84d8] ProcessThrottler::Activity::invalidate: Ending foreground activity / 'WebPageProxy::runJavaScriptInFrameInScriptWorld' default 21:32:22.305706+0530 backboardd Lcurrent=61.9256 Lr=0.0130 DR=200.0000 factor=0.0000 default 21:32:22.336452+0530 mobileassetd -[ControlManager determineAssets:clientName:connection:downloadingTasks:message:resultTypes:queryArray:isForSpecificAsset:specificAssetId:specificAllowedDifferences:]: voiced queried for: com.apple.MobileAsset.VoiceServices.GryphonVoice with returnTypes 1 (MAInstalledOnly) and found 2 assets with result 0 (MAQuerySuccessful) --> From 175 listed in the catalog and 2 local (2/2 downloaded, 0 preinstalled)--> Catalog info ({ isLiveServer = 0; }) --> Filtered for MAInstalledOnly to 141 in catalog (2 installed, 0 server-only, 139 preinstalled), 0 installedNotInCatalog, 0 installedWithOS, 0 requiredByOS; the query params are: [ Type:'gryphon' and _CompatibilityVersion:'9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31','32','33','34','35','36','37','38','39','40','41'] --> Merged to 2 assets default 21:32:22.352685+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.42 default 21:32:22.352977+0530 voiced -[MAAssetQuery getResultsFromMessage:]: Got the query meta data reply for: com.apple.MobileAsset.VoiceServices.GryphonVoice, response: 0 default 21:32:22.354181+0530 mobileassetd -[ControlManager handleClientConnection:on:]_block_invoke: assetType: com.apple.MobileAsset.VoiceServicesVocalizerVoice client: voiced, command: 1 (MA_QUERY_ASSET_TYPE) default 21:32:22.354235+0530 mobileassetd -[ControlManager handleClientConnection:on:]_block_invoke: voiced issued query command for com.apple.MobileAsset.VoiceServicesVocalizerVoice default 21:32:22.354432+0530 mobileassetd -[ControlManager handleQueryRequest:clientName:connection:message:]: voiced queried for: com.apple.MobileAsset.VoiceServicesVocalizerVoice with returnType of: 1 (MAInstalledOnly) - may block on network sync default 21:32:22.356501+0530 mobileassetd -[ControlManager determineAssets:clientName:connection:downloadingTasks:message:resultTypes:queryArray:isForSpecificAsset:specificAssetId:specificAllowedDifferences:]: voiced queried for: com.apple.MobileAsset.VoiceServicesVocalizerVoice with returnType of: 1 default 21:32:22.369740+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.PrintKit.Print-Center, filter: (null) default 21:32:22.373167+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:22.373387+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:22.373882+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:22.373951+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.PrintKit.Print-Center, nonContainer: (null), container: (null) default 21:32:22.395087+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.BarcodeScanner, filter: (null) default 21:32:22.398047+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:22.398199+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:22.399143+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:22.399477+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.BarcodeScanner, nonContainer: (null), container: (null) default 21:32:22.405632+0530 backboardd Lcurrent=61.9256 Lr=0.0130 DR=200.0000 factor=0.0000 default 21:32:22.416493+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.SafariViewService, filter: (null) default 21:32:22.419065+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:22.419460+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:22.419889+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:22.419954+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.SafariViewService, nonContainer: (null), container: (null) default 21:32:22.444363+0530 CacheDeleteAppContainerCaches Requesting container lookup; class = 2, identifier = , temp = 0, create = 1, euid = 501, uid = 501, personaid = 199, type = SYSTEM_PROXY, name = 1C84874A-9CEB-4448-A037-2FB35AC753A0 default 21:32:22.446161+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> default 21:32:22.446393+0530 containermanagerd [0] command=0, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=(none) default 21:32:22.453524+0530 CacheDeleteAppContainerCaches container_create_or_lookup_path_for_platform: success default 21:32:22.453737+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.siri, filter: (null) default 21:32:22.455909+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:22.456062+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:22.462070+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:22.462156+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.siri, nonContainer: (null), container: (null) default 21:32:22.487433+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.FTMInternal, filter: (null) default 21:32:22.489694+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:22.489845+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:22.490300+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:22.490632+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.FTMInternal, nonContainer: (null), container: (null) default 21:32:22.505572+0530 backboardd Lcurrent=61.9256 Lr=0.0130 DR=200.0000 factor=0.0000 default 21:32:22.567816+0530 mobileassetd -[ControlManager determineAssets:clientName:connection:downloadingTasks:message:resultTypes:queryArray:isForSpecificAsset:specificAssetId:specificAllowedDifferences:]: voiced queried for: com.apple.MobileAsset.VoiceServicesVocalizerVoice with returnTypes 1 (MAInstalledOnly) and found 0 assets with result 0 (MAQuerySuccessful) --> From 219 listed in the catalog and 0 local (0/0 downloaded, 0 preinstalled)--> Catalog info ((null)) --> Filtered for MAInstalledOnly to 37 in catalog (0 installed, 0 server-only, 37 preinstalled), 0 installedNotInCatalog, 0 installedWithOS, 0 requiredByOS; the query params are: [ _CompatibilityVersion:'1','2','3','4','5','6','7'] --> Merged to 0 assets default 21:32:22.569892+0530 voiced -[MAAssetQuery getResultsFromMessage:]: Got the query meta data reply for: com.apple.MobileAsset.VoiceServicesVocalizerVoice, response: 0 default 21:32:22.570929+0530 mobileassetd -[ControlManager handleClientConnection:on:]_block_invoke: assetType: com.apple.MobileAsset.VoiceServices.CustomVoice client: voiced, command: 1 (MA_QUERY_ASSET_TYPE) default 21:32:22.571064+0530 mobileassetd -[ControlManager handleClientConnection:on:]_block_invoke: voiced issued query command for com.apple.MobileAsset.VoiceServices.CustomVoice default 21:32:22.605505+0530 backboardd Lcurrent=61.9256 Lr=0.0130 DR=200.0000 factor=0.0000 default 21:32:22.690356+0530 mobileassetd -[ControlManager handleQueryRequest:clientName:connection:message:]: voiced queried for: com.apple.MobileAsset.VoiceServices.CustomVoice with returnType of: 1 (MAInstalledOnly) - may block on network sync default 21:32:22.690876+0530 mobileassetd -[ControlManager determineAssets:clientName:connection:downloadingTasks:message:resultTypes:queryArray:isForSpecificAsset:specificAssetId:specificAllowedDifferences:]: voiced queried for: com.apple.MobileAsset.VoiceServices.CustomVoice with returnType of: 1 default 21:32:22.694669+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.CompassCalibrationViewService, filter: (null) default 21:32:22.696254+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:22.696405+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:22.696949+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:22.697005+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.CompassCalibrationViewService, nonContainer: (null), container: (null) default 21:32:22.705482+0530 backboardd Lcurrent=61.9256 Lr=0.0130 DR=200.0000 factor=0.0000 default 21:32:22.724580+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.ios.StoreKitUIService, filter: (null) default 21:32:22.728750+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:22.728950+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:22.732811+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:22.733103+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.ios.StoreKitUIService, nonContainer: (null), container: (null) default 21:32:22.805497+0530 backboardd Lcurrent=61.9256 Lr=0.0130 DR=200.0000 factor=0.0000 default 21:32:22.816015+0530 apsd updating AppLaunchStats with pending work default 21:32:22.816107+0530 apsd setting global pending work default 21:32:22.905517+0530 backboardd Lcurrent=61.9256 Lr=0.0130 DR=200.0000 factor=0.0000 default 21:32:23.005606+0530 backboardd Lcurrent=61.9256 Lr=0.0130 DR=200.0000 factor=0.0000 default 21:32:23.005666+0530 apsd _performIdleCheck activeSlaves 0 connections 64 default 21:32:23.005824+0530 apsd _performIdleCheck activeSlaves 0 connections 8 default 21:32:23.005882+0530 apsd _performIdleCheck activeSlaves 0 connections 64 default 21:32:23.005937+0530 apsd _performIdleCheck activeSlaves 0 connections 64 default 21:32:23.095927+0530 cloudpaird "The connection to ACDAccountStore was invalidated." default 21:32:23.105516+0530 backboardd Lcurrent=61.9256 Lr=0.0130 DR=200.0000 factor=0.0000 default 21:32:23.164061+0530 backboardd EventStatistics.m:48 : 632.69926: Info: 3 Digitizer since 628.86575 (Thu Apr 1 21:32:19 2021) default 21:32:23.187511+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.AppStore, filter: (null) default 21:32:23.189776+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:23.189980+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:23.190340+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:23.190500+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.AppStore, nonContainer: (null), container: (null) default 21:32:23.205568+0530 backboardd Lcurrent=61.9256 Lr=0.0129 DR=200.0000 factor=0.0000 default 21:32:23.234543+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.SubcredentialUIService, filter: (null) default 21:32:23.236759+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:23.236960+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:23.237210+0530 tccd REQUEST: tccd_uid=501, sender_pid=272, sender_uid=501, sender_auid=-1, function=TCCAccessCopyInformationForBundle, msgID=272.43 default 21:32:23.238044+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:23.238121+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.SubcredentialUIService, nonContainer: (null), container: (null) default 21:32:23.262903+0530 backboardd [HID] [MT] dispatchEvent Dispatching event with 1 children, _eventMask=0x23 _childEventMask=0x3 Cancel=0 Touching=1 inRange=1 default 21:32:23.271840+0530 MyAppName 0x1070e5160 - [PID=359, throttler=0x1070b84d8] ProcessThrottler::Activity::Activity: Starting background activity / 'WebPageProxy::handlePreventableTouchEvent' default 21:32:23.273173+0530 MyAppName 0x1070e5160 - [PID=359, throttler=0x1070b84d8] ProcessThrottler::Activity::invalidate: Ending background activity / 'WebPageProxy::handlePreventableTouchEvent' default 21:32:23.276220+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.43 default 21:32:23.296351+0530 apsd : processStoredIncomingMessageForConnection: default 21:32:23.299140+0530 apsd : processStoredIncomingMessageForConnection: default 21:32:23.305540+0530 backboardd Lcurrent=61.9256 Lr=0.0129 DR=200.0000 factor=0.0000 default 21:32:23.325571+0530 tccd REQUEST: tccd_uid=501, sender_pid=272, sender_uid=501, sender_auid=-1, function=TCCAccessCopyInformationForBundle, msgID=272.44 default 21:32:23.346206+0530 backboardd [HID] [MT] dispatchEvent Dispatching event with 1 children, _eventMask=0x23 _childEventMask=0x3 Cancel=0 Touching=0 inRange=0 default 21:32:23.355918+0530 MyAppName Single tap identified. Request details on potential zoom. (0x122028800) default 21:32:23.356175+0530 MyAppName Ending potential tap. (0x122028800) default 21:32:23.357422+0530 MyAppName Single tap recognized - commit potential tap (0x122028800) default 21:32:23.373784+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.44 default 21:32:23.388025+0530 MyAppName Synthetic click completed. (0x122028800) default 21:32:23.405754+0530 backboardd Lcurrent=61.9256 Lr=0.0129 DR=200.0000 factor=0.0000 default 21:32:23.476923+0530 tccd REQUEST: tccd_uid=501, sender_pid=272, sender_uid=501, sender_auid=-1, function=TCCAccessCopyInformationForBundle, msgID=272.45 default 21:32:23.505795+0530 backboardd Lcurrent=61.9256 Lr=0.0129 DR=200.0000 factor=0.0000 default 21:32:23.506824+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.45 default 21:32:23.568866+0530 tccd REQUEST: tccd_uid=501, sender_pid=272, sender_uid=501, sender_auid=-1, function=TCCAccessCopyInformationForBundle, msgID=272.46 default 21:32:23.594639+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.46 default 21:32:23.605617+0530 backboardd Lcurrent=61.9256 Lr=0.0129 DR=200.0000 factor=0.0000 default 21:32:23.676584+0530 tccd REQUEST: tccd_uid=501, sender_pid=272, sender_uid=501, sender_auid=-1, function=TCCAccessCopyInformationForBundle, msgID=272.47 default 21:32:23.702897+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.47 default 21:32:23.705507+0530 backboardd Lcurrent=61.9256 Lr=0.0129 DR=200.0000 factor=0.0000 default 21:32:23.748542+0530 tccd REQUEST: tccd_uid=501, sender_pid=272, sender_uid=501, sender_auid=-1, function=TCCAccessCopyInformationForBundle, msgID=272.48 default 21:32:23.763220+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.48 default 21:32:23.805111+0530 tccd REQUEST: tccd_uid=501, sender_pid=272, sender_uid=501, sender_auid=-1, function=TCCAccessCopyInformationForBundle, msgID=272.49 default 21:32:23.805496+0530 backboardd Lcurrent=61.9256 Lr=0.0129 DR=200.0000 factor=0.0000 default 21:32:23.830631+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.49 default 21:32:23.846117+0530 wifid __WiFiLQAMgrLogStats(Redmi Pro:Stationary): Rssi: -49 Snr: 35 Cca: 2 TxPer: 0.0% (4) BcnPer: 0.0% (98, 50.5%) RxFrms: 3 RxRetryFrames: 0 TxRate: 24000 RxRate: 390000 FBRate: 260000 TxFwFrms: 4 TxFwFail: 0 TxReTrans: 0 time: 46.2secs fgApp: com.apple.WebKit.WebContent default 21:32:23.846275+0530 wifid WiFiLQAMgrCopyCoalescedUndispatchedLQMEvent: Rssi: -49 Snr:35 Cca: 2 TxFrames: 4 TxFail: 0 BcnRx: 98 BcnSch: 98 RxFrames: 3 RxRetries: 0 TxRate: 24000 RxRate: 390000 FBRate: 260000 TxFwFrms: 4 TxFwFail:0 TxRetries: 0 default 21:32:23.848902+0530 symptomsd L2 Metrics on en0: rssi: -49 [-1,-1] -> -49, snr: 35 (cca [wake/total] self/other/intf): [-1,-1]/[-1,-1]/[-1,-1]/2 (txFrames/txReTx/txFail): 4/0/0 -> (was/is) 0/0 default 21:32:23.849114+0530 symptomsd Received Wi-Fi Assist Override along with LQM info: 0 default 21:32:23.851593+0530 WirelessRadioManagerd default 21:32:23.851775+0530 WirelessRadioManagerd default 21:32:23.851912+0530 WirelessRadioManagerd default 21:32:23.883811+0530 tccd REQUEST: tccd_uid=501, sender_pid=272, sender_uid=501, sender_auid=-1, function=TCCAccessCopyInformationForBundle, msgID=272.50 default 21:32:23.903192+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.50 default 21:32:23.905493+0530 backboardd Lcurrent=61.9256 Lr=0.0129 DR=200.0000 factor=0.0000 default 21:32:23.906379+0530 voicememod "ACMonitoredAccountStore: Connection to accountsd closed. Will reconnect on account change for appropriate account type" default 21:32:23.906739+0530 distnoted register name: ACDAccountStoreDidChangeNotification object: kCFNotificationAnyObject token: 200000001 pid: 342 default 21:32:23.906831+0530 voicememod "The connection to ACDAccountStore was invalidated." default 21:32:23.965413+0530 tccd REQUEST: tccd_uid=501, sender_pid=272, sender_uid=501, sender_auid=-1, function=TCCAccessCopyInformationForBundle, msgID=272.51 default 21:32:23.995203+0530 tccd REPLY: (501) function=TCCAccessCopyInformationForBundle, msgID=272.51 default 21:32:24.005556+0530 backboardd Lcurrent=61.9256 Lr=0.0129 DR=200.0000 factor=0.0000 default 21:32:24.063950+0530 mobileassetd -[ControlManager determineAssets:clientName:connection:downloadingTasks:message:resultTypes:queryArray:isForSpecificAsset:specificAssetId:specificAllowedDifferences:]: voiced queried for: com.apple.MobileAsset.VoiceServices.CustomVoice with returnTypes 1 (MAInstalledOnly) and found 28 assets with result 0 (MAQuerySuccessful) --> From 84 listed in the catalog and 28 local (14/14 downloaded, 14 preinstalled)--> Catalog info ((null)) --> Filtered for MAInstalledOnly to 84 in catalog (14 installed, 0 server-only, 70 preinstalled), 0 installedNotInCatalog, 0 installedWithOS, 14 requiredByOS; the query params are: [ _CompatibilityVersion:'1','2','3','4','5','6','7'] --> Merged to 28 assets default 21:32:24.069988+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.ScreenTimeUnlock, filter: (null) default 21:32:24.071659+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:24.071916+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:24.072376+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:24.072530+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.ScreenTimeUnlock, nonContainer: (null), container: (null) default 21:32:24.092494+0530 voiced -[MAAssetQuery getResultsFromMessage:]: Got the query meta data reply for: com.apple.MobileAsset.VoiceServices.CustomVoice, response: 0 default 21:32:24.102005+0530 locationd MotionCoprocessor,startTime,638985744.101944,motionType,1,youthType,0,youthTypeReason,0 default 21:32:24.106563+0530 locationd os_transaction created: () default 21:32:24.106996+0530 locationd @WifiLogic, handleInput, System::CoarseMotion default 21:32:24.107342+0530 locationd WifiTimer, nextscan, 300, haveLoc, 0, codepath, Frozen default 21:32:24.107810+0530 locationd {"msg":"CLWifi1SystemLogic::apply", "event":"elapsed", "begin_mach":15207319478, "end_mach":15207346192, "elapsed_s":"0.001113083", "event":"System::CoarseMotion", "now_s":"638985744.102952003"} default 21:32:24.107949+0530 locationd os_transaction releasing: () default 21:32:24.108443+0530 locationd @IndoorFlow, turnon, updateLatestMotionActivity, NoLocation default 21:32:24.108984+0530 locationd {"msg":"got motion state notification", "subHarvester":"Avenger"} default 21:32:24.109055+0530 locationd {"msg":"updated avenger harvester motion activity state", "fLastMotionActivity":2, "nextMotionActivity":1, "subHarvester":"Avenger"} default 21:32:24.109119+0530 locationd {"msg":"updateOperationalModeIfNecessary", "fIsAllowedToUseBest":0, "fCurrentTimeOffsetThreshold":"45.000000", "subHarvester":"Avenger"} default 21:32:24.109728+0530 backboardd Lcurrent=61.9256 Lr=0.0128 DR=200.0000 factor=0.0000 default 21:32:24.115643+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets ENTRY, id: com.apple.TVAccessViewService, filter: (null) default 21:32:24.117644+0530 containermanagerd stat []: exists: 1, isDirectory: 0, fsNode: <~~~> error 21:32:24.117846+0530 containermanagerd [0] command=28, client=<<~>, u=<501/501//2/1000>, uid=501, pid=370, sandboxed=1, platform=2>, error=71 (PATH_NOT_FOUND) default 21:32:24.121416+0530 CacheDeleteAppContainerCaches container_create_or_lookup_user_managed_assets_path: error = ((container_error_t)71) PATH_NOT_FOUND error 21:32:24.121495+0530 CacheDeleteAppContainerCaches enumerateUserManagedAssets failed to find UserManagedAssets directory for com.apple.TVAccessViewService, nonContainer: (null), container: (null) default 21:32:24.127021+0530 com.apple.WebKit.Networking automatic index on z(sourceDomainID) default 21:32:24.127474+0530 MyAppName UIProcess is releasing a background assertion because the Network process is no longer holding locked files default 21:32:24.127604+0530 MyAppName 0x1070e6fa0 - [PID=360, throttler=0x1070900a0] ProcessThrottler::Activity::invalidate: Ending background activity / 'Holding locked files'

MarcelSchuermann commented 3 years ago

For me after going to "requested" state it is stuck at "initiated" state and going back to "valid" state even in the sandbox version. It was working once in sandbox and testflight. Now nothing happens. Any idea? Is this maybe related or my fault? Tested on iOS 13.5 iPhone 8. edit: In iOS 14.4 iPhone 8 it works in sandobx (with storekit) after waiting a little bit.

jffs commented 3 years ago

The same thing happens to me, but before it did work. Now the window does not appear but I do get a receipt

sahalshn commented 3 years ago

The same thing happens to me, but before it did work. Now the window does not appear but I do get a receipt

This issue is resolved by handling products with bundle id. If we use their recommended server validation. it will work

jffs commented 3 years ago

The same thing happens to me, but before it did work. Now the window does not appear but I do get a receipt

This issue is resolved by handling products with bundle id. If we use their recommended server validation. it will work

Can you provide more info or an example? where i supposed to use the bundle ID? thanks for respond.

MarcelSchuermann commented 3 years ago

The same thing happens to me, but before it did work. Now the window does not appear but I do get a receipt

This issue is resolved by handling products with bundle id. If we use their recommended server validation. it will work

Can you provide more info or an example? where i supposed to use the bundle ID? thanks for respond.

Yes, that woudl help a lot... Actually for me the screen is showing up on iPhone 8 (14.4) but not on iPad (14.4)... Any ideas?

MarcelSchuermann commented 3 years ago

This is the same issue as issue 1101 for me at least.

exsprites commented 3 years ago

I got the same issue. We seem only able to test our app in Sandbox/TestFlight. All works fine. However, once the app is "ready for sale", the purchase window is not displaying even after waiting for a long time.

I got the "promise" returned from store.order(id). It seems never resolve or reject.

@sahalshn Do you have any update on this issue?

exsprites commented 3 years ago

In my case, the problem is that the store is not ready (store.ready() returns false) if I don't use a validator.

I'm solving my problem by either using a validator server (Fovea) or a custom validator function (See https://github.com/j3k0/cordova-plugin-purchase/issues/1055#issuecomment-650209335)

I'm waiting for one more step to check if it works when the App is live on the App Store.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

alyleite commented 2 years ago

I have the same problem but with IOS