It is better to have a distinct name for the plugin's activity layout. When two or more cordova plugins save their activity layout under the same name (for example classic activity_main.xml filename) they overwrite each other's layouts when android platform is being added and at least one of them stops working as a result.
Also, the plugin crashes when it's Activity gets destroyed by the OS (due to lack of RAM on the device). This commit should fix both bugs.
Hi! Found another couple of Android bugs.
It is better to have a distinct name for the plugin's activity layout. When two or more cordova plugins save their activity layout under the same name (for example classic activity_main.xml filename) they overwrite each other's layouts when android platform is being added and at least one of them stops working as a result.
Also, the plugin crashes when it's Activity gets destroyed by the OS (due to lack of RAM on the device). This commit should fix both bugs.