File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
android/src/main/java/so/onekey/app/wallet/lite Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,12 @@ class OKLiteManager(private val context: ReactApplicationContext) :
5252 private var mCurrentCardState: CardState ? = null
5353
5454 private val mActivityEventListener = object : BaseActivityEventListener () {
55- override fun onNewIntent (intent : Intent ? ) {
55+ override fun onNewIntent (intent : Intent ) {
5656 super .onNewIntent(intent)
57- val action = intent?.action
57+ val action = intent.action
58+ if (action == null ) {
59+ return
60+ }
5861 if ((action == NfcAdapter .ACTION_NDEF_DISCOVERED )
5962 || action == NfcAdapter .ACTION_TECH_DISCOVERED
6063 || action == NfcAdapter .ACTION_TAG_DISCOVERED
Original file line number Diff line number Diff line change 11{
22 "name" : " @onekeyfe/react-native-lite-card" ,
3- "version" : " 1.0.14 " ,
3+ "version" : " 1.0.15 " ,
44 "description" : " lite card" ,
55 "main" : " lib/commonjs/index" ,
66 "module" : " lib/module/index" ,
You can’t perform that action at this time.
0 commit comments