Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: I installed version 5.0.4 from "android 13" and am getting an error when sending Android push notifications. #952

Open
2 of 3 tasks
yellowin opened this issue Dec 18, 2023 · 0 comments

Comments

@yellowin
Copy link

yellowin commented Dec 18, 2023

What happened?

An error occurs when I install "cordova onesignal" 5.0.4 version and send Android push notifications.
The device that occurs is Android 13. There is no issue in android 12.

The "Subscription Status" on the onesignal "Subscriptions" screen is in the normal "Subscription" status when you first run the app, but when you send a message, it changes to "Not Subscribed" and messages cannot be received.
After that, the status does not update when you rerun the app.
I have attached a video showing the detailed symptoms, so please check it out.

https://www.youtube.com/watch?v=PYCcc9hnXeE

Steps to reproduce?

1.cordova platform add android
- android 12.0.1 (target-sdk,compile-sdk all 33)
2.cordova plugin add onesignal-cordova-plugin
- Install 5.0.4 version of cordova plugin
3.Edit index.js
window.plugins.OneSignal.initialize(onesignal-appid);
window.plugins.OneSignal.Notifications.addEventListener("click", function(jsonData) {});
window.plugins.OneSignal.Notifications.requestPermission(true).then((accepted) => {});
4.Add “POST_NOTIFICATIONS” to AndroidManifest.xml file
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
5.cordova run android & test progress

What did you expect to happen?

Push notifications should be sent to the Android 13 device normally.

OneSignal Cordova SDK version

5.0.4

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

2023-12-18 12:03:56.408 32715-649   PluginManager           com.yellowin.appcakepush             D  getPlugin - put: OneSignalPush
2023-12-18 12:03:56.433 32715-32715 PluginManager           com.yellowin.appcakepush             D  postMessage: spinner
2023-12-18 12:03:56.696 32715-649   PluginManager           com.yellowin.appcakepush             W  THREAD WARNING: exec() call to OneSignalPush.init blocked the main thread for 288ms. Plugin should use CordovaInterface.getThreadPool().
2023-12-18 12:03:56.696 32715-782   SQLiteLog               com.yellowin.appcakepush             W  (28) double-quoted string literal: "notification"
2023-12-18 12:03:56.727 32715-649   PluginManager           com.yellowin.appcakepush             W  THREAD WARNING: exec() call to OneSignalPush.requestPermission blocked the main thread for 26ms. Plugin should use CordovaInterface.getThreadPool().
2023-12-18 12:03:56.734 32715-782   TrafficStats            com.yellowin.appcakepush             D  tagSocket(235) with statsTag=0x2710, statsUid=-1
2023-12-18 12:03:56.735 32715-772   TrafficStats            com.yellowin.appcakepush             D  tagSocket(238) with statsTag=0x2710, statsUid=-1
2023-12-18 12:03:56.735 32715-781   TrafficStats            com.yellowin.appcakepush             D  tagSocket(239) with statsTag=0x2710, statsUid=-1
2023-12-18 12:03:56.744 32715-430   System.err              com.yellowin.appcakepush             W  java.io.FileNotFoundException: www/favicon.ico
2023-12-18 12:03:56.744 32715-430   System.err              com.yellowin.appcakepush             W  	at android.content.res.AssetManager.nativeOpenAsset(Native Method)
2023-12-18 12:03:56.744 32715-430   System.err              com.yellowin.appcakepush             W  	at android.content.res.AssetManager.open(AssetManager.java:962)
2023-12-18 12:03:56.745 32715-430   System.err              com.yellowin.appcakepush             W  	at org.apache.cordova.engine.SystemWebViewClient.lambda$new$0$org-apache-cordova-engine-SystemWebViewClient(SystemWebViewClient.java:96)
2023-12-18 12:03:56.745 32715-430   System.err              com.yellowin.appcakepush             W  	at org.apache.cordova.engine.SystemWebViewClient$$ExternalSyntheticLambda0.handle(Unknown Source:4)
2023-12-18 12:03:56.745 32715-430   System.err              com.yellowin.appcakepush             W  	at androidx.webkit.WebViewAssetLoader.shouldInterceptRequest(WebViewAssetLoader.java:571)
2023-12-18 12:03:56.745 32715-430   System.err              com.yellowin.appcakepush             W  	at org.apache.cordova.engine.SystemWebViewClient.shouldInterceptRequest(SystemWebViewClient.java:424)
2023-12-18 12:03:56.745 32715-430   System.err              com.yellowin.appcakepush             W  	at WV.b6.a(chromium-TrichromeWebViewGoogle6432.aab-stable-609904333:86)
2023-12-18 12:03:56.745 32715-430   System.err              com.yellowin.appcakepush             W  	at org.chromium.android_webview.AwContentsBackgroundThreadClient.shouldInterceptRequestFromNative(chromium-TrichromeWebViewGoogle6432.aab-stable-609904333:15)
2023-12-18 12:03:56.745 32715-430   SystemWebViewClient     com.yellowin.appcakepush             E  www/favicon.ico
2023-12-18 12:03:56.751 32715-32715 CordovaActivity         com.yellowin.appcakepush             D  Paused the activity.
2023-12-18 12:03:56.761 32715-32715 CordovaWebViewImpl      com.yellowin.appcakepush             D  onPageFinished(https://localhost/index.html)
2023-12-18 12:03:56.761 32715-32715 PluginManager           com.yellowin.appcakepush             D  postMessage: onPageFinished
2023-12-18 12:03:56.769 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  Setup new sync id=0
2023-12-18 12:03:56.769 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  Setting syncFrameCallback
2023-12-18 12:03:56.769 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  registerCallbacksForSync syncBuffer=false
2023-12-18 12:03:56.780 32715-812   ViewRootIm...nActivity] com.yellowin.appcakepush             I  Received frameDrawingCallback syncResult=0 frameNum=1.
2023-12-18 12:03:56.780 32715-812   ViewRootIm...nActivity] com.yellowin.appcakepush             I  Setting up sync and frameCommitCallback
2023-12-18 12:03:56.829 32715-390   BLASTBufferQueue        com.yellowin.appcakepush             I  [ViewRootImpl@f59248c[MainActivity]#0](f:0,a:0) onFrameAvailable the first frame is available
2023-12-18 12:03:56.829 32715-390   ViewRootIm...nActivity] com.yellowin.appcakepush             I  Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
2023-12-18 12:03:56.830 32715-390   OpenGLRenderer          com.yellowin.appcakepush             D  CFMS:: SetUp Pid : 32715    Tid : 390
2023-12-18 12:03:56.831 32715-390   Parcel                  com.yellowin.appcakepush             W  Expecting binder but got null!
2023-12-18 12:03:56.831 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  onSyncComplete
2023-12-18 12:03:56.832 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  setupSync seqId=0 mSyncId=0 fn=1 caller=android.view.ViewRootImpl$$ExternalSyntheticLambda11.accept:6 android.window.SurfaceSyncer.lambda$setupSync$1$android-window-SurfaceSyncer:128 android.window.SurfaceSyncer$$ExternalSyntheticLambda1.accept:8 android.window.SurfaceSyncer$SyncSet.checkIfSyncIsComplete:382 android.window.SurfaceSyncer$SyncSet.markSyncReady:359 android.window.SurfaceSyncer.markSyncReady:151 android.view.ViewRootImpl.performTraversals:4503 
2023-12-18 12:03:56.836 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  reportDrawFinished seqId=0 mSyncId=-1 fn=1 mSurfaceChangedTransaction=0xb400006dc626d8d0
2023-12-18 12:03:56.900 32715-32715 DecorView               com.yellowin.appcakepush             I  [INFO] isPopOver=false config=true
2023-12-18 12:03:56.900 32715-32715 DecorView               com.yellowin.appcakepush             I  updateCaptionType: isFloating=false isApplication=true hasWindowDecorCaption=false this=DecorView@9710a17[]
2023-12-18 12:03:56.900 32715-32715 DecorView               com.yellowin.appcakepush             D  setCaptionType = 0, this = DecorView@9710a17[]
2023-12-18 12:03:56.901 32715-32715 DecorView               com.yellowin.appcakepush             I  getCurrentDensityDpi: from real metrics. densityDpi=480 msg=resources_loaded
2023-12-18 12:03:56.901 32715-32715 DecorView               com.yellowin.appcakepush             I  setWindowBackground: isPopOver=false color=0 d=android.graphics.drawable.ColorDrawable@3d90fed
2023-12-18 12:03:56.903 32715-32715 MSHandlerLifeCycle      com.yellowin.appcakepush             I  check: return. pkg=com.yellowin.appcakepush parent=null callers=com.android.internal.policy.DecorView.setVisibility:4412 android.app.ActivityThread.handleResumeActivity:5476 android.app.servertransaction.ResumeActivityItem.execute:54 android.app.servertransaction.ActivityTransactionItem.execute:45 android.app.servertransaction.TransactionExecutor.executeLifecycleState:176 
2023-12-18 12:03:56.903 32715-32715 MSHandlerLifeCycle      com.yellowin.appcakepush             I  removeMultiSplitHandler: no exist. decor=DecorView@9710a17[]
2023-12-18 12:03:56.905 32715-390   NativeCust...ncyManager com.yellowin.appcakepush             D  [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
2023-12-18 12:03:56.910 32715-32715 InsetsController        com.yellowin.appcakepush             D  onStateChanged: InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2340), mDisplayCutout=DisplayCutout{insets=Rect(0, 81 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(512, 0 - 568, 81), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2340 physicalDisplayWidth=1080 physicalDisplayHeight=2340 density={3.0} cutoutSpec={M 0,0 H -9.333333333333333 V 27 H 9.333333333333333 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=102, center=Point(102, 102)}, RoundedCorner{position=TopRight, radius=102, center=Point(978, 102)}, RoundedCorner{position=BottomRight, radius=102, center=Point(978, 2238)}, RoundedCorner{position=BottomLeft, radius=102, center=Point(102, 2238)}]}  mRoundedCornerFrame=Rect(0, 0 - 1080, 2340), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(948, 0 - 1080, 81) rotation=0}, mSources= { InsetsSource: {mType=ITYPE_STATUS_BAR, mFrame=[0,0][1080,81], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_NAVIGATION_BAR, mFrame=[0,2196][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_GESTURES, mFrame=[0,0][0,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_GESTURES, mFrame=[1080,0][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_MANDATORY_GESTURES, mFrame=[0,0][1080,117], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_MANDATORY_GESTURES, mFrame=[0,2196][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_DISPLAY_CUTOUT, mFrame=[0,0][-100000,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_DISPLAY_CUTOUT, mFrame=[0,0][1080,81], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_DISPLAY_CUTOUT, mFrame=[100000,0][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_DISPLAY_CUTOUT, mFrame=[0,100000][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_TAPPABLE_ELEMENT, mFrame=[0,0][1080,81], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_TAPPABLE_ELEMENT, mFrame=[0,2196][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false} } host=com.yellowin.appcakepush/com.onesignal.core.activities.PermissionsActivity from=android.view.ViewRootImpl.setView:1732
2023-12-18 12:03:56.912 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  setView = com.android.internal.policy.DecorView@9710a17 TM=true
2023-12-18 12:03:56.912 32715-32715 MSHandlerLifeCycle      com.yellowin.appcakepush             I  removeMultiSplitHandler: no exist. decor=DecorView@9710a17[PermissionsActivity]
2023-12-18 12:03:56.919 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  performTraversals params={(0,0)(fillxfill) sim={adjust=pan forwardNavigation} ty=BASE_APPLICATION fmt=TRANSPARENT wanim=0x1030000
                                                                                                      fl=1810100
                                                                                                      pfl=12020040
                                                                                                      bhv=DEFAULT
                                                                                                      fitSides= naviIconColor=0
                                                                                                      sfl=100000}
2023-12-18 12:03:56.920 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  performTraversals mFirst=true windowShouldResize=true viewVisibilityChanged=false mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=pan forwardNavigation} ty=BASE_APPLICATION fmt=TRANSPARENT wanim=0x1030000
                                                                                                      fl=1810100
                                                                                                      pfl=12020040
                                                                                                      bhv=DEFAULT
                                                                                                      fitSides= naviIconColor=0
                                                                                                      sfl=100000}
2023-12-18 12:03:56.928 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  updateBlastSurfaceIfNeeded mBlastBufferQueue=null isSameSurfaceControl=false
2023-12-18 12:03:56.928 32715-32715 BLASTBufferQueue        com.yellowin.appcakepush             I  new BLASTBufferQueue, mName= ViewRootImpl@4942e22[PermissionsActivity] mNativeObject= 0xb400006e06282bf0 sc.mNativeObject= 0xb400006d962af180 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2909 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301 android.view.Choreographer$CallbackRecord.run:1309 android.view.Choreographer.doCallbacks:923 android.view.Choreographer.doFrame:852 android.view.Choreographer$FrameDisplayEventReceiver.run:1283 
2023-12-18 12:03:56.928 32715-32715 BLASTBufferQueue        com.yellowin.appcakepush             I  update, w= 1080 h= 2340 mName = ViewRootImpl@4942e22[PermissionsActivity] mNativeObject= 0xb400006e06282bf0 sc.mNativeObject= 0xb400006d962af180 format= -2 caller= android.graphics.BLASTBufferQueue.<init>:84 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2909 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 
2023-12-18 12:03:56.929 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)0 dur=8 res=0x3 s={true 0xb400006e96272ae0} ch=true seqId=0
2023-12-18 12:03:56.929 32715-390   OpenGLRenderer          com.yellowin.appcakepush             D  eglCreateWindowSurface
2023-12-18 12:03:56.929 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  mThreadedRenderer.initialize() mSurface={isValid=true 0xb400006e96272ae0} hwInitialized=true
2023-12-18 12:03:56.930 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  reportNextDraw android.view.ViewRootImpl.performTraversals:4438 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301 android.view.Choreographer$CallbackRecord.run:1309 
2023-12-18 12:03:56.930 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  Setup new sync id=0
2023-12-18 12:03:56.930 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  Setting syncFrameCallback
2023-12-18 12:03:56.930 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  registerCallbacksForSync syncBuffer=false
2023-12-18 12:03:56.931 32715-812   ViewRootIm...sActivity] com.yellowin.appcakepush             I  Received frameDrawingCallback syncResult=0 frameNum=1.
2023-12-18 12:03:56.931 32715-812   ViewRootIm...sActivity] com.yellowin.appcakepush             I  Setting up sync and frameCommitCallback
2023-12-18 12:03:56.932 32715-390   BLASTBufferQueue        com.yellowin.appcakepush             I  [ViewRootImpl@4942e22[PermissionsActivity]#1](f:0,a:0) onFrameAvailable the first frame is available
2023-12-18 12:03:56.933 32715-390   ViewRootIm...sActivity] com.yellowin.appcakepush             I  Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
2023-12-18 12:03:56.933 32715-390   OpenGLRenderer          com.yellowin.appcakepush             D  CFMS:: SetUp Pid : 32715    Tid : 390
2023-12-18 12:03:56.934 32715-390   Parcel                  com.yellowin.appcakepush             W  Expecting binder but got null!
2023-12-18 12:03:56.934 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  onSyncComplete
2023-12-18 12:03:56.934 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  setupSync seqId=0 mSyncId=0 fn=1 caller=android.view.ViewRootImpl$$ExternalSyntheticLambda11.accept:6 android.window.SurfaceSyncer.lambda$setupSync$1$android-window-SurfaceSyncer:128 android.window.SurfaceSyncer$$ExternalSyntheticLambda1.accept:8 android.window.SurfaceSyncer$SyncSet.checkIfSyncIsComplete:382 android.window.SurfaceSyncer$SyncSet.markSyncReady:359 android.window.SurfaceSyncer.markSyncReady:151 android.view.ViewRootImpl.performTraversals:4503 
2023-12-18 12:03:56.935 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  reportDrawFinished seqId=0 mSyncId=-1 fn=1 mSurfaceChangedTransaction=0xb400006dc6271c50
2023-12-18 12:03:57.158 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  MSG_WINDOW_FOCUS_CHANGED 0 0
2023-12-18 12:03:57.173 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  applyTransactionOnDraw: mRemoved = false isHardwareEnabled = true t = 0xb400006dc62706f0android.app.ActivityThread.syncTransferSplashscreenViewTransaction:4692 android.app.ActivityThread.-$$Nest$msyncTransferSplashscreenViewTransaction:0 android.app.ActivityThread$2.onDraw:4667 android.view.ViewTreeObserver.dispatchOnDraw:1165 android.view.ViewRootImpl.draw:5556 
2023-12-18 12:03:57.180 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  MSG_WINDOW_FOCUS_CHANGED 0 0
2023-12-18 12:03:57.182 32715-813   ViewRootIm...nActivity] com.yellowin.appcakepush             I  mWNT: t=0xb400006dc62706f0 mBlastBufferQueue=0xb400006e0627b210 fn= 3 caller= android.view.ViewRootImpl.lambda$applyTransactionOnDraw$11$android-view-ViewRootImpl:12865 android.view.ViewRootImpl$$ExternalSyntheticLambda1.onFrameDraw:4 android.graphics.HardwareRenderer$FrameDrawingCallback.onFrameDraw:924 
2023-12-18 12:03:57.192 32715-32715 DecorView               com.yellowin.appcakepush             I  notifyKeepScreenOnChanged: keepScreenOn=false
2023-12-18 12:03:57.206 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  performTraversals params={(0,0)(fillxfill) sim={adjust=resize forwardNavigation} layoutInDisplayCutoutMode=shortEdges ty=BASE_APPLICATION wanim=0x1030309
                                                                                                      fl=81810900
                                                                                                      pfl=16020040
                                                                                                      bhv=DEFAULT
                                                                                                      fitSides= naviIconColor=0
                                                                                                      sfl=100000}
2023-12-18 12:03:57.208 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=false mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=resize forwardNavigation} layoutInDisplayCutoutMode=shortEdges ty=BASE_APPLICATION wanim=0x1030309
                                                                                                      fl=81810900
                                                                                                      pfl=16020040
                                                                                                      bhv=DEFAULT
                                                                                                      fitSides= naviIconColor=0
                                                                                                      sfl=100000}
2023-12-18 12:03:57.230 32715-32715 InsetsController        com.yellowin.appcakepush             D  onStateChanged: InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2340), mDisplayCutout=DisplayCutout{insets=Rect(0, 81 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(512, 0 - 568, 81), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2340 physicalDisplayWidth=1080 physicalDisplayHeight=2340 density={3.0} cutoutSpec={M 0,0 H -9.333333333333333 V 27 H 9.333333333333333 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=102, center=Point(102, 102)}, RoundedCorner{position=TopRight, radius=102, center=Point(978, 102)}, RoundedCorner{position=BottomRight, radius=102, center=Point(978, 2238)}, RoundedCorner{position=BottomLeft, radius=102, center=Point(102, 2238)}]}  mRoundedCornerFrame=Rect(0, 0 - 1080, 2340), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(948, 0 - 1080, 81) rotation=0}, mSources= { InsetsSource: {mType=ITYPE_STATUS_BAR, mFrame=[0,0][1080,81], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_NAVIGATION_BAR, mFrame=[0,2196][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_GESTURES, mFrame=[0,0][0,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_GESTURES, mFrame=[1080,0][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_MANDATORY_GESTURES, mFrame=[0,0][1080,117], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_MANDATORY_GESTURES, mFrame=[0,2196][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_DISPLAY_CUTOUT, mFrame=[0,0][-100000,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_DISPLAY_CUTOUT, mFrame=[0,0][1080,81], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_DISPLAY_CUTOUT, mFrame=[100000,0][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_DISPLAY_CUTOUT, mFrame=[0,100000][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_TAPPABLE_ELEMENT, mFrame=[0,0][1080,81], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_TAPPABLE_ELEMENT, mFrame=[0,2196][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_IME, mFrame=[0,0][0,0], mVisibleFrame=[0,1314][1080,2340], mVisible=false, mInsetsRoundedCornerFrame=false} } host=com.yellowin.appcakepush/com.yellowin.appcakepush.MainActivity from=android.view.ViewRootImpl.relayoutWindow:9802
2023-12-18 12:03:57.233 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  updateBlastSurfaceIfNeeded mBlastBufferQueue=0xb400006e0627b210 isSameSurfaceControl=true
2023-12-18 12:03:57.234 32715-32715 BLASTBufferQueue        com.yellowin.appcakepush             I  update, w= 1080 h= 2340 mName = ViewRootImpl@f59248c[MainActivity] mNativeObject= 0xb400006e0627b210 sc.mNativeObject= 0xb400006d962ba180 format= -1 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2898 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301 
2023-12-18 12:03:57.234 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)0 dur=25 res=0x0 s={true 0xb400006e962708d0} ch=false seqId=0
2023-12-18 12:03:57.266 32715-782   OneSignal               com.yellowin.appcakepush             W  [DefaultDispatcher-worker-5] HttpClient: null RECEIVED JSON: {"errors":[{"code":"subscription-0","title":"Subscription not found"}]}
2023-12-18 12:03:58.080 32715-781   OneSignal               com.yellowin.appcakepush             W  [DefaultDispatcher-worker-4] HttpClient: PATCH RECEIVED JSON: {"errors":[{"code":"subscription-0","title":"Subscription not found","meta":{"id":"3c1d5b3a-9cf2-40db-bc57-4a0ad61f11f6"}}]}
2023-12-18 12:03:58.086 32715-776   OneSignal               com.yellowin.appcakepush             E  Operation execution failed without retry: [{"name":"update-subscription","appId":"a8189faa-b7b9-4234-8930-ffb54cb44c8c","onesignalId":"b6b52067-73e7-469e-895e-32c8704d1f32","subscriptionId":"3c1d5b3a-9cf2-40db-bc57-4a0ad61f11f6","type":"PUSH","enabled":false,"address":"dC9VQy7OQ5-f_Dl_KSyy8k:APA91bHp47yIJFgJEenRIGawUCQxF_XmbwhokNQHkMKNU2SDuwszjtg3vdLO2xkZurJxRf9ZZ89jZ1izO7_0qobf6na_kwFvbFKa45_gBQ2B6hTKb7ByJZ4gFMMGCMuFnPPbdrmDrE1b","status":"NO_PERMISSION","id":"a9deaf89-1c6e-4bff-9958-12c8f9df899d"}]
2023-12-18 12:03:59.756 32715-32715 Compatibil...geReporter com.yellowin.appcakepush             D  Compat change id reported: 78294732; UID 11397; state: ENABLED
2023-12-18 12:03:59.794 32715-32715 InsetsController        com.yellowin.appcakepush             D  onStateChanged: InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2340), mDisplayCutout=DisplayCutout{insets=Rect(0, 81 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(512, 0 - 568, 81), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2340 physicalDisplayWidth=1080 physicalDisplayHeight=2340 density={3.0} cutoutSpec={M 0,0 H -9.333333333333333 V 27 H 9.333333333333333 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=102, center=Point(102, 102)}, RoundedCorner{position=TopRight, radius=102, center=Point(978, 102)}, RoundedCorner{position=BottomRight, radius=102, center=Point(978, 2238)}, RoundedCorner{position=BottomLeft, radius=102, center=Point(102, 2238)}]}  mRoundedCornerFrame=Rect(0, 0 - 1080, 2340), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(948, 0 - 1080, 81) rotation=0}, mSources= { InsetsSource: {mType=ITYPE_STATUS_BAR, mFrame=[0,0][1080,81], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_NAVIGATION_BAR, mFrame=[0,2196][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_GESTURES, mFrame=[0,0][0,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_GESTURES, mFrame=[1080,0][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_MANDATORY_GESTURES, mFrame=[0,0][1080,117], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_MANDATORY_GESTURES, mFrame=[0,2196][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_DISPLAY_CUTOUT, mFrame=[0,0][-100000,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_DISPLAY_CUTOUT, mFrame=[0,0][1080,81], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_DISPLAY_CUTOUT, mFrame=[100000,0][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_DISPLAY_CUTOUT, mFrame=[0,100000][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_TAPPABLE_ELEMENT, mFrame=[0,0][1080,81], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_TAPPABLE_ELEMENT, mFrame=[0,2196][1080,2340], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_IME, mFrame=[0,0][0,0], mVisibleFrame=[0,1314][1080,2340], mVisible=false, mInsetsRoundedCornerFrame=false} } host=com.yellowin.appcakepush/com.onesignal.core.activities.PermissionsActivity from=android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:6740
2023-12-18 12:03:59.816 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  MSG_WINDOW_FOCUS_CHANGED 0 0
2023-12-18 12:03:59.821 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  MSG_WINDOW_FOCUS_CHANGED 0 0
2023-12-18 12:03:59.821 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  stopped(false) old = false
2023-12-18 12:03:59.822 32715-32715 CordovaActivity         com.yellowin.appcakepush             D  Resumed the activity.
2023-12-18 12:03:59.826 32715-32715 MSHandlerLifeCycle      com.yellowin.appcakepush             I  removeMultiSplitHandler: no exist. decor=DecorView@c3c04fe[MainActivity]
2023-12-18 12:03:59.829 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  handleAppVisibility mAppVisible = true visible = false
2023-12-18 12:03:59.832 32715-390   OpenGLRenderer          com.yellowin.appcakepush             D  setSurface called with nullptr
2023-12-18 12:03:59.832 32715-390   OpenGLRenderer          com.yellowin.appcakepush             D  setSurface() destroyed EGLSurface
2023-12-18 12:03:59.832 32715-390   OpenGLRenderer          com.yellowin.appcakepush             D  destroyEglSurface
2023-12-18 12:03:59.833 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=true mForceNextWindowRelayout=false params=null
2023-12-18 12:03:59.839 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)8 dur=5 res=0x2 s={false 0x0} ch=true seqId=0
2023-12-18 12:03:59.841 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  MSG_WINDOW_FOCUS_CHANGED 1 0
2023-12-18 12:03:59.842 32715-32715 ViewRootIm...nActivity] com.yellowin.appcakepush             I  mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400006e962708d0}
2023-12-18 12:03:59.845 32715-32715 InputMethodManager      com.yellowin.appcakepush             D  startInputInner - Id : 0
2023-12-18 12:03:59.846 32715-32715 InputMethodManager      com.yellowin.appcakepush             I  startInputInner - mService.startInputOrWindowGainedFocus
2023-12-18 12:03:59.858 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  stopped(true) old = false
2023-12-18 12:03:59.858 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  WindowStopped on com.yellowin.appcakepush/com.onesignal.core.activities.PermissionsActivity set to true
2023-12-18 12:03:59.863 32715-32715 MSHandlerLifeCycle      com.yellowin.appcakepush             I  removeMultiSplitHandler: no exist. decor=DecorView@9710a17[PermissionsActivity]
2023-12-18 12:03:59.864 32715-32715 MSHandlerLifeCycle      com.yellowin.appcakepush             I  removeMultiSplitHandler: no exist. decor=DecorView@9710a17[PermissionsActivity]
2023-12-18 12:03:59.865 32715-390   OpenGLRenderer          com.yellowin.appcakepush             D  setSurface called with nullptr
2023-12-18 12:03:59.865 32715-32715 ViewRootIm...sActivity] com.yellowin.appcakepush             I  dispatchDetachedFromWindow
2023-12-18 12:03:59.871 32715-32715 InputTransport          com.yellowin.appcakepush             D  Input channel destroyed: '215c53f', fd=253
2023-12-18 12:03:59.873 32715-32715 InputMethodManager      com.yellowin.appcakepush             D  startInputInner - Id : 0
2023-12-18 12:04:00.276 32715-32715 chromium                com.yellowin.appcakepush             I  [INFO:CONSOLE(15)] "yellowin onesignal User accepted notifications: true", source: https://localhost/js/index.js (15)
2023-12-18 12:04:05.427 32715-390   OpenGLRenderer          com.yellowin.appcakepush             D  setSurface called with nullptr
2023-12-18 12:04:05.434 32715-32734 System                  com.yellowin.appcakepush             W  A resource failed to call release.

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant