javascript - React native app crashes on slow Android devices when scheduling over 200 local notifications -
i scheduling on 200 notifications on android application in simple loop using this package.
when doing so, emulators , high-end devices don't crash, low-end devices crash on release mode, leaving no trace of error except "unfortunately, %appname% has stopped.".
for (let = 0; < 200; i++) { pushnotification.localnotificationschedule(event); }
i tried adding throttle loop settimeout
, ease load on processor app keeps crashing. after crash 100 notifications have been scheduled, of them, none , doesn't crash.
Comments
Post a Comment