Commit Graph

9 Commits

Author SHA1 Message Date
heath-clink
e34ac0d1f9
fix for android crash (#35)
* fix for android crash

For some reason, a recent commit removed the check for a null return
from `getCurrentActivity()`. But since `getCurrentActivity()` might return
null, the app will crash with a NullPointerException.

This restores the null check.

It also fixes inconsistent handling of null `tag` argument in both
iOS and Android. This does not affect usage from JS because the JS
interface will not pass null to that argument; however other native
code could still call these methods and pass null for `tag`.

* remove unnecessary parens

---------

Co-authored-by: Marc Shilling <marcshilling@gmail.com>
2024-03-08 13:10:30 -05:00
ATNASGDWNGTH
bc344737a1
feat: tag every call to disable the idle timer and expose static method for non react-native usage (#31)
add support for tagging calls and native code usage

---------

Co-authored-by: Marc Shilling <marcshilling@gmail.com>
2023-02-26 14:35:24 -05:00
Johan Blomgren
ea3ed77269 UPDATES UI method should be called on main thread (#13) 2018-04-14 11:19:02 -04:00
Alfonso
ae19c10992 Change react-native headers for 0.40 compatibility 2017-01-25 18:43:03 +02:00
Marc Shilling
cbc9c6a01f remove xcuserdata 2016-11-28 11:12:13 -05:00
Mark Miyashita
4275dc0b6b Set iOS deployment target to 8.0 to match react-native 2016-10-22 14:32:15 -07:00
Marc Shilling
a380167aef remove build folder 2016-04-21 18:31:34 -04:00
Marc Shilling
e3ba28eec1 fixing ios paths 2016-04-21 15:55:50 -04:00
Marc Shilling
e34dfec679 lets see if this works 2016-04-21 15:48:10 -04:00