question

kapilk avatar image
kapilk asked

Application is restarted by Critical memory usage using Intents.ACTION_CLOVER_PAY.

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.

Clover Android SDKClover StationClover Station 2018
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community