You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently implemented the SDK into our React Native mobile app.
So basically we require the user to do a specific action on our app so the SDK is initialized with its proper login information, then he can unlock its doors.
Everything is working properly so far, but the doors won't unlock if the app is killed.
Is this the expected behaviour ? Or am I missing something important to make it work when the app is killed ?
The text was updated successfully, but these errors were encountered:
pnogier
changed the title
SDK usage when app is closed
[QUESTION] SDK usage when app is closed
Jul 8, 2024
Hmm, no, that doesn't look like the expected behaviour. If we're talking about Android SDK then it's based on the Host Card Emulation facilities provided by the Android OS. Basically, any time you touch an NFC reader with your smartphone, the OS is supposed to wake up / cold start the app, spin up an instance of a class that extends HostApduService, and then the OS starts feeding incoming data packages to this service.
So it shouldn't matter if the app is killed or not, as the OS is supposed to resurrect it each time there is an incoming NFC connection.
You said that the user has to do a specific action on your app so the SDK is initialized with its proper login information - are they supposed to do that each time they open the app? Or do you sign in them once, store the login data in the local cache, and then reuse that login for all subsequent unlocks?
Hi there,
We recently implemented the SDK into our React Native mobile app.
So basically we require the user to do a specific action on our app so the SDK is initialized with its proper login information, then he can unlock its doors.
Everything is working properly so far, but the doors won't unlock if the app is killed.
Is this the expected behaviour ? Or am I missing something important to make it work when the app is killed ?
The text was updated successfully, but these errors were encountered: