107
Views
2
Comments
Solved
[SSL Pinning Plugin] Error when generating APK for mobile app using the SSL Pinning Plugin
Question
ssl-pinning-plugin
Mobile icon
Forge asset by OutSystems

Hi,

I want to use the SSL pinning plugin in a mobile application. I have used version 3.0.1 for OS10. I have followed the instructions in the blog post for setting up and using the component. When I try to generate the Adndriod apk in debug mode I get the following error in the Android generation log:  "Failed to install 'cordova-outsystems-sslpinning': TypeError: Path must be a string. Received undefined".

Has anyone faced this issue?

Regards,
Alfio

UserImage.jpg
Vitor Oliveira
Staff
Solution

Hi Alfio, 


Looking to the error, it seems to be an issue with the configuration of your resource with pinning keys.
Can you check if your configurations are similar to the screenshot in the attachment?


Thanks, 

Vitor


2019-05-02 11-42-50
Alfio Esposito

Hi Vitor,

Thank you very much for your help. I overlooked that I had given the resource file the wrong extension (.json.txt instead of .json).

Regards,
Alfio

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.