Free-RASP-Flutter
Free-RASP-Flutter copied to clipboard
feat: Rerun checks when coming from background
I have added free-rasp at the entry point of our app. When app is open for the first time, all call-backs coming from andoirdCallbacks are working.
But then, I will press back button from android device, the app is closed, and when I will open the app again (without clearing app from Recent menu) then call-backs are not working. If I remove app from Recent menu, and then open the app again then it is working again.
Technically, if app is open at any point of time, call-backs should work.
Using freerasp 3.0.1 version.
Hello @meetp-interpay,
freeRASP runs the initial checks immediately after the app was started. However, after that, the checks are run periodically, which means that you might want to wait for a couple of minutes before you see the threats being detected. This applies also for your described use case.
Please, try to leave the app running for up to 10 minutes after you bring it back from background. The checks should start to fail.
Don't forget to let us know if this solved the problem.
Best,
Tomas, Talsec developer
Hello @tompsota ,
Thanks for your response.
Just wanted to know, does this will be the same behaviour for commercial version (Business RASP+, AppiCrypt) or is this only in freeRASP ?
Hello @meetp-interpay,
you will not encounter this issue in the commercial version of our libraries. There are additional API options that enable the wrapper to update all checks when the application lifecycle changes. Unfortunately, this is not possible in freeRASP at the moment. We will look at this issue in freeRASP as well in the near future.
Best regards,
Tomas, Talsec developer
Okay, that will be fine.
Thanks