-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caused by: com.datatheorem.android.trustkit.config.ConfigurationException: Tried to pin an invalid domain: <mydomain.com> #90
Comments
mallikarjunch09
changed the title
Caused by: com.datatheorem.android.trustkit.config.ConfigurationException
Caused by: com.datatheorem.android.trustkit.config.ConfigurationException: Tried to pin an invalid domain: <mydomain.com>
Jun 9, 2021
Hello @mallikarjunch09 you should show your network_security_config.xml to have help. |
Hi @ben-j69 please check network_security_config.xml file
|
@mallikarjunch09 if you read your error and your file this si crystal clear, you have invalid domain names like "domain name goes here". Just fix your config file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi I'm getting below error while running my application.
2021-06-09 16:46:02.179 13796-13796/packagename E/AndroidRuntime: FATAL EXCEPTION: main
Process: packagename, PID: 13796
java.lang.RuntimeException: Unable to create application packagename.Application: com.datatheorem.android.trustkit.config.ConfigurationException: Tried to pin an invalid domain: <mydomain.com>
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6465)
at android.app.ActivityThread.access$1300(ActivityThread.java:219)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Caused by: com.datatheorem.android.trustkit.config.ConfigurationException: Tried to pin an invalid domain: <mydomain.com>
Android studio - 4.2.1
Android Gradle plugin verions - 4.2.1
Gradle version - 6.7.1
trustkit version - com.datatheorem.android.trustkit:trustkit:1.1.2
Could you please help me anybody ?
The text was updated successfully, but these errors were encountered: