Giter Club home page Giter Club logo

Comments (5)

Menyten avatar Menyten commented on May 27, 2024 1

I figured out what was wrong. The error is mine as I had som logical issues that apparently scheduled new notifications after cancelling the old ones. I realized this when I looked through the logccat log as there was another round of scheduling done after cancelling. I'm very sorry for wasting your time.

I do however have one question. Shouldn't the cancelLocalNotification show up in the log as well, just like showLocalNotification does? If not, then why is that the case?

from godot-local-notification.

DrMoriarty avatar DrMoriarty commented on May 27, 2024 1

Cancelling the notification is much rarely used function in comparison with show notification. So I didn't put specific debug log into it.
But I'm glad to hear that you solved the issue!

from godot-local-notification.

DrMoriarty avatar DrMoriarty commented on May 27, 2024

Could you show me the logcat output? What is happened when you run your program.

from godot-local-notification.

Menyten avatar Menyten commented on May 27, 2024

Here's the log. I'm not sure what you want to see from the logcat output as it's huge, so I filtered it to contain only what comes from my app. I noticed that all of the calls for showLocalNotification are there, but none of the cancelLocalNotification calls are there, I assume they should be underneath the THIS IS THE TAG logs as that comes from a print I'm doing just before calling LocalNotification.cancel.

05-22 12:18:14.739: E/ev2.yeet:remot(19533): Failed to send jdwp-handshake response.: Broken pipe
05-22 12:18:14.739: E/ev2.yeet:remot(19533): Failed to send jdwp-handshake response.: Broken pipe
05-22 12:18:14.840: D/ApplicationLoaders(3565): Returning zygote-cached class loader: /system/framework/android.test.base.jar
05-22 12:18:14.886: I/Perf(3565): Connecting to perf service.
05-22 12:18:14.891: I/rototypev2.yee(3565): [GL_OOM] ClampGrowthLimit 268435456
05-22 12:18:14.892: D/NetworkSecurityConfig(3565): No Network Security Config specified, using platform default
05-22 12:18:14.892: D/NetworkSecurityConfig(3565): No Network Security Config specified, using platform default
05-22 12:18:14.909: E/libprocessgroup(3565): set_timerslack_ns write failed: Operation not permitted
05-22 12:18:14.951: I/GodotPluginRegistry(3565): Initializing Godot plugin LocalNotification
05-22 12:18:14.952: I/GodotPluginRegistry(3565): Completed initialization for Godot plugin LocalNotification
05-22 12:18:14.960: E/SensorManager(3565): registerListenerImpl sensorName:bmi26x Accelerometer Non-wakeup,isWakeUpSensor:false,callingApp: com.prototypev2.yeet,callingPid:3565,callingUid:10356
05-22 12:18:14.964: E/SensorManager(3565): registerListenerImpl sensorName:gravity  Non-wakeup,isWakeUpSensor:false,callingApp: com.prototypev2.yeet,callingPid:3565,callingUid:10356
05-22 12:18:14.972: E/SensorManager(3565): registerListenerImpl sensorName:mmc5603x Magnetometer Non-wakeup,isWakeUpSensor:false,callingApp: com.prototypev2.yeet,callingPid:3565,callingUid:10356
05-22 12:18:14.990: E/SensorManager(3565): registerListenerImpl sensorName:bmi26x Gyroscope Non-wakeup,isWakeUpSensor:false,callingApp: com.prototypev2.yeet,callingPid:3565,callingUid:10356
05-22 12:18:15.019: E/SensorManager(3565): registerListenerImpl sensorName:bmi26x Accelerometer Non-wakeup,isWakeUpSensor:false,callingApp: com.prototypev2.yeet,callingPid:3565,callingUid:10356
05-22 12:18:15.020: E/SensorManager(3565): registerListenerImpl sensorName:gravity  Non-wakeup,isWakeUpSensor:false,callingApp: com.prototypev2.yeet,callingPid:3565,callingUid:10356
05-22 12:18:15.021: E/SensorManager(3565): registerListenerImpl sensorName:mmc5603x Magnetometer Non-wakeup,isWakeUpSensor:false,callingApp: com.prototypev2.yeet,callingPid:3565,callingUid:10356
05-22 12:18:15.022: E/SensorManager(3565): registerListenerImpl sensorName:bmi26x Gyroscope Non-wakeup,isWakeUpSensor:false,callingApp: com.prototypev2.yeet,callingPid:3565,callingUid:10356
05-22 12:18:15.027: I/OPFD_Manager(3565): Dark? false, OP Force ? false
05-22 12:18:15.027: V/ViewRootImpl(3565): The specified message queue synchronization  barrier token has not been posted or has already been removed
05-22 12:18:15.038: D/OpScreenModeManager(3565): setRefreshRate view org.godotengine.godot.GodotView{a3a3766 VFE...... .F....I. 0,0-0,0} viewRate 0 width 0 height 0
05-22 12:18:15.038: D/OpScreenModeManager(3565): create mRatio 1.2
05-22 12:18:15.047: I/AdrenoGLES-0(3565): QUALCOMM build                   : 3571974a10, I64bd74b5bd
05-22 12:18:15.047: I/AdrenoGLES-0(3565): Build Date                       : 09/11/20
05-22 12:18:15.047: I/AdrenoGLES-0(3565): OpenGL ES Shader Compiler Version: EV031.32.02.00
05-22 12:18:15.047: I/AdrenoGLES-0(3565): Local Branch                     : 
05-22 12:18:15.047: I/AdrenoGLES-0(3565): Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.9.12.10.00.00.582.274
05-22 12:18:15.047: I/AdrenoGLES-0(3565): Remote Branch                    : NONE
05-22 12:18:15.047: I/AdrenoGLES-0(3565): Reconstruct Branch               : NOTHING
05-22 12:18:15.047: I/AdrenoGLES-0(3565): Build Config                     : S P 10.0.5 AArch64
05-22 12:18:15.047: I/AdrenoGLES-0(3565): Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
05-22 12:18:15.050: I/AdrenoGLES-0(3565): PFP: 0x016dd091, ME: 0x00000000
05-22 12:18:18.138: E/godot(3565): **ERROR**: Remote Debugger: Unable to connect. Status: 3.
05-22 12:18:18.138: E/godot(3565):    At: scene/debugger/script_debugger_remote.cpp:95:connect_to_host() - Remote Debugger: Unable to connect. Status: 3.
05-22 12:18:18.142: W/RegularContextFactory(3565): creating OpenGL ES 3.0 context :
05-22 12:18:18.142: D/OpScreenModeManager(3565): setRefreshRate parent android.widget.FrameLayout{1eecd3e V.E...... ......ID 0,0-1080,2400} parent width 1080 parent height 2400 mRatio 1.2
05-22 12:18:18.142: D/OpScreenModeManager(3565): setRefreshRate view org.godotengine.godot.GodotView{a3a3766 VFE...... .F....ID 0,0-1080,2400} viewRate 1 width 1080 height 2400
05-22 12:18:18.142: D/OpScreenModeManager(3565): setRefreshRate token android.os.BinderProxy@d12aa48 rate 1 mCurrentRate 0 tmpRate:2
05-22 12:18:18.143: D/OpScreenModeManager(3565): updateScenario fullScreen 1
05-22 12:18:18.144: I/godot(3565): Godot Engine v3.3.stable.mono.official - https://godotengine.org
05-22 12:18:18.145: D/OpScreenModeManager(3565): setRefreshRate parent android.widget.FrameLayout{1eecd3e V.E...... ........ 0,0-1080,2400} parent width 1080 parent height 2400 mRatio 1.2
05-22 12:18:18.145: D/OpScreenModeManager(3565): setRefreshRate view org.godotengine.godot.GodotView{a3a3766 VFE...... .F...... 0,0-1080,2400} viewRate 1 width 1080 height 2400
05-22 12:18:18.147: I/godot(3565): OpenGL ES 3.0 Renderer: Adreno (TM) 650
05-22 12:18:18.148: I/godot(3565): OpenGL ES Batching: ON
05-22 12:18:18.152: D/rototypev2.yee(3565): Successfully load libgui-plugin.so, this=0x7eb2d3e298
05-22 12:18:18.153: I/OpenGLRenderer(3565): Davey! duration=3118ms; Flags=1, IntendedVsync=1099855386294549, Vsync=1099855386294549, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=1099855386896685, AnimationStart=1099855387057414, PerformTraversalsStart=1099855387059758, DrawStart=1099858495493871, SyncQueued=1099858497834913, SyncStart=1099858498079757, IssueDrawCommandsStart=1099858498317257, SwapBuffers=1099858502634496, FrameCompleted=1099858504735902, DequeueBufferDuration=503333, QueueBufferDuration=1742031, GpuCompleted=0, 
05-22 12:18:18.153: I/309(3565): package:com.prototypev2.yeet took:3119 calssname:android.view.Choreographer$FrameHandler callback:null what:0
05-22 12:18:18.155: I/godot(3565):  
05-22 12:18:18.159: D/rototypev2.yee(3565): PlayerBase::PlayerBase()
05-22 12:18:18.159: D/rototypev2.yee(3565): TrackPlayerBase::TrackPlayerBase()
05-22 12:18:18.159: I/libOpenSLES(3565): Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
05-22 12:18:18.159: D/AudioTrack(3565): set(): streamType 3, sampleRate 44100, format 0x1, channelMask 0x3, frameCount 0, flags #104, notificationFrames -2, sessionId 92801, transferType 0, uid -1, pid -1
05-22 12:18:18.159: I/AudioTrack(3565): ull 2 ll!
05-22 12:18:18.168: D/AudioTrack(3565): createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1772
05-22 12:18:18.169: D/AudioTrack(3565): ClientUid 10356 AudioTrack::start 
05-22 12:18:18.219: E/godot(3565): **ERROR**: No library set for this platform
05-22 12:18:18.219: E/godot(3565):    At: modules/gdnative/gdnative.cpp:291:initialize() - No library set for this platform
05-22 12:18:18.239: W/rototypev2.yee(3565): Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (greylist, JNI, allowed)
05-22 12:18:18.239: W/rototypev2.yee(3565): Accessing hidden method Landroid/app/ActivityThread;->getApplication()Landroid/app/Application; (greylist, JNI, allowed)
05-22 12:18:18.239: I/godot(3565): Mono: Log file is: '/data/user/0/com.prototypev2.yeet/files/mono/mono_logs/2021-05-22_12.18.18_3565.log'
05-22 12:18:18.286: I/Choreographer(3565): Skipped 388 frames!  The application may be doing too much work on its main thread.
05-22 12:18:18.329: D/OpScreenModeManager(3565): setRefreshRate parent android.widget.FrameLayout{1eecd3e V.E...... ........ 0,0-1080,2400} parent width 1080 parent height 2400 mRatio 1.2
05-22 12:18:18.329: D/OpScreenModeManager(3565): setRefreshRate view org.godotengine.godot.GodotView{a3a3766 VFE...... .F...... 0,0-1080,2400} viewRate 1 width 1080 height 2400
05-22 12:18:18.337: D/DecorView(3565): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@b48eebb[GodotApp]
05-22 12:18:18.339: D/ViewRootImpl[GodotApp](3565): windowFocusChanged hasFocus=true inTouchMode=true
05-22 12:18:18.342: I/GodotInputHandler(3565): === New Input Device: gf_input
05-22 12:18:18.405: I/godot(3565): LocalNotification plugin inited
05-22 12:18:18.646: W/DisplayEventDispatcher(3565): dispatcher 0x7c624318f0 ~ ignoring unknown event type 0x6d746f6e
05-22 12:18:18.646: W/DisplayEventDispatcher(3565): dispatcher 0x7c123f3c30 ~ ignoring unknown event type 0x6d746f6e
05-22 12:18:20.706: I/godot(3565): False 0
05-22 12:18:20.710: I/godot(3565): THE END
05-22 12:18:23.515: I/godot(3565): False 0
05-22 12:18:25.009: I/godot(3565): False 0
05-22 12:18:26.517: I/godot(3565): False 0
05-22 12:18:28.024: I/godot(3565): False 0
05-22 12:18:33.539: I/godot(3565): False 0
05-22 12:18:35.048: I/godot(3565): False 0
05-22 12:18:36.537: I/godot(3565): False 0
05-22 12:18:38.046: I/godot(3565): False 0
05-22 12:18:39.537: I/godot(3565): False 0
05-22 12:18:41.044: I/godot(3565): False 0
05-22 12:18:42.535: I/godot(3565): False 0
05-22 12:18:44.043: I/godot(3565): False 0
05-22 12:18:45.535: I/godot(3565): False 0
05-22 12:18:48.881: I/godot(3565): False 0
05-22 12:18:50.389: I/godot(3565): False 0
05-22 12:18:51.878: I/godot(3565): False 0
05-22 12:18:53.386: I/godot(3565): False 0
05-22 12:18:54.875: I/godot(3565): False 0
05-22 12:18:56.385: I/godot(3565): False 0
05-22 12:18:57.876: I/godot(3565): False 0
05-22 12:18:59.384: I/godot(3565): False 0
05-22 12:19:00.874: I/godot(3565): False 0
05-22 12:19:02.384: I/godot(3565): False 0
05-22 12:19:03.873: I/godot(3565): False 0
05-22 12:19:05.381: I/godot(3565): False 0
05-22 12:19:06.888: I/godot(3565): False 0
05-22 12:19:08.378: I/godot(3565): False 0
05-22 12:19:10.300: I/godot(3565): False 0
05-22 12:19:11.808: I/godot(3565): False 0
05-22 12:19:13.298: I/godot(3565): True 0
05-22 12:19:14.806: I/godot(3565): True 1621678753
05-22 12:19:14.813: I/godot(3565): 30
05-22 12:19:14.813: I/godot(3565): WAITING TIME31.53
05-22 12:19:14.814: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: So, this was definitely harder than I thought., 31, 31
05-22 12:19:14.820: I/godot(3565): 31.5
05-22 12:19:14.820: I/godot(3565): WAITING TIME333
05-22 12:19:14.820: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: But I managed to navigate the narrow tunnel., 33, 33
05-22 12:19:14.822: I/godot(3565): 33
05-22 12:19:14.822: I/godot(3565): WAITING TIME34.53
05-22 12:19:14.823: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: Thought the submarine is a bit dinged up., 34, 34
05-22 12:19:14.825: I/godot(3565): 34.5
05-22 12:19:14.825: I/godot(3565): WAITING TIME363
05-22 12:19:14.825: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: However, it's still intact., 36, 36
05-22 12:19:14.827: I/godot(3565): 36
05-22 12:19:14.827: I/godot(3565): WAITING TIME37.53
05-22 12:19:14.827: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: So, yeah. I can see an open ocean here., 37, 37
05-22 12:19:14.829: I/godot(3565): 37.5
05-22 12:19:14.829: I/godot(3565): WAITING TIME393
05-22 12:19:14.829: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: It's very beautuful., 39, 39
05-22 12:19:14.831: I/godot(3565): 39
05-22 12:19:14.831: I/godot(3565): WAITING TIME40.53
05-22 12:19:14.831: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: I've never been so far outside. Err... underwater., 40, 40
05-22 12:19:14.833: I/godot(3565): 40.5
05-22 12:19:14.833: I/godot(3565): WAITING TIME423
05-22 12:19:14.833: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: Where should I go now?, 42, 42
05-22 12:19:16.296: I/godot(3565): True 1621678753
05-22 12:19:17.802: I/godot(3565): True 1621678753
05-22 12:19:19.293: I/godot(3565): True 1621678753
05-22 12:19:20.801: I/godot(3565): True 1621678753
05-22 12:19:22.308: I/godot(3565): True 1621678753
05-22 12:19:23.795: I/godot(3565): True 1621678753
05-22 12:19:25.305: I/godot(3565): True 1621678753
05-22 12:19:26.794: I/godot(3565): True 1621678753
05-22 12:19:28.304: I/godot(3565): True 1621678753
05-22 12:19:29.810: I/godot(3565): True 1621678753
05-22 12:19:31.301: I/godot(3565): True 1621678753
05-22 12:19:32.809: I/godot(3565): True 1621678753
05-22 12:19:34.300: I/godot(3565): True 1621678753
05-22 12:19:35.805: I/godot(3565): True 1621678753
05-22 12:19:37.297: I/godot(3565): True 1621678753
05-22 12:19:38.805: I/godot(3565): True 1621678753
05-22 12:19:40.295: I/godot(3565): True 1621678753
05-22 12:19:41.801: I/godot(3565): True 1621678753
05-22 12:19:43.292: I/godot(3565): True 1621678753
05-22 12:19:43.293: I/godot(3565): THIS IS THE TAG 31
05-22 12:19:43.299: I/godot(3565): THIS IS THE TAG 33
05-22 12:19:43.305: I/godot(3565): THIS IS THE TAG 34
05-22 12:19:43.309: I/godot(3565): THIS IS THE TAG 36
05-22 12:19:43.314: I/godot(3565): THIS IS THE TAG 37
05-22 12:19:43.317: I/godot(3565): THIS IS THE TAG 39
05-22 12:19:43.319: I/godot(3565): THIS IS THE TAG 40
05-22 12:19:43.322: I/godot(3565): THIS IS THE TAG 42
05-22 12:19:43.324: I/godot(3565): 30
05-22 12:19:43.324: I/godot(3565): WAITING TIME31.53
05-22 12:19:43.325: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: So, this was definitely harder than I thought., 31, 31
05-22 12:19:43.327: I/godot(3565): 31.5
05-22 12:19:43.327: I/godot(3565): WAITING TIME333
05-22 12:19:43.327: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: But I managed to navigate the narrow tunnel., 33, 33
05-22 12:19:43.328: I/godot(3565): 33
05-22 12:19:43.328: I/godot(3565): WAITING TIME34.53
05-22 12:19:43.329: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: Thought the submarine is a bit dinged up., 34, 34
05-22 12:19:43.330: I/godot(3565): 34.5
05-22 12:19:43.330: I/godot(3565): WAITING TIME363
05-22 12:19:43.330: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: However, it's still intact., 36, 36
05-22 12:19:43.331: I/godot(3565): 36
05-22 12:19:43.332: I/godot(3565): WAITING TIME37.53
05-22 12:19:43.332: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: So, yeah. I can see an open ocean here., 37, 37
05-22 12:19:43.333: I/godot(3565): 37.5
05-22 12:19:43.333: I/godot(3565): WAITING TIME393
05-22 12:19:43.333: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: It's very beautuful., 39, 39
05-22 12:19:43.334: I/godot(3565): 39
05-22 12:19:43.334: I/godot(3565): WAITING TIME40.53
05-22 12:19:43.335: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: I've never been so far outside. Err... underwater., 40, 40
05-22 12:19:43.336: I/godot(3565): 40.5
05-22 12:19:43.336: I/godot(3565): WAITING TIME423
05-22 12:19:43.336: D/ru.mobilap.localnotification.LocalNotification(3565): showLocalNotification: Where should I go now?, 42, 42
05-22 12:19:44.799: I/godot(3565): False 0
05-22 12:19:46.307: I/godot(3565): False 0
05-22 12:19:47.795: I/godot(3565): False 0
05-22 12:19:49.304: I/godot(3565): False 0
05-22 12:19:50.794: I/godot(3565): False 0
05-22 12:19:52.302: I/godot(3565): False 0
05-22 12:19:53.808: I/godot(3565): False 0
05-22 12:19:55.299: I/godot(3565): False 0
05-22 12:19:56.806: I/godot(3565): False 0
05-22 12:19:58.296: I/godot(3565): False 0
05-22 12:19:59.802: I/godot(3565): False 0
05-22 12:20:01.293: I/godot(3565): False 0
05-22 12:20:02.802: I/godot(3565): False 0
05-22 12:20:04.309: I/godot(3565): False 0
05-22 12:20:05.799: I/godot(3565): False 0
05-22 12:20:07.307: I/godot(3565): False 0
05-22 12:20:08.795: I/godot(3565): False 0
05-22 12:20:10.304: I/godot(3565): False 0
05-22 12:20:11.794: I/godot(3565): False 0
05-22 12:20:11.794: I/godot(3565): THE END
05-22 12:20:14.339: I/Notification(19533): Receive notification: So, this was definitely harder than I thought.
05-22 12:20:14.345: D/skia(19533): --- Failed to create image decoder with message 'unimplemented'
05-22 12:20:16.338: I/Notification(19533): Receive notification: But I managed to navigate the narrow tunnel.
05-22 12:20:16.341: D/skia(19533): --- Failed to create image decoder with message 'unimplemented'
05-22 12:20:17.339: I/Notification(19533): Receive notification: Thought the submarine is a bit dinged up.
05-22 12:20:17.342: D/skia(19533): --- Failed to create image decoder with message 'unimplemented'
05-22 12:20:19.345: I/Notification(19533): Receive notification: However, it's still intact.
05-22 12:20:19.350: D/skia(19533): --- Failed to create image decoder with message 'unimplemented'
05-22 12:20:20.338: I/Notification(19533): Receive notification: So, yeah. I can see an open ocean here.
05-22 12:20:20.341: D/skia(19533): --- Failed to create image decoder with message 'unimplemented'
05-22 12:20:22.346: I/Notification(19533): Receive notification: It's very beautuful.
05-22 12:20:22.349: D/skia(19533): --- Failed to create image decoder with message 'unimplemented'
05-22 12:20:23.343: I/Notification(19533): Receive notification: I've never been so far outside. Err... underwater.
05-22 12:20:23.347: D/skia(19533): --- Failed to create image decoder with message 'unimplemented'
05-22 12:20:25.345: I/Notification(19533): Receive notification: Where should I go now?
05-22 12:20:25.349: D/skia(19533): --- Failed to create image decoder with message 'unimplemented'

from godot-local-notification.

Menyten avatar Menyten commented on May 27, 2024

I see. Thank you very much! :)

from godot-local-notification.

Related Issues (20)

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.