ZoneMinder / zmNinja

High performance, cross platform ionic app for Home/Commerical Security Surveillance using ZoneMinder
http://zmninja.zoneminder.com
Other
1.01k stars 268 forks source link

Incorrect os in tokens.txt for ios version #943

Closed stevaedrum closed 4 years ago

stevaedrum commented 4 years ago

ZmNija version 1.4.005 IOs on ipad Air2 ipados 13.4.1

fedora core 31 with zoneminder 1.34.11

I have detected a bug when i activate the notification server, the tokens.txt file have the OS type false with my Ipad. The type is android normally ios !!, and i don’t have notifications.

If i change manually android with ios inside the tokens.txt file notifications is ok.

it’s working correctly on android phone.

thanks in advance for your support.

welcome[bot] commented 4 years ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you follow the issue template or I may not respond.

pliablepixels commented 4 years ago

I don't see the issue. I just cleared tokens.txt and registered my iOS device (iPad pro) with push I see:

fi8R<deleted>U-:1,2,5,6,7,8,9,10:0,120,120,120,0,120,120,0:ios:enabled

Please share debug logs from zmninja and zmeventnotification.log

stale[bot] commented 4 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.