Capacitor App running only for the first time

94
April 25, 2022, at 00:10 AM

The first time I install my capacitor app on a device the app works correctly. But if I close my app, and open again the app don’t work anymore and get stuck on the white screen forever.The app also works fine in debug mode.

If I put debug point anywhere in the listener I get the output and even when I run the app for the first timeI get the output but from the second time if I run the app I get clank screen.

I am using TransferListner in my plugin and added plugin to capacitor app. This listener is not firing the second time and time after that.I have this problem on Android. I have tried so many solutions like adding permissions in manifest file,invalidate cache/restart, clean and rebuild..etc but still having same problem.

Can anyone suggest or help me resolve this issue.

Rent Charter Buses Company
READ ALSO
Is there a way to know which carrier locked the android phone using ADB

Is there a way to know which carrier locked the android phone using ADB

How to get a name of a carrier that locked the android device using adb commandsI've tried with these commands so far

83
Flutter deep links not working from browser

Flutter deep links not working from browser

I made changes in Android manifes as suggested here: https://docsflutter

100
How to correctly return api response when using retrofit in android?

How to correctly return api response when using retrofit in android?

I am trying to make an app using mvvm design and in the repository class I am calling my api using retrofitI am getting correct response from my api and I want to return that response but while returning the data from my method the data value is null

95