We are creating an application that process a clover transaction using Intents.ACTION_CLOVER_PAY, when our app goes to background and clover UI is showed, we get next warning on Logcat on our application:
ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_COMPLETE) received by JS VM, running a GC
that means:
The system is running low on memory and your process is one of the first to be killed if the system does not recover memory now. You should release absolutely everything that's not critical to resuming your app state
if we do many thing on Clover UI then return to our application, the application is restarted because the app was killed, because of that we cannot capture on Activity for result,
Note:
We are using Clover station Pro, happens on real device, When I run that on emulator works fine.
We are using React Native , the payments part is done using Native android.
Thanks.