{"_id":"react-native-appstate-hook","_rev":"9-96f40cf547227c3871bb89d27392b82a","name":"react-native-appstate-hook","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"react-native-appstate-hook","version":"1.0.0","keywords":["react","react-native","hook","component","hooks","appState","app","state","iOS","Android"],"author":{"name":"amrlabib"},"license":"ISC","_id":"react-native-appstate-hook@1.0.0","maintainers":[{"name":"amrlabib","email":"amr.h.labib@gmail.com"}],"homepage":"https://github.com/amrlabib/react-native-appstate-hook#readme","bugs":{"url":"https://github.com/amrlabib/react-native-appstate-hook/issues"},"dist":{"shasum":"ee9f05fd55d38aa9f5a45314d9967faf8ebc7107","tarball":"https://registry.npmjs.org/react-native-appstate-hook/-/react-native-appstate-hook-1.0.0.tgz","fileCount":3,"integrity":"sha512-2UGN842kfN7Vv+3XPOloFCWvLRV/PyxHhotd36jnGqETM62xeqd57Qo4Lh7cpZ9buw+56W87mxw/k7lunZTVKw==","signatures":[{"sig":"MEQCIHD5ZHsH908PqJuxLIDEG8GkPWShYxyDUZ1PL8a1NJw8AiAuEnxKIviwp01nj3UEfGt2opdr8vJvdz+CKMk8Xc4Hdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaJVbCRA9TVsSAnZWagAA0JYP/1IKZtdFcaV9DkpcYNmn\nudsuDMwO3B8CZXPWWMM5rW3G7ajVQFotR7V3qWq2IwEGJGJ4u9SNwIA8x8Oi\n2DFqiZCCaQgP/FqQyfJi7eecZXx+Yy6m2NokAgVeJ56O6LS49KbVJU5TlX6N\nqjOS892U2Bq3XYkj6mvAabyK7JE+XjemcWFNrdJNbgChaMjSqtXHQJgKZSs6\nl1SfNqBca4/PkBf0uxIjwxE5+b8USoZhuiDsD2jc2ZzrFL0M89++kgx5hHWH\nh0jwZ0UCtI4s16nDT9zeLpnVgrc+vH38dOwD+9+LeGc7zF5B8DZvp2KQVHCZ\n4k3uaJWKyeXUNuDThriFzkAKrlGeqrU4dFuHYoeSqGBtTlyYyuTBqfW5smIX\nn1Zg9lxNUFwqrJGFJXMpxizg7WgsxWVKkjZ6xTJXvcyywzy7Nm9ouS54s1Xj\nZBdzC/U30LmilQORAiWQtqswjEASQ6nw7lHhZ4ew2jW96iY31nSjwP3eRelj\nZUNtOJTxRBXkLdaIvmhPyr5JHj0818Cb2ZNIFBx+nz+XMKK1cxxZRoBTG0jq\nMGyBzbK8cCrTXmW/vksOjDJclxNhdEGJMLZYFBGVHlu6ysulzfroA77E613I\nGeDWMX9t5FO7po8jVqymwDanbyf5Qnz4uYt869oN11/MER+4+0x9qBha+Kaz\na9rL\r\n=4F5P\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"8a075438ab6137cae13931c24e11d1e39b3dbd32","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amrlabib","email":"amr.h.labib@gmail.com"},"repository":{"url":"git+https://github.com/amrlabib/react-native-appstate-hook.git","type":"git"},"_npmVersion":"6.4.1","description":"React Native appState hook","directories":{},"_nodeVersion":"8.12.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^16.8.0","react-native":"0.59.0-rc.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-appstate-hook_1.0.0_1550357850340_0.5390030695557908","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"react-native-appstate-hook","version":"1.0.1","keywords":["react","react-native","hook","component","hooks","appState","app","state","iOS","Android"],"author":{"name":"amrlabib"},"license":"ISC","_id":"react-native-appstate-hook@1.0.1","maintainers":[{"name":"amrlabib","email":"amr.h.labib@gmail.com"}],"homepage":"https://github.com/amrlabib/react-native-appstate-hook#readme","bugs":{"url":"https://github.com/amrlabib/react-native-appstate-hook/issues"},"dist":{"shasum":"d48e28adc4acb7f4b7a7195b01c4ce8346882bb3","tarball":"https://registry.npmjs.org/react-native-appstate-hook/-/react-native-appstate-hook-1.0.1.tgz","fileCount":3,"integrity":"sha512-rT8V3YN8kUFp88KqS3GBdev+BaDat/UQqUwn7poPDSsgGgwIteFPKW/xqvdJ8cLl/VYPsai9EuLXk5beqU5r+g==","signatures":[{"sig":"MEUCIBzDyG96XrRoNdSEHYgdawmAMEdkv3G+2YBeROKvsTxtAiEAzJVvQF7UGglPWHYuaOIXEMyfvtYpxp1Z00215+F+zWc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaJfRCRA9TVsSAnZWagAAQzAP/AiovTHQFAW4dMbGZ+YQ\nssHsU4muxYCsfBUdtFm9WTtNt8g5EkC8gK42hCFeNif+A+RL0EqrAJlei91v\n6rYmu8NnW14q3H6EyYcfpaEHSwPyy0UXn2SMbbeWm1cINvmp53x+bsTPeLEK\nnlVvuLv1ZdxU14WBozOxE+bV6hI+DsfsjMl/M2ML9yuXvaBrnzbTEio/MlTB\nwYtowXi5Vnc9XFlA5I3Y1xhs6OIzQZkXR/OihnQFhTtIHpwN9VYRv+n6cYdG\nrpFP8eFLffK/F+Lblq16VmfOC9whND87KyYKGczhxiMmRo07wMXrhde4OrTO\nDiMcyauje+8onbQmo9inGO6y1DGj0A6mk8RyPb+REB0ZyD5jPupnL0X5w80d\n+5X6K2tsuIh4yr4h9j6TXmwpzmZrEE0W2Yj+2xybAyQvGgZFd9MlJ0tvvYZa\ndrSQZqBqnUaz+kZ/wZfRWLaOSyMYelrgroIq9aSr58YdFGklWE0VbHr0aEKR\nqjXfbfbXnRkAzkvH2WJV9ZCKMA2AAfCTTvIzSdmOfkJy6rkY7/yL/Cxl3xJm\nZISU6AfSpDAoeRlgi6CTurvJRCPLxahOAmHeEeQ1yxY8VeUjBhOMmEAS1BgW\nY/beVvBKe3DV/Wd/tuP8dnS/YEqXg8zqUMqqZAhSigOoWo02rWYgzivpc8K5\nzOnT\r\n=r93j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"00f1f7a293ef3218fb666988751dfb99477482b5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amrlabib","email":"amr.h.labib@gmail.com"},"repository":{"url":"git+https://github.com/amrlabib/react-native-appstate-hook.git","type":"git"},"_npmVersion":"6.4.1","description":"React Native appState hook","directories":{},"_nodeVersion":"8.12.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^16.8.0","react-native":"0.59.0-rc.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-appstate-hook_1.0.1_1550358480939_0.9486045836777084","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"react-native-appstate-hook","version":"1.0.2","keywords":["react","react-native","hook","component","hooks","appState","app","state","iOS","Android"],"author":{"name":"amrlabib"},"license":"ISC","_id":"react-native-appstate-hook@1.0.2","maintainers":[{"name":"amrlabib","email":"amr.h.labib@gmail.com"}],"homepage":"https://github.com/amrlabib/react-native-appstate-hook#readme","bugs":{"url":"https://github.com/amrlabib/react-native-appstate-hook/issues"},"dist":{"shasum":"6053530c24e0603ecbf11260b578da9d2aee8bb1","tarball":"https://registry.npmjs.org/react-native-appstate-hook/-/react-native-appstate-hook-1.0.2.tgz","fileCount":5,"integrity":"sha512-W1W1xj8U4u97KVXLcYc/p//9y+KsIIeXF2Fz0UgTJlmWaHDKJ7QXo6Pq1nzwTaeYeXqpeqR62OncBaU1xjSYIg==","signatures":[{"sig":"MEUCIQCdRpWN20D1L30Yb0Tz7fpWx0Ypt4r/GDsBZ/4DOIIusQIgXFb6zdOR0TNUxOrUYXHo6U6o80DzQW3z2H0pGzv/0do=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7808,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2VnYCRA9TVsSAnZWagAAUfwP/RjJPPJiTvAPk8fu/Pq1\nGUgbD4nDfLU6HzZCxCd8UFw93z9iPTImHLo9CseZSzoyVkqq6IYkAuI09O+f\nkwNjkloXcHxmRSixCh8D8qWYDNm4goXbHUV+Y6PpvPYvvdAL8sBO7UJl0UwS\nDIDkdvi6WfhIMbk3JZiT8wyoOlL22H3sVf9kkw14f+M3VBOa6biPMQ4zsk4c\nnqPmhLg62VTcEWjs2wHHehd6SrieehSLTJI15jGusy9plghbp5je2j09B1kq\nXzfQ/uYOJ+h1TAKiYZs3B50GjmYCHLxmKtuttevmev2n4djsOpgzbOYBYLLo\nrxblfvp9tq3aq6QcKnpgQ2CEgwHUzU/t+LtvCds8G55Uz1epnfbv11m/a79n\nmY+ks/mevifvPL7aBUjnyGy6nkix2EgUdmO0PzratrLUAWbxGX3rVGS6B6jE\ny1+6Dwf7Kh3tiduqiVYOaJArXKR1jFi6eZgcTLOvO80SnCnCQTJeIBsovbMJ\nhe7nj7Wy93bhitLXAkEvuDsVWChkhhWzcxh1VUqVQkXY9TYG3gJIw1z5TlEE\npr8CqHzKHgTmdzVXWXd86C0DA8szzjRty2G7VfAsf/Vt0eLA6YrnHzek1CLH\nKLSs5EQ9rMX3nkEhPI8HvwHaIVIwqaT8+44CKjhH133Oav2BvOlY7MSaMBOz\nEANF\r\n=aK5C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"f9b5f2010833dec863405cc770be4b2195515132","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amrlabib","email":"amr.h.labib@gmail.com"},"repository":{"url":"git+https://github.com/amrlabib/react-native-appstate-hook.git","type":"git"},"_npmVersion":"6.4.1","description":"React Native appState hook","directories":{},"_nodeVersion":"8.12.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^16.8.0","react-native":"0.59.0-rc.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-appstate-hook_1.0.2_1574525400284_0.10919926422287585","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"react-native-appstate-hook","version":"1.0.3","keywords":["react","react-native","hook","component","hooks","appState","app","state","iOS","Android"],"author":{"name":"amrlabib"},"license":"ISC","_id":"react-native-appstate-hook@1.0.3","maintainers":[{"name":"amrlabib","email":"amr.h.labib@gmail.com"}],"homepage":"https://github.com/amrlabib/react-native-appstate-hook#readme","bugs":{"url":"https://github.com/amrlabib/react-native-appstate-hook/issues"},"dist":{"shasum":"4f4f86e63127e7b06e53ccc286ec9a6e545d9d59","tarball":"https://registry.npmjs.org/react-native-appstate-hook/-/react-native-appstate-hook-1.0.3.tgz","fileCount":6,"integrity":"sha512-iVoTUMnlJiU4DldhoEdE0uecr9AuC84tq+ftvfCYbZowirPTxlqAkvi/42sjlUDMFsG6BB8PoWci94qmz15w5Q==","signatures":[{"sig":"MEUCIEu97f1/wnADUEdDU+1Zlb5Y5Tg42egbveKgIDMitvVDAiEApLWKVjWpPOP40hWPctixaRoiEyp9PbP/GMpIa5n0lIQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEglQCRA9TVsSAnZWagAA8UYP/2e7BBQWg4cSIS60MFXZ\n3smJKd7/S8xLiAsH6tMmbxudPuZ202tiP3kkEhSG/E/2uaIFcsWUfn+tNLY0\n5pCmdbuFNxQTS2QYkv0xdZySP2/qh0G91Nx+uFvnzmtpFj8WdUX/BhdDrvZo\nWcN90QNhJdNmWJMVYiXAW5+yo9mxyfb0VMVhzfYOaW9dO+meUojeXNXYHSjw\nD0PUZAPrAoJ7dnJ74XunjrJUKGthUtGwc6bFh+RuHZ3rtWhNGyaVe+lQN4CH\nk22dmfpq4uupnOf3SrtoHVqBDulyDT5Mq19eCLPkwEbM0ZyO1zP8KcpQdxF3\niwlCjFthqGWfX40eUVu2t0dHhZLsJySyj7Im9vZ1fe0i17So29ZSmB2b4txq\nd03uIsbeEyGSH+onudNCs4GS9wQEADR4wTIZTPQhkF86B7GK52IbFSI9qAAo\nQgb+OVSSIScpVuQONFdNXsV7rIEaxrXcAMWgKmZItTsvGYKO1vicuRK3+DTC\nXsnIn7MepDcfdx5gp+cx6jlWtLH0NYfjSCux3S4yLY965znsM1+YwWwmAaDk\nqDavzOV6pbrJHAwjnNuhWVye82xZddp65dRM5rftYvYfCtNUfQhIWLRVMBK+\n917DYTUT6ElUfNyMnQHwXlt2DBK+BNDCSdpKq+2ypNcY1efOILs+6qXEOGw8\n3kcu\r\n=8K+4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"f974c40c9f0208777ca006cc0df2b23cad8dc271","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amrlabib","email":"amr.h.labib@gmail.com"},"repository":{"url":"git+https://github.com/amrlabib/react-native-appstate-hook.git","type":"git"},"_npmVersion":"6.4.1","description":"React Native appState hook","directories":{},"_nodeVersion":"8.12.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^16.8.0","react-native":"0.59.0-rc.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-appstate-hook_1.0.3_1578240336007_0.5236722707695423","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"react-native-appstate-hook","version":"1.0.4","keywords":["react","react-native","hook","component","hooks","appState","app","state","iOS","Android"],"author":{"name":"amrlabib"},"license":"ISC","_id":"react-native-appstate-hook@1.0.4","maintainers":[{"name":"amrlabib","email":"amr.h.labib@gmail.com"}],"homepage":"https://github.com/amrlabib/react-native-appstate-hook#readme","bugs":{"url":"https://github.com/amrlabib/react-native-appstate-hook/issues"},"dist":{"shasum":"2d0f0b58464f2fa2afa7c569f84cccf1b9f49da2","tarball":"https://registry.npmjs.org/react-native-appstate-hook/-/react-native-appstate-hook-1.0.4.tgz","fileCount":6,"integrity":"sha512-CBTKswnDovcSQdWEvjS69NZLgqIx6rONzL8+R7Kbp1NIDUBbJuow+RMCZD5mQC1xGRPwVpfCR/dK9C1oLo1sZg==","signatures":[{"sig":"MEYCIQD+ykCk7xBfBcYSTQNSGmBwbfrqAulEzW7Q3AiU5KDnLgIhANrxpbTzSw95ZoZCSw1q/8jRa4qvxyBIFNMdz45ivdSq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeq/1wCRA9TVsSAnZWagAAQ/kP/1bXjqo1oDFY8hUjJ9Pi\n2jcnfz+P8WbvP1uuxK7um1ah0pvp8VWpWcEpsOhb+Se/14qB/7n7itDHRzhx\nEpsSSZKhNSj9yyWuHMErVBGYOMbzplhOpqkV4C7qWRhAQ4fES2uBX09pk6ao\nfpbUiFv/p+t6MiKK+CN2O4BbXR9ZYO4lc6eIaIXnF26m4ZdRDutx5ZtI0P6A\nR2x0jFOcc0dhpowowqnlEJq4BcGgDue3h27AliGUNgcM9em/6wJqtMq6cSQU\nsu3/gSbTcS3AHzE4b6669a9S+b9+zz61J0CDrzld7PGlIO56ma+aJvUvqSqD\nnaayyFdwWesmmdO5Gmr7CSGukATwrLpfyKitbBWx6OzUmRzaAIngsShxOMsc\nTAIB5GdG+cTECqarG5/6iYichFpri4hFMlOKQ9WFefNuLHiih6DXF+2Ke9At\nqIPBEusX8Lqg2EQDsLmjYFUpSpBh6IPr4eYPcRtUyQUrumgmZVS3ys/75K8Q\nA3iNIgciBJeV03EsM0lMauCKyUhPY1wjZaN4t55zsSYsMEvcLhEaicdY8LCi\nPmA4T6k4kOhfF+2hpStu3J2KhBN9+nV0shIdwvFvJDQwb3TDhnCswlK+27oZ\nXF2Nd2OeshUWIFWLYGk+WgDZifl/ioEVdk2j2M62vwsPmIMLrzt02P5i+fCz\nLs9J\r\n=aiB9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"ac63705c6303aa8b5f862edfaf5d24a39ad63215","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amrlabib","email":"amr.h.labib@gmail.com"},"repository":{"url":"git+https://github.com/amrlabib/react-native-appstate-hook.git","type":"git"},"_npmVersion":"6.13.4","description":"React Native appState hook","directories":{},"_nodeVersion":"12.14.1","_hasShrinkwrap":false,"peerDependencies":{"react":"^16.8.0","react-native":"^0.59.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-appstate-hook_1.0.4_1588329840194_0.3885170739838848","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"react-native-appstate-hook","version":"1.0.5","keywords":["react","react-native","hook","component","hooks","appState","app","state","iOS","Android"],"author":{"name":"amrlabib"},"license":"ISC","_id":"react-native-appstate-hook@1.0.5","maintainers":[{"name":"amrlabib","email":"amr.h.labib@gmail.com"}],"homepage":"https://github.com/amrlabib/react-native-appstate-hook#readme","bugs":{"url":"https://github.com/amrlabib/react-native-appstate-hook/issues"},"dist":{"shasum":"2cb53bcee170ccd58e49d02d1649229fb263896d","tarball":"https://registry.npmjs.org/react-native-appstate-hook/-/react-native-appstate-hook-1.0.5.tgz","fileCount":6,"integrity":"sha512-vwt4ZrBvrxMIJuyzo5D8u/TvazxkJNX7AI6xKAh08LWMfLtIFstnuEzxwKN0joXLITS9NJbC6ayKxUFH2gLNrQ==","signatures":[{"sig":"MEUCIQDLnS3mKtre9FvaFpPwNBOn/t959eE4JWJviAjvVx+aGAIgcNyuFekerTGYdABjObqPkYjrmoT/9LXwQj/W0XNWfKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfySLOCRA9TVsSAnZWagAA3x8QAKO8F3K/rQfHlcTCKtFo\nffeV2+yaFK9PSKew8yyR4JEKY+RkjR765+qbR3+019aMAr2O4RUWe9IDNIJi\nnVF8XV5OsRWZO6KrlF4Q5JUSnD/bu5HP37pgbOso3n/a3/86jepdN0bHZpcy\naI2PpNgEqgLdGySt6IeutQKQVEk2MDBFHXFwrmwuNhWX1UHGCGC5z4+66AvB\n3/BjS5kQL7OaKbg+No8Ogf8qPOEcO7iQD4lCo9nu7VJtbSm9+2D+WkGvcIDb\nIRBbxv3GxmySOnrC+JTnf5n1x4Sv2lg1w/GaX5MLCZ8FiTxAb8TqJ0HMdow6\n7a43RDG4zuN77W2e85/TgG1bgH/5185A0kFuZYGnV0cLyF5nmpoxsU3sBNRE\nZ4YfqL1B/sNJZVKVPkDluGx95EGLz8dQDYH3VCjr/7yCcEep80OvX/wQYtra\n7Wov4cft8etDsBHHnbBXsFGfOCRrrwfwoFy87sRFCA5TmBZ0x2coRT/Jpqf3\nuB/l3XtAu1MKqdnXF5l8w9Xc1OfDu+BYYnpKpnBJJ2x4gTFoFiNGE+lZXrtC\nQloS+v6uCS5KtHZfloUKUGvVQLlKIaJKW4ffn1S9svCsB56LBu0bl7Sr7dwF\nNsqYE61L6KwPWa9sg1XylUul76n+Y/LqzaR9veY/NjdzS0eEg/ZxKVZdwyfe\no23q\r\n=WFxF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"83a6227bc445ef39b9bf944130eb19339a08856a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amrlabib","email":"amr.h.labib@gmail.com"},"repository":{"url":"git+https://github.com/amrlabib/react-native-appstate-hook.git","type":"git"},"_npmVersion":"6.13.4","description":"React Native appState hook","directories":{},"_nodeVersion":"12.14.1","_hasShrinkwrap":false,"peerDependencies":{"react":"^16.8.0","react-native":"^0.59.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-appstate-hook_1.0.5_1607017166498_0.26237068587880175","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"react-native-appstate-hook","version":"1.0.6","keywords":["react","react-native","hook","component","hooks","appState","app","state","iOS","Android"],"author":{"name":"amrlabib"},"license":"ISC","_id":"react-native-appstate-hook@1.0.6","maintainers":[{"name":"amrlabib","email":"amr.h.labib@gmail.com"}],"homepage":"https://github.com/amrlabib/react-native-appstate-hook#readme","bugs":{"url":"https://github.com/amrlabib/react-native-appstate-hook/issues"},"dist":{"shasum":"cbc16e7b89cfaea034cabd999f00e99053cabd06","tarball":"https://registry.npmjs.org/react-native-appstate-hook/-/react-native-appstate-hook-1.0.6.tgz","fileCount":6,"integrity":"sha512-0hPVyf5yLxCSVrrNEuGqN1ZnSSj3Ye2gZex0NtcK/AHYwMc0rXWFNZjBKOoZSouspqu3hXBbQ6NOUSTzrME1AQ==","signatures":[{"sig":"MEQCIHbUyfmVKka0RC4zN3/gZDTm2rnWmr2y7WL4inElGtLaAiAXGvwoHcDyQiLBKCm5lQv1qy756ZBcHF8HgMewrAGU9Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8238},"main":"dist/index.js","gitHead":"64ac32c2e7730332ad5ce2122e21b9eea62b28ba","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amrlabib","email":"amr.h.labib@gmail.com"},"repository":{"url":"git+https://github.com/amrlabib/react-native-appstate-hook.git","type":"git"},"_npmVersion":"6.13.4","description":"React Native appState hook","directories":{},"_nodeVersion":"12.14.1","_hasShrinkwrap":false,"peerDependencies":{"react":"^16.8.0","react-native":"^0.59.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-appstate-hook_1.0.6_1632208768761_0.9410450578030352","host":"s3://npm-registry-packages"}},"2.0.0":{"_id":"react-native-appstate-hook@2.0.0","bugs":{"url":"https://github.com/amrlabib/react-native-appstate-hook/issues"},"dist":{"shasum":"a31fad8228a2351692981347b2b8446a8aaa2c3a","tarball":"https://registry.npmjs.org/react-native-appstate-hook/-/react-native-appstate-hook-2.0.0.tgz","fileCount":5,"integrity":"sha512-d3l9/LXG4LNktmh9css3/Z7ugFOV/OYgnu6TUmwGmR158UjSNY/9tv9cdNf7AqPOaUssIP6zaVIFHHfpm0gV0A==","signatures":[{"sig":"MEQCIGCmXhboWT4nuZLEC0Ur1wisqNFUZPJUExBnyuqyK9OnAiA59zAq7RiMF6HUZ1lA9KVLhTV1bfo3qcDRYGBuLyTrfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGGBfRRkYSwfRlnE5rho7b+yuKJXeg02J+P0AISALIu1AiEA5muIv9gE45knSNACpQoiivMBtjbMbwteJCDGoyUd02U="}],"unpackedSize":7858},"main":"dist/index.js","name":"react-native-appstate-hook","types":"dist/index.d.ts","author":{"name":"amrlabib"},"gitHead":"53c54215c79db617e7bdc24efa84f1fc240ece24","license":"MIT","scripts":{"lint":"eslint .","test":"jest","build":"tsc -p tsconfig.build.json","prepack":"yarn build","prepare":"husky","typecheck":"tsc --noEmit"},"version":"2.0.0","_npmUser":{"name":"amrlabib","email":"amr.h.labib@gmail.com"},"homepage":"https://github.com/amrlabib/react-native-appstate-hook#readme","keywords":["react","react-native","hook","component","hooks","appState","app","state","iOS","Android"],"repository":{"url":"git+https://github.com/amrlabib/react-native-appstate-hook.git","type":"git"},"_npmVersion":"11.19.0","description":"React Native appState hook","directories":{},"maintainers":[{"name":"amrlabib","email":"amr.h.labib@gmail.com"}],"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","husky":"^9.1.7","react":"18.2.0","eslint":"^8.57.0","typescript":"~5.4.5","@types/jest":"^29.5.0","@types/react":"^18.2.0","react-native":"^0.74.0","react-test-renderer":"18.2.0","@typescript-eslint/parser":"^7.2.0","eslint-plugin-react-hooks":"^4.6.0","@testing-library/react-native":"^12.4.0","metro-react-native-babel-preset":"^0.77.0","@typescript-eslint/eslint-plugin":"^7.2.0"},"peerDependencies":{"react":">=16.8.0","react-native":">=0.65.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-appstate-hook_2.0.0_1791152813176_0.4878916151353161"}}},"time":{"created":"2019-02-16T22:57:30.340Z","modified":"2026-10-04T22:26:53.431Z","1.0.0":"2019-02-16T22:57:30.579Z","1.0.1":"2019-02-16T23:08:01.104Z","1.0.2":"2019-11-23T16:10:00.420Z","1.0.3":"2020-01-05T16:05:36.120Z","1.0.4":"2020-05-01T10:44:00.295Z","1.0.5":"2020-12-03T17:39:26.626Z","1.0.6":"2021-09-21T07:19:28.907Z","2.0.0":"2026-10-04T22:26:53.276Z"},"bugs":{"url":"https://github.com/amrlabib/react-native-appstate-hook/issues"},"author":{"name":"amrlabib"},"license":"MIT","homepage":"https://github.com/amrlabib/react-native-appstate-hook#readme","keywords":["react","react-native","hook","component","hooks","appState","app","state","iOS","Android"],"repository":{"url":"git+https://github.com/amrlabib/react-native-appstate-hook.git","type":"git"},"description":"React Native appState hook","maintainers":[{"name":"amrlabib","email":"amr.h.labib@gmail.com"}],"readme":"# react-native-appstate-hook\n\nA small React hook around React Native's [`AppState`](https://reactnative.dev/docs/appstate) API — know when your app goes to the foreground or background, and react to memory warnings and window focus changes, without wiring up `AppState.addEventListener`.\n\n## Installation\n\n```sh\nnpm install react-native-appstate-hook\n# or\nyarn add react-native-appstate-hook\n```\n\n## Usage\n\n```jsx\nimport React from 'react';\nimport { Text, View } from 'react-native';\nimport useAppState from 'react-native-appstate-hook';\n\nexport default function App() {\n  const { appState } = useAppState({\n    onChange: (newAppState) => console.log('App state changed to', newAppState),\n    onForeground: () => console.log('App came to the foreground'),\n    onBackground: () => console.log('App went to the background'),\n    onMemoryWarning: () => console.log('App received a memory warning'),\n    onFocus: () => console.log('App window gained focus (Android only)'),\n    onBlur: () => console.log('App window lost focus (Android only)'),\n  });\n\n  return (\n    <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>\n      <Text>App state is: {appState}</Text>\n    </View>\n  );\n}\n```\n\nAll settings are optional — pass only the callbacks you need.\n\n## API\n\n### Settings\n\n`useAppState` takes a single, optional settings object:\n\n| Key | Type | Description |\n| --- | --- | --- |\n| `onChange` | `(appState: AppStateStatus) => void` | Called on every app state transition, with the new state. |\n| `onForeground` | `() => void` | Called when the app transitions into the `active` state. |\n| `onBackground` | `() => void` | Called when the app leaves the `active` state for `inactive` or `background`. |\n| `onMemoryWarning` | `() => void` | **iOS only.** Called when the OS reports a low-memory warning. This is a point-in-time signal, not a state the app stays in — it can fire while the app is active or backgrounded. |\n| `onFocus` | `() => void` | **Android only.** Called when the app's window gains OS input focus. |\n| `onBlur` | `() => void` | **Android only.** Called when the app's window loses OS input focus — e.g. a system dialog or another app (split-screen/multi-window) is shown over it — *without* the app actually backgrounding. |\n\n\n### Return value\n\n| Key | Type | Description |\n| --- | --- | --- |\n| `appState` | `AppStateStatus` | The current app state: `active`, `background`, or `inactive` (iOS only). |\n\n\n## License\n\nMIT\n","readmeFilename":"README.md"}