Hello Guys,
i am new to ionic and was figuring out a way to run a piece of code in my app even after users kills it just like Avg antivirus. i tried background mode plugin from katzer it works but when users kills it from memory the app stops. Do i have to write my whole app in native code in android studio ?
any suggeestions or workaround is greatly appreciated
So you will not be able to run Typescript/Javascript Code after the App was killed. This Code only runs within your WebView and this gets killed when app is. So to perform this you need to build a own native Plugin, which handles a Foreground Service and includes the Code that you want to run in Background.
Thanks a lot any guide that would help me building plugin is greatly appreciated