Comments (8)
Important update!!
Everything's okay if you use Intel Mac. The issue reproduces only on M1 machines. Still need your help
from react-native-klarna-inapp-sdk.
Hi,
Same issue here.
@AwesomeAndrewMK , I am using an intel Mac and facing the same here.
Thanks
from react-native-klarna-inapp-sdk.
@akhilsanker I've found the solution for this case. But it would be better if the problem were fixed on the package side.
You can create a network security config XML file in your android project with the following code:
<network-security-config> <domain-config cleartextTrafficPermitted="true"> <domain includeSubdomains="true">127.0.0.1</domain> <domain includeSubdomains="true">10.0.0.1</domain> <domain includeSubdomains="true">localhost</domain> </domain-config> </network-security-config>
And do not forget to specify it in your AndroidManifest file android:networkSecurityConfig="@xml/network_security_config"
For detailed instructions, please check the official Android docs: https://developer.android.com/training/articles/security-config
Hope, it will help!
from react-native-klarna-inapp-sdk.
@AwesomeAndrewMK ,
Thanks for the reply.
I tried the workaround but it's not working.
Thanks
from react-native-klarna-inapp-sdk.
@AwesomeAndrewMK ,
Any update on this?
Thanks.
from react-native-klarna-inapp-sdk.
@akhilsanker It works from our side, so we're done with it. Nothing more, sorry!
from react-native-klarna-inapp-sdk.
I got another workaround from https://stackoverflow.com/questions/53984725/networksecurityconfig-no-network-security-config-specified-using-platform-defa.
Now its working.
Thanks for the support
from react-native-klarna-inapp-sdk.
Hi! We just released a new version (2.1.10) which includes the Android SDK with removed network security config. We hope that this could help resolve issues in your builds, if not please free to notify me here again and re-open the issue.
from react-native-klarna-inapp-sdk.
Related Issues (20)
- we should use another package name HOT 3
- "Command PhaseScriptExecution failed with a nonzero exit code" getting this error in iOS after integrating react native SDK. HOT 6
- CLEARTEXT communication to xxx not permitted by network security policy in Android HOT 9
- Not full content is rendered on Android. HOT 5
- Can't open the klarna's authorize popup in reactnative app for ios.
- React-native-klarna-inapp-sdk not working with latest react native version
- Android build fails HOT 6
- React Native On-site Messaging
- New Architecture support HOT 1
- KlarnaPaymentView not render after codepush or metro refresh on android
- Could not find com.klarna.mobile:sdk:2.4.1. HOT 1
- Installation fails with 1.0.9 HOT 6
- Could not find a declaration file for module 'react-native-klarna-inapp-sdk'. HOT 2
- > Task : react-native-klarna-inapp-sdk:compileReleaseJavaWithJavac FAILED HOT 5
- payments/v1/authorizations/${authToken}/order is showing PERMISSION_DENIED error
- KlarnaPaymentView "Bankkonto" won't render in android HOT 7
- Klarna WebView Not Properly rendering on Android HOT 8
- Android soft keyboard hides the input field in bottom screen HOT 3
- "Unable to load script from assets 'index.android.bundle'..." after integrating SDK using NPM or manual installation HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-klarna-inapp-sdk.