I'm totally new on React Native and I'm struggling to create an app that shows a temporary message(2-3 sec) every time I pass the lock screen(by PIN or Finger Print). How to approach it? Any suggestion can be helpful.
Asked
Active
Viewed 1,046 times
2
-
Not exactly a good fit for ReactNative- it has no UI component and requires deep integration with the phone. You'd be better off doing it in pure java, you're almost certain to need a custom Java module in the end anyway. For the Java way see http://stackoverflow.com/questions/3446202/android-detect-phone-unlock-event-not-screen-on, you'd need to translate that to react native somehow. – Gabe Sechan Mar 12 '17 at 08:10
-
Using Toast in react-native is very simple.. If you want to use it in `ioS and Android` then you can use package `react-native-simple-toast`, or if you want to use it only on `Android` then there is a default Api from facebook `ToastAndroid`. – Neel Gala Mar 12 '17 at 08:13
1 Answers
0
You can use react-native-easy-toast npm library to handle this issue. popping up message as toast. Easy toast

Zeed Tanue
- 91
- 5
- 24