GithubHelp home page GithubHelp logo

Comments (8)

AwesomeAndrewMK avatar AwesomeAndrewMK commented on May 31, 2024

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.

akhilsanker avatar akhilsanker commented on May 31, 2024

Hi,

Same issue here.
@AwesomeAndrewMK , I am using an intel Mac and facing the same here.

Thanks

from react-native-klarna-inapp-sdk.

AwesomeAndrewMK avatar AwesomeAndrewMK commented on May 31, 2024

@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.

akhilsanker avatar akhilsanker commented on May 31, 2024

@AwesomeAndrewMK ,
Thanks for the reply.
I tried the workaround but it's not working.

Thanks

from react-native-klarna-inapp-sdk.

akhilsanker avatar akhilsanker commented on May 31, 2024

@AwesomeAndrewMK ,
Any update on this?

Thanks.

from react-native-klarna-inapp-sdk.

AwesomeAndrewMK avatar AwesomeAndrewMK commented on May 31, 2024

@akhilsanker It works from our side, so we're done with it. Nothing more, sorry!

from react-native-klarna-inapp-sdk.

akhilsanker avatar akhilsanker commented on May 31, 2024

@AwesomeAndrewMK ,

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.

NMGuner avatar NMGuner commented on May 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.