Closed EndLess728 closed 3 years ago
_I followed this guide and fixed metro issue too but it is just a hack and it breaks hot refresh and debugging ._ I need a proper fix for this SDK, please fix it asap because my project is getting delayed due to this issue.
Hi @EndLess728, we will investigate the issue and update her once we have an ETA.
Hi @EndLess728, we tried to reproduce the issue in our repository and also using the repository you kindly shared with us. Without applying the fix you mentioned for the metro server issue and by following these steps, we could not reproduce the issue and the test application started successfully:
1- npm install 2- npx react-native run-android -> Metro server started + bundling/downloading the application. 3- Application started successfully on the emulator.
If you are still facing the same issue, please stop the running instance of the metro server and start it manually by "react-native start" command, then try to reload the application.
We will close this issue, please reopen it if you still need assistance.
@omarbh,
Still facing the same issue. My environment details is as follows:
"react": "17.0.2",
"react-native": "0.66.2",
"react-native-klarna-inapp-sdk": "^2.1.0",
Android: 12 (API 31)
Is there anything I am missing?
Thanks
Hi @akhilsanker, can you provide more details and logs about the issue you are having, possibly fill out the template we have for reporting issues. The issue reported here was with a version that is really old at this point and if you are facing the same thing but not able to overcome that with the solution presented here, we may have to create a new ticket with the additional information you provide in the template.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
I fix this error by following this https://github.com/klarna/react-native-klarna-inapp-sdk#warning-regarding-android-integration
But after that metro server does not run. Project Builds successfully but metro server do not run .
_I followed this guide and fixed metro issue too but it is just a hack and it breaks hot refresh and debugging ._
Expected behavior It should run with metro server .
Here is the example code you can check it also for reproducing same error:- https://github.com/EndLess728/klarna-demo-
Screenshots
Device and version: