vstirbu / InstagramPlugin

Instagram plugin for PhoneGap/Cordova
MIT License
120 stars 78 forks source link

Fix broken FileProvider paths. #119

Closed mepc36 closed 3 years ago

mepc36 commented 3 years ago

Per this Stack Overflow post here:

As of AndroidX (the repackaged Android Support Library), the path is androidx.core.content.FileProvider.
Android Support Libraries are now in the androidx.* package hierarchy. 
android.* is now reserved to the built-in Android System Libraries.

For proof of this in the Android documentation, please see this link here.

If these paths aren't fixed, I get these errors about incorrect import paths in AssetProvider.java and CDVInstagramPlugin.java:

Screen Shot 2021-02-12 at 3 36 50 PM
rodrigograca31 commented 3 years ago

done and published.

thanks for your contribution :heart:

mepc36 commented 3 years ago

No problem @rodrigograca31! Happy to help, you've got a really great project here so anything I can do to help out is appreciated on both sides, trust me!