ZoneMinder / zmNinja

High performance, cross platform ionic app for Home/Commerical Security Surveillance using ZoneMinder

Home Page:http://zmninja.zoneminder.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No notification option on Android 13

eekay35 opened this issue · comments

The version of zmNinja you are reporting:
1.7.001

The version and OS of ZoneMinder you are using:
1.34.26 Ubuntu 22.04.4

Platform zmNinja is running on
Android 13

Did you build the package from source code yourself?
No

Describe the bug
Downloaded the latest release of zmNinja from the Google Play Store to replace the old zmNinja-pro. Notifications no longer work via the event server. I'm not sure if this is due to changes needed with the event server (if I reopen the old pro app, they work again), but there isn't even an option to enable or configure notifications at all. Notifications just simply seem to be missing completely.

Debug logs

Nov 17, 2023 05:19:04:350 PM INFO Login data not changed, not saving
Nov 17, 2023 05:18:58:647 PM INFO Login data not changed, not saving
Nov 17, 2023 05:18:58:644 PM DEBUG Does login need to hear the wizard? false
Nov 17, 2023 05:18:57:648 PM INFO --------->Setting up global key handler...
Nov 17, 2023 05:18:57:646 PM INFO --------->Setting up network state handlers....
Nov 17, 2023 05:18:55:276 PM DEBUG current version: 1.7.001 & available version 1.6.009
Nov 17, 2023 05:18:55:092 PM DEBUG EventServer: ok to send message
Nov 17, 2023 05:18:55:092 PM DEBUG EventServer: sendMessage: received->{"event":"push","data":{"type":"token","platform":"android","token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr","state":"enabled","appversion":"1.7.001"},"token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr"}
Nov 17, 2023 05:18:55:092 PM DEBUG EventServer: Sending pending messages, as auth confirmation received
Nov 17, 2023 05:18:55:092 PM DEBUG EventServer: Real-time event: {"status":"Success","reason":"","version":"6.1.12","type":"","event":"auth"}
Nov 17, 2023 05:18:55:004 PM DEBUG Timezone API response is:America/Denver
Nov 17, 2023 05:18:55:004 PM DEBUG CACHE: cached value for key:cached_timezone is good as 747 <86400
Nov 17, 2023 05:18:55:003 PM DEBUG CACHE: found for key: cached_timezone with expiry of:86400s
Nov 17, 2023 05:18:54:994 PM INFO Login screen going to background, saving data
Nov 17, 2023 05:18:54:982 PM INFO ERROR: push: Permission not granted for push
Nov 17, 2023 05:18:54:980 PM DEBUG EventServer: Connection not yet authenticated, adding message to queue
Nov 17, 2023 05:18:54:980 PM DEBUG EventServer: sendMessage: received->{"event":"push","data":{"type":"token","platform":"android","token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr","state":"enabled","appversion":"1.7.001"},"token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr"}
Nov 17, 2023 05:18:54:980 PM DEBUG EventServer: openHandShake: state of push is enabled
Nov 17, 2023 05:18:54:979 PM DEBUG EventServer: ok to send message
Nov 17, 2023 05:18:54:979 PM DEBUG EventServer: sendMessage: received->{"event":"auth","data":{"user":"user",<password removed>,"monlist":"1,2,3,6,7","intlist":"30,120,120,120,120","appversion":"1.7.001"},"token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr"}
Nov 17, 2023 05:18:54:979 PM INFO EventServer: openHandshake: Websocket open, sending Auth
Nov 17, 2023 05:18:54:978 PM DEBUG EventServer: WebSocket open called with:{"webSocketId":"9056f796-d8ba-46fe-927e-ab39abadd705","code":101}
Nov 17, 2023 05:18:54:972 PM DEBUG Real value of PRIVACY is:0
Nov 17, 2023 05:18:54:924 PM DEBUG Does login need to hear the wizard? 
Nov 17, 2023 05:18:54:878 PM DEBUG push: setting up onMessageReceived...
Nov 17, 2023 05:18:54:877 PM DEBUG push: got token:enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr
Nov 17, 2023 05:18:54:876 PM DEBUG push: Channel created: zmninja
Nov 17, 2023 05:18:54:866 PM DEBUG Transitioning state to: app.login with param {}
Nov 17, 2023 05:18:54:854 PM INFO EventServer: Setting up push registration
Nov 17, 2023 05:18:54:854 PM DEBUG Calling pushInit()
Nov 17, 2023 05:18:54:854 PM DEBUG EventServer: Using native websockets...
Nov 17, 2023 05:18:54:854 PM INFO EventServer: Initializing Websocket with URL wss://cam.purplehat.org:9000
Nov 17, 2023 05:18:54:854 PM INFO First invocation of TimeZone, asking server
Nov 17, 2023 05:18:54:853 PM INFO Got API version: 1.34.26
Nov 17, 2023 05:18:54:852 PM DEBUG getAPI version succeeded with 1.34.26
Nov 17, 2023 05:18:54:852 PM DEBUG Setting server version to:1.34.26
Nov 17, 2023 05:18:54:852 PM DEBUG obfuscate: original:5979 obfuscated:1703 scheme:lzs
Nov 17, 2023 05:18:54:848 PM DEBUG snapshot  supported in image.php
Nov 17, 2023 05:18:54:848 PM DEBUG CACHE: cached value for key:cached_api_version is good as 746 <86400
Nov 17, 2023 05:18:54:846 PM DEBUG CACHE: found for key: cached_api_version with expiry of:86400s
Nov 17, 2023 05:18:54:825 PM DEBUG getAPIversion called with https://cam.purplehat.org/zm/api/host/getVersion.json?&token=<removed>
Nov 17, 2023 05:18:54:824 PM DEBUG PortalLogin: auth success
Nov 17, 2023 05:18:54:821 PM DEBUG auth-success broadcast:Successful
Nov 17, 2023 05:18:54:819 PM INFO ----> Setting token re-login after 6000 seconds
Nov 17, 2023 05:18:54:819 PM INFO Access token still has 100 minutes left, using it
Nov 17, 2023 05:18:54:819 PM INFO Detected token login supported
Nov 17, 2023 05:18:54:819 PM DEBUG Resetting zmCookie...
Nov 17, 2023 05:18:54:819 PM DEBUG No need for re-captcha checks with tokens
Nov 17, 2023 05:18:54:818 PM DEBUG Inside _doLogin()
Nov 17, 2023 05:18:54:818 PM INFO No need for logout!
Nov 17, 2023 05:18:54:808 PM INFO No need to do a reachability test, as there are no fallbacks
Nov 17, 2023 05:18:54:808 PM INFO reached end of chain loop
Nov 17, 2023 05:18:54:808 PM INFO Fallback of cam.purplehat.org is 
Nov 17, 2023 05:18:54:808 PM INFO Adding to chain stack: cam.purplehat.org>https://cam.purplehat.org/zm
Nov 17, 2023 05:18:54:807 PM DEBUG _doLogoutAndLogin: Clearing cookies
Nov 17, 2023 05:18:54:801 PM DEBUG auth-success broadcast:Successful
Nov 17, 2023 05:18:54:799 PM INFO ----> Setting token re-login after 6000 seconds
Nov 17, 2023 05:18:54:799 PM INFO Access token still has 100 minutes left, using it
Nov 17, 2023 05:18:54:797 PM INFO Detected token login supported
Nov 17, 2023 05:18:54:797 PM DEBUG Resetting zmCookie...
Nov 17, 2023 05:18:54:797 PM DEBUG No need for re-captcha checks with tokens
Nov 17, 2023 05:18:54:797 PM DEBUG Inside _doLogin()
Nov 17, 2023 05:18:54:796 PM DEBUG ------> Not starting login timer for token. We will start a one time timer when we know how soon the access token will live
Nov 17, 2023 05:18:54:796 PM INFO Cancelling zmAutologin timer
Nov 17, 2023 05:18:54:796 PM DEBUG PIN code entered is correct, or there is no PIN set
Nov 17, 2023 05:18:54:796 PM DEBUG unlock called with check PIN=true
Nov 17, 2023 05:18:54:795 PM INFO not checking for touchID
Nov 17, 2023 05:18:54:795 PM INFO User credentials are provided
Nov 17, 2023 05:18:54:795 PM DEBUG Inside Portal login Enter handler
Nov 17, 2023 05:18:54:738 PM INFO Entering Portal Main
Nov 17, 2023 05:18:54:687 PM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Nov 17, 2023 05:18:54:684 PM INFO Inside init-complete in app.js: All init over, going to portal login
Nov 17, 2023 05:18:54:683 PM INFO >>> Android: enabling inline image view for self signed certs
Nov 17, 2023 05:18:54:682 PM INFO >>>> Disabling strict SSL checking (turn off  in Dev Options if you can't connect)
Nov 17, 2023 05:18:54:682 PM DEBUG Setting cordova header X-ZmNinja to zmNinja_1.7.001
Nov 17, 2023 05:18:54:682 PM INFO NVR init retrieved store loginData, marking init as complete
Nov 17, 2023 05:18:54:682 PM INFO Setting NVR init bandwidth to: highbw
Nov 17, 2023 05:18:54:679 PM DEBUG deobfuscate: before:1703 after:5979 scheme:lzs
Nov 17, 2023 05:18:54:676 PM INFO user profile encrypted, decoding...
Nov 17, 2023 05:18:54:670 PM DEBUG Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 17, 2023 05:18:54:670 PM INFO Setting up pause and resume handler AFTER language is loaded...
Nov 17, 2023 05:18:54:655 PM INFO Checking for new version updates...
Nov 17, 2023 05:18:54:652 PM INFO ZMData init: checking for stored variables & setting up log file
Nov 17, 2023 05:18:54:652 PM INFO Language file loaded, continuing with rest
Nov 17, 2023 05:18:54:651 PM DEBUG last state=app.login param=[object Object]
Nov 17, 2023 05:18:54:650 PM DEBUG isFirstUse returned: false
Nov 17, 2023 05:18:54:650 PM INFO >>>>Language to be used:en
Nov 17, 2023 05:18:54:649 PM INFO Device Language is:en
Nov 17, 2023 05:18:54:648 PM INFO No language set, switching to en
Nov 17, 2023 05:18:54:648 PM INFO App Version: 1.7.001
Nov 17, 2023 05:18:54:647 PM INFO Retrieving language before init is called...
Nov 17, 2023 05:18:54:643 PM INFO Updating statusbar
Nov 17, 2023 05:18:54:642 PM INFO >>>>No data to import....
Nov 17, 2023 05:18:54:640 PM INFO Cloudsync operation complete, continuing...
Nov 17, 2023 05:18:54:640 PM INFO local data synced with cloud...
Nov 17, 2023 05:18:54:620 PM INFO Found valid local configuration, overwriting cloud settings...
Nov 17, 2023 05:18:54:620 PM DEBUG deobfuscate: before:1703 after:5979 scheme:lzs
Nov 17, 2023 05:18:54:618 PM INFO user profile encrypted, decoding...
Nov 17, 2023 05:18:54:617 PM INFO CloudSync: Syncing with cloud if enabled...
Nov 17, 2023 05:18:54:617 PM INFO localforage driver:asyncStorage
Nov 17, 2023 05:18:54:616 PM DEBUG configureStorageDB:test get/set worked, this driver is ok...
Nov 17, 2023 05:18:54:614 PM DEBUG resize/orient: 412(w) * 806(h)
Nov 17, 2023 05:18:54:600 PM DEBUG configureStorageDB:Making sure this storage driver works...
Nov 17, 2023 05:18:54:599 PM INFO configureStorageDB:localforage driver for storage:asyncStorage
Nov 17, 2023 05:18:54:581 PM DEBUG configureStorageDB: trying order:["asyncStorage","localStorageWrapper"]
Nov 17, 2023 05:18:54:581 PM DEBUG Inside configureStorageDB
Nov 17, 2023 05:18:54:580 PM INFO You are running on android
Nov 17, 2023 05:18:54:580 PM DEBUG UA is mozilla/5.0 (linux; android 13; sm-s908u1 build/tp1a.220624.014; wv) applewebkit/537.36 (khtml, like gecko) version/4.0 chrome/119.0.6045.66 mobile safari/537.36
Nov 17, 2023 05:18:54:580 PM INFO setting size
Nov 17, 2023 05:18:54:580 PM INFO Device is ready
Nov 17, 2023 05:18:54:578 PM INFO ******* app .run device ready
Nov 17, 2023 05:06:46:993 PM INFO Login screen going to background, saving data
Nov 17, 2023 05:06:31:357 PM INFO --------->Setting up global key handler...
Nov 17, 2023 05:06:31:353 PM INFO --------->Setting up network state handlers....
Nov 17, 2023 05:06:29:013 PM DEBUG current version: 1.7.001 & available version 1.6.009
Nov 17, 2023 05:06:28:922 PM DEBUG EventServer: ok to send message
Nov 17, 2023 05:06:28:922 PM DEBUG EventServer: sendMessage: received->{"event":"push","data":{"type":"token","platform":"android","token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr","state":"enabled","appversion":"1.7.001"},"token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr"}
Nov 17, 2023 05:06:28:922 PM DEBUG EventServer: Sending pending messages, as auth confirmation received
Nov 17, 2023 05:06:28:922 PM DEBUG EventServer: Real-time event: {"status":"Success","event":"auth","version":"6.1.12","type":"","reason":""}
Nov 17, 2023 05:06:28:828 PM DEBUG Timezone API response is:America/Denver
Nov 17, 2023 05:06:28:813 PM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Nov 17, 2023 05:06:28:813 PM DEBUG HTTP function in cache returned:object
Nov 17, 2023 05:06:28:804 PM INFO ERROR: push: Permission not granted for push
Nov 17, 2023 05:06:28:802 PM DEBUG EventServer: Connection not yet authenticated, adding message to queue
Nov 17, 2023 05:06:28:802 PM DEBUG EventServer: sendMessage: received->{"event":"push","data":{"type":"token","platform":"android","token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr","state":"enabled","appversion":"1.7.001"},"token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr"}
Nov 17, 2023 05:06:28:802 PM DEBUG EventServer: openHandShake: state of push is enabled
Nov 17, 2023 05:06:28:801 PM DEBUG EventServer: ok to send message
Nov 17, 2023 05:06:28:800 PM DEBUG EventServer: sendMessage: received->{"event":"auth","data":{"user":"user",<password removed>,"monlist":"1,2,3,6,7","intlist":"30,120,120,120,120","appversion":"1.7.001"},"token":"enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr"}
Nov 17, 2023 05:06:28:800 PM INFO EventServer: openHandshake: Websocket open, sending Auth
Nov 17, 2023 05:06:28:800 PM DEBUG EventServer: WebSocket open called with:{"webSocketId":"031db121-0f08-49d9-a669-60a5fa0b21f1","code":101}
Nov 17, 2023 05:06:28:785 PM INFO Login screen going to background, saving data
Nov 17, 2023 05:06:28:782 PM DEBUG CACHE: NOT found for:cached_timezone reverting to HTTP
Nov 17, 2023 05:06:28:740 PM DEBUG Does login need to hear the wizard? 
Nov 17, 2023 05:06:28:709 PM DEBUG Real value of PRIVACY is:0
Nov 17, 2023 05:06:28:696 PM DEBUG push: setting up onMessageReceived...
Nov 17, 2023 05:06:28:696 PM DEBUG push: got token:enzUPDOhQYqsLSs6L-J4sZ:APA91bHbXhCCiuScfK8wkvzRHIEVShmE32lj2gbmZswP-zMywO9TU3wnziTH_9kX8WLY7O-zt2ywB0QiZH-sWcUs_4vE4eXXO8rBa_owYx31sRou3qt7a5XPDvYYo6PAvftP9hDXaExr
Nov 17, 2023 05:06:28:691 PM DEBUG push: Channel created: zmninja
Nov 17, 2023 05:06:28:685 PM DEBUG Transitioning state to: app.login with param {}
Nov 17, 2023 05:06:28:671 PM INFO EventServer: Setting up push registration
Nov 17, 2023 05:06:28:671 PM DEBUG Calling pushInit()
Nov 17, 2023 05:06:28:671 PM DEBUG EventServer: Using native websockets...
Nov 17, 2023 05:06:28:671 PM INFO EventServer: Initializing Websocket with URL wss://cam.purplehat.org:9000
Nov 17, 2023 05:06:28:670 PM INFO First invocation of TimeZone, asking server
Nov 17, 2023 05:06:28:670 PM INFO Got API version: 1.34.26
Nov 17, 2023 05:06:28:669 PM DEBUG getAPI version succeeded with 1.34.26
Nov 17, 2023 05:06:28:669 PM DEBUG Setting server version to:1.34.26
Nov 17, 2023 05:06:28:669 PM DEBUG obfuscate: original:5979 obfuscated:1703 scheme:lzs
Nov 17, 2023 05:06:28:663 PM DEBUG snapshot  supported in image.php
Nov 17, 2023 05:06:28:656 PM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Nov 17, 2023 05:06:28:656 PM DEBUG HTTP function in cache returned:object
Nov 17, 2023 05:06:28:576 PM DEBUG CACHE: NOT found for:cached_api_version reverting to HTTP
Nov 17, 2023 05:06:28:566 PM DEBUG getAPIversion called with https://cam.purplehat.org/zm/api/host/getVersion.json?&token=<removed>
Nov 17, 2023 05:06:28:565 PM DEBUG PortalLogin: auth success
Nov 17, 2023 05:06:28:556 PM DEBUG auth-success broadcast:Successful
Nov 17, 2023 05:06:28:555 PM INFO ----> Setting token re-login after 6720 seconds
Nov 17, 2023 05:06:28:555 PM INFO Access token still has 112 minutes left, using it
Nov 17, 2023 05:06:28:555 PM INFO Detected token login supported
Nov 17, 2023 05:06:28:555 PM DEBUG Resetting zmCookie...
Nov 17, 2023 05:06:28:555 PM DEBUG No need for re-captcha checks with tokens
Nov 17, 2023 05:06:28:554 PM DEBUG Inside _doLogin()
Nov 17, 2023 05:06:28:554 PM INFO No need for logout!
Nov 17, 2023 05:06:28:550 PM INFO No need to do a reachability test, as there are no fallbacks
Nov 17, 2023 05:06:28:549 PM INFO reached end of chain loop
Nov 17, 2023 05:06:28:549 PM INFO Fallback of cam.purplehat.org is 
Nov 17, 2023 05:06:28:549 PM INFO Adding to chain stack: cam.purplehat.org>https://cam.purplehat.org/zm
Nov 17, 2023 05:06:28:549 PM DEBUG _doLogoutAndLogin: Clearing cookies
Nov 17, 2023 05:06:28:541 PM DEBUG auth-success broadcast:Successful
Nov 17, 2023 05:06:28:538 PM INFO ----> Setting token re-login after 6720 seconds
Nov 17, 2023 05:06:28:538 PM INFO Access token still has 112 minutes left, using it
Nov 17, 2023 05:06:28:536 PM INFO Detected token login supported
Nov 17, 2023 05:06:28:535 PM DEBUG Resetting zmCookie...
Nov 17, 2023 05:06:28:535 PM DEBUG No need for re-captcha checks with tokens
Nov 17, 2023 05:06:28:535 PM DEBUG Inside _doLogin()
Nov 17, 2023 05:06:28:534 PM DEBUG ------> Not starting login timer for token. We will start a one time timer when we know how soon the access token will live
Nov 17, 2023 05:06:28:534 PM INFO Cancelling zmAutologin timer
Nov 17, 2023 05:06:28:534 PM DEBUG PIN code entered is correct, or there is no PIN set
Nov 17, 2023 05:06:28:534 PM DEBUG unlock called with check PIN=true
Nov 17, 2023 05:06:28:533 PM INFO not checking for touchID
Nov 17, 2023 05:06:28:533 PM INFO User credentials are provided
Nov 17, 2023 05:06:28:533 PM DEBUG Inside Portal login Enter handler
Nov 17, 2023 05:06:28:474 PM INFO Entering Portal Main
Nov 17, 2023 05:06:28:448 PM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Nov 17, 2023 05:06:28:429 PM INFO Inside init-complete in app.js: All init over, going to portal login
Nov 17, 2023 05:06:28:426 PM INFO >>> Android: enabling inline image view for self signed certs
Nov 17, 2023 05:06:28:422 PM INFO >>>> Disabling strict SSL checking (turn off  in Dev Options if you can't connect)
Nov 17, 2023 05:06:28:422 PM DEBUG Setting cordova header X-ZmNinja to zmNinja_1.7.001
Nov 17, 2023 05:06:28:421 PM INFO NVR init retrieved store loginData, marking init as complete
Nov 17, 2023 05:06:28:421 PM INFO Setting NVR init bandwidth to: highbw
Nov 17, 2023 05:06:28:417 PM DEBUG deobfuscate: before:1703 after:5979 scheme:lzs
Nov 17, 2023 05:06:28:415 PM INFO user profile encrypted, decoding...
Nov 17, 2023 05:06:28:404 PM DEBUG Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 17, 2023 05:06:28:404 PM INFO Setting up pause and resume handler AFTER language is loaded...
Nov 17, 2023 05:06:28:387 PM INFO Checking for new version updates...
Nov 17, 2023 05:06:28:385 PM INFO ZMData init: checking for stored variables & setting up log file
Nov 17, 2023 05:06:28:385 PM INFO Language file loaded, continuing with rest
Nov 17, 2023 05:06:28:385 PM DEBUG last state=app.login param=[object Object]
Nov 17, 2023 05:06:28:385 PM DEBUG isFirstUse returned: false
Nov 17, 2023 05:06:28:384 PM INFO >>>>Language to be used:en
Nov 17, 2023 05:06:28:384 PM INFO Device Language is:en
Nov 17, 2023 05:06:28:383 PM INFO No language set, switching to en
Nov 17, 2023 05:06:28:383 PM INFO App Version: 1.7.001
Nov 17, 2023 05:06:28:382 PM INFO Retrieving language before init is called...
Nov 17, 2023 05:06:28:379 PM INFO Updating statusbar
Nov 17, 2023 05:06:28:379 PM INFO >>>>No data to import....
Nov 17, 2023 05:06:28:378 PM INFO Cloudsync operation complete, continuing...
Nov 17, 2023 05:06:28:377 PM INFO local data synced with cloud...
Nov 17, 2023 05:06:28:358 PM INFO Found valid local configuration, overwriting cloud settings...
Nov 17, 2023 05:06:28:357 PM DEBUG deobfuscate: before:1703 after:5979 scheme:lzs
Nov 17, 2023 05:06:28:355 PM INFO user profile encrypted, decoding...
Nov 17, 2023 05:06:28:354 PM INFO CloudSync: Syncing with cloud if enabled...
Nov 17, 2023 05:06:28:354 PM INFO localforage driver:asyncStorage
Nov 17, 2023 05:06:28:354 PM DEBUG configureStorageDB:test get/set worked, this driver is ok...
Nov 17, 2023 05:06:28:348 PM INFO Deleting old log file as it exceeds 100000 bytes
Nov 17, 2023 05:06:28:341 PM DEBUG resize/orient: 412(w) * 806(h)
Nov 17, 2023 05:06:28:333 PM DEBUG configureStorageDB:Making sure this storage driver works...
Nov 17, 2023 05:06:28:332 PM INFO configureStorageDB:localforage driver for storage:asyncStorage
Nov 17, 2023 05:06:28:301 PM DEBUG configureStorageDB: trying order:["asyncStorage","localStorageWrapper"]
Nov 17, 2023 05:06:28:300 PM DEBUG Inside configureStorageDB
Nov 17, 2023 05:06:28:300 PM INFO You are running on android
Nov 17, 2023 05:06:28:300 PM DEBUG UA is mozilla/5.0 (linux; android 13; sm-s908u1 build/tp1a.220624.014; wv) applewebkit/537.36 (khtml, like gecko) version/4.0 chrome/119.0.6045.66 mobile safari/537.36
Nov 17, 2023 05:06:28:300 PM INFO setting size
Nov 17, 2023 05:06:28:299 PM INFO Device is ready ```

**Additional context**
If there is anything else I can provide, please let me know. Also, if there is new documentation for the event server changes for the new version that might be causing this, I'll give it a shot. I looked around but I seem to be current. 

I'm running Android 13 (With the 5th Sept 2023 security patch) on a One Plus 11 5G and have exactly the same problem as described. The rest of the app (1.7.001) appears to work well but there is no option to enable notifications.

If you look at the app info screen it shows notifications as "deny" with no option to allow them (see attached).

As @eekay35 has found, going back to ZMNinja-Pro (1.6.009) gives the option for notifications as expected.

Screenshot_2023-11-20-21-06-36-59_8142442b4340f41fb3bd44535ad8f76b

Screenshot_2023-11-20-21-06-33-83_fc704e6b13c4fb26bf5e411f75da84f2

Thanks for the detailed report. We are investigating and hope to have a fix soon.

A release with the fix has been submitted to the play store and will be available as soon as google approves it. On Android 13, 1.7.002 will request post notification permissions when the app starts.