We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7cffdd commit 3d6254bCopy full SHA for 3d6254b
2 files changed
index.js
@@ -110,7 +110,7 @@ export default class Countdown extends PureComponent {
110
};
111
112
handleAppState = nextAppState => {
113
- if (nextAppState === 'inactive') {
+ if (nextAppState === 'background') {
114
this.recodTime = new Date();
115
this.clearTimer();
116
} else if (nextAppState === 'active') {
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "rn-countdown",
3
- "version": "0.3.1",
+ "version": "0.3.2",
4
"description": "A smart countdown component for react-native apps. You may use it to handle different status when request a verification code.",
5
"main": "index.js",
6
"scripts": {
0 commit comments