Commit Graph

62 Commits

Author SHA1 Message Date
Marc Shilling
7300b637c4
Update react-native-idle-timer.podspec for tvos support (#37) 2024-05-08 10:10:14 -04:00
Marc Shilling
fb1fc5189d 2.2.2 2024-03-08 13:12:31 -05:00
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
Marc Shilling
82e707ee80 2.2.1 2023-04-05 11:20:05 -04:00
Marc Shilling
bbe53cb2e1 fix types 2023-04-05 11:19:23 -04:00
Marc Shilling
3b9cc5d076 2.2.0 2023-02-26 14:36:46 -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
Marc Shilling
9763ef8aa8 2.1.7 2021-09-16 14:08:50 -04:00
Marc Shilling
03ec800b63 finishing touches 2021-09-16 14:06:56 -04:00
Marc Shilling
944a3881de mimic the gradle setup from react-native-builder-bob 2021-09-07 15:38:37 -04:00
Rokas Kašinskas
8587876d68
fix: xcode 12 compatibility (#24) 2020-09-29 11:26:52 -04:00
Brian Webb
bccdc5d0f5 Added license type to package.json (#21) 2019-12-30 17:21:55 -05:00
CaptainJeff
ad262e3887 Update README.md (#19) 2019-07-15 13:50:30 -04:00
Marc Shilling
a0f0c118b0 2.1.6 2019-06-11 19:51:10 -04:00
Anna Doubkova
903eb79541 Add module annotation (#18) 2019-06-11 19:45:19 -04:00
Karim Kouznetsov
90d835d82a Updated build.gradle (#17)
- Updated compileSdkVersion, targetSdkVersion and buildToolsVersion default values to the latest available
- Replaced compile with implementation, as compile is now obsolete.
2019-04-18 09:34:18 -04:00
Marc Shilling
5eadd9d9be 2.1.5 2018-09-13 10:29:19 -04:00
Danilo Bürger
228e09159c Added typescript definitions (#15) 2018-09-13 09:43:30 -04:00
Danilo Bürger
e12edb04e5 Support React Native 0.56 (#14) 2018-08-24 10:49:49 -04:00
Johan Blomgren
ea3ed77269 UPDATES UI method should be called on main thread (#13) 2018-04-14 11:19:02 -04:00
Marc Shilling
4ab60f019e
Merge pull request #12 from Timeular/fix-rn-from-node-modules
Use react-native version for node_modules
2018-03-21 12:20:22 -04:00
Radek Czemerys
7f69950b60
Use react-native version for node_modules 2018-03-21 17:17:07 +01:00
Marc Shilling
c9e7ea6645 2.1.4 2017-09-11 17:51:28 -04:00
Marc Shilling
7e0f7ba758 Merge pull request #9 from negativetwelve/mark/android/0.47-compatibility
[Android] Remove deprecated override on createJSModules method
2017-08-10 11:19:58 -04:00
Marc Shilling
37a731ba03 Merge pull request #8 from negativetwelve/mark/readme/cleanup
[Readme] Fix formatting of code blocks and sections on the readme
2017-08-10 11:19:50 -04:00
Mark Miyashita
83c9520393
Remove deprecated override on createJSModules method 2017-08-09 18:07:37 -07:00
Mark Miyashita
dfc14173a1
Fix formatting of code blocks and sections on the readme 2017-08-09 18:03:57 -07:00
Marc Shilling
ff4c510a2b Merge pull request #7 from oblador/patch-1
Fix homepage value in podspec for cocoapods 1.0+
2017-02-15 09:42:23 -05:00
Joel Arvidsson
d554018888 Fix homepage value in podspec for cocoapods 1.0+ 2017-02-12 00:27:01 +01:00
Marc Shilling
4112fe88f9 Update README.md 2017-01-25 19:40:06 -05:00
Marc Shilling
f485796dce 2.1.3 2017-01-25 19:38:34 -05:00
Marc Shilling
9effdf3bc3 Merge pull request #6 from ghinwallc/0.40-upgrade
Change react-native headers for 0.40 compatibility
2017-01-25 19:38:11 -05:00
Alfonso
ae19c10992 Change react-native headers for 0.40 compatibility 2017-01-25 18:43:03 +02:00
Marc Shilling
2449c35dfb 2.1.2 2016-11-28 11:12:21 -05:00
Marc Shilling
cbc9c6a01f remove xcuserdata 2016-11-28 11:12:13 -05:00
Marc Shilling
7c4adea52d Merge pull request #4 from negativetwelve/ios/deployment-target
[iOS] Set deployment target to iOS 8.0 + add gitignore
2016-11-28 08:09:59 -08:00
Mark Miyashita
4275dc0b6b Set iOS deployment target to 8.0 to match react-native 2016-10-22 14:32:15 -07:00
Mark Miyashita
5deea44a34 Add standard react-native gitignore for js, ios, and android projects 2016-10-22 14:31:21 -07:00
Marc Shilling
f100ef12c4 Update README.md
removing the extra semicolon because @blackneck was confused
2016-10-13 10:21:07 -04:00
Marc Shilling
ef620987ba 2.1.1 2016-09-06 09:50:03 -04:00
Marc Shilling
8c0b759a2f Merge pull request #2 from greis/cocoapods
Add podspec file
2016-07-11 15:24:50 -04:00
Gabriel Reis
82208e2b10 Add podspec file 2016-07-07 14:17:02 -04:00
Marc Shilling
a94a28e1f5 Update README.md 2016-05-19 11:22:48 -04:00
Marc Shilling
0faa80fda7 v2.1.0 2016-05-19 11:22:25 -04:00
Julien Deniau
4ff93cbeb2 add doc to configure with rnpm 2016-05-19 11:29:02 +02:00
Julien Deniau
d2470a949c Use es6-style loader and avoid using "NativeModules" 2016-05-19 11:27:30 +02:00
Marc Shilling
a7d75699e8 Merge branch 'master' of github.com:marcshilling/react-native-idle-timer 2016-04-21 18:31:40 -04:00
Marc Shilling
a380167aef remove build folder 2016-04-21 18:31:34 -04:00
Marc Shilling
078b32b4eb Update README.md 2016-04-21 16:23:07 -04:00
Marc Shilling
b28ba46404 Update README.md 2016-04-21 16:22:11 -04:00