emit init event

This commit is contained in:
Dmitry Novotochinov 2019-01-11 21:02:16 +03:00
parent 7c0feb912c
commit 11ae795703
No known key found for this signature in database
GPG Key ID: 43D1DAF5AD39C927
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ public class SmartCard extends BroadcastReceiver implements CardListener {
this.reactContext = reactContext;
this.nfcAdapter = NfcAdapter.getDefaultAdapter(activity.getBaseContext());
this.eventEmitter = new EventEmitter(reactContext);
eventEmitter.emit("keyCardDidInit", null);
}
public String getName() {