breautek commented on issue #306: URL: https://github.com/apache/cordova-plugin-file-transfer/issues/306#issuecomment-1339498879
> what can be the possible reason that My react code is running on emulator but the apk is not running on mobile devices. what is the easiest way to debug issues on mobile devices. You can enable USB debugging. I have a [blog post](https://breautek.com/articles/debugging-cordova-apps.html) that describes how. On Android, assuming that the system webview is chromium based, you can use the Desktop chrome to remote debug the mobile webview, including application webviews, which gives you the same web inspector capabilities to debug the mobile webview. This particular issue is because the current release of this plugin is old and deprecated. I'm not going to go into the full story here but there have been a decision to revive this plugin but that's still a work in progress. The current release of tihs plugin depends on code that has been removed in the current android platform version. As a stopgap measure, you can install the development version of this plugin but this is **not** considered stable and it could break at any time. Additonally, there are CI tests that are failing, which is the primarily reason why we haven't made a formal release yet. So some features may not work properly. So this is a warning to **use at your own risk**. If you choose to try the development version, I'd recommend at least using the commit pin to avoid unexpected changes. ``` cordova plugin add https://github.com/apache/cordova-plugin-file-transfer.git#7ba6fa3755605bca6bfeef2c2a808a1f22c6848c ``` As for the cleartext behaviour, this is becoming out of topic, but a solution can be found at https://github.com/apache/cordova-plugin-file-transfer/issues/306#issuecomment-1337040068 I'm locking this thread for respect of the original poster. This thread isn't really the place for support questions, especially when they become out of topic. If you require further support, I'd suggest to ask a question on our [Discussions](https://github.com/apache/cordova/discussions) board, feel free to link to this issue for context, if relevant. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
