Comments (5)
Hi @itcurves
this error probably isn't caused by react-native-background-timer
component.
You are probably using react-native-masked-text component and there is no us-phone
type allowed. Allowed types are listed in docs. Maybe you should use cel-phone
type.
Please, correct me if I'm wrong and paste here a full error log.
Thanks.
from react-native-background-timer.
Yes, this is a purpose of this component.
If you find some error, feel free to create issue.
from react-native-background-timer.
Sorry it was totally my bad I wrote that component on other PC and forgot to copy that us-phone file to my new directory.
Thank you and I really appreciate your quick reply.
one thing I want to clear:
this timer component will work even phone locked correct?
from react-native-background-timer.
sorry one more question. I am pretty new in RN , what if I only want to bind it for iOS not in case of android?
from react-native-background-timer.
Sorry @itcurves, but this is really not question about this component. For questions like this you can use e.g. stackoverflow.
Briefly, you could use it only in index.ios.js
how Hello World tutorial shows. Or you can read documentation about Platform Specific Code.
from react-native-background-timer.
Related Issues (20)
- setTimeout only triggers when app is in foreground HOT 1
- Background Timer not working in React-Native 0.65.1 HOT 4
- run 2 or more instances of background timer at the same time HOT 2
- Warning appears: new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method HOT 9
- Jest: Invariant Violation: `new NativeEventEmitter()` requires a non-null argument. HOT 18
- Background task creates the risk of termination HOT 6
- Can I read and write files?
- The timer works perfectly fine in iOS simulator but not on hardware device HOT 3
- BackgroundTimer stops when app goes to background after Few Sec in IOS React Native IOS HOT 18
- runBackgroundTimer doesn't work on RN 66.3 - Tested on Android HOT 5
- Background service is not working if Background data usage disabled. HOT 1
- Using react-native-background-timer with react-native-web HOT 1
- Terminating app due to uncaught exception NSInternalInconsistencyException HOT 1
- how to get clipboard content on background service
- Testing background timer with useFakeTimers in Jest HOT 4
- Background Action and Graphql HOT 2
- the task is dying out HOT 8
- background task dosen't work when device is in sleep mode. HOT 7
- Is this repo still alive? HOT 5
- BackgroundTimer.clearTimeout does not stop ongoing background task
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-background-timer.