Open irwing844 opened 3 years ago
use sqlite or sharedpreferences to keep your variables the plugin works fine, but this problem is caused by each manufacturer (huawei, xiaomi, etc) by freeing up memory, try this method if it works close this thread
First of all thanks for the plugin. Fantastic
Sometimes the process works and sometimes it doesn't. In the example code, it sometimes brings the value of main and sometimes takes -1 (When the variable is declared, this value is set by default)