Comments (6)
+1 Has anyone been able to get this working in iOS9? It works perfectly in 8.4. Any help would be much appreciated. Thanks.
from instagramplugin.
It should work. iOS 9 changed how custom URLs are handled: you need to explicitly white list custom URLs e.g. instagram://
for this plugin to work
You can modify your *-Info.plist
file in /platforms/ios
, but that's a generated file. Alternatively, I think you can make a custom plugin which generates the correct values in the .plist file
See link
Edit: the property you need to modify is LSApplicationQueriesSchemes
btw
from instagramplugin.
We can handle this from within this plugin by adding a config-file element in the iOS section of the plugin.xml.
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>key</key>
<string>value</string>
</dict>
</array>
</config-file>
We just need the relevant key and value. Also parent value needs to be confirmed.
from instagramplugin.
Oh right :P
This works for me:
<platform name="ios">
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>instagram</string>
</array>
</config-file>
</platform>
from instagramplugin.
However, previous values in LSApplicationQueriesSchemes
should not be overwritten. Not sure how to do that.
from instagramplugin.
Looking at plugman source code, and it seems that when the plist is updated all values are merged instead of overwritten. So, I would say that just adding the snippet to the plugin.xml is the right thing to do to fix the functionality for iOS9.
@sfrdmn, would you make a pull request?
from instagramplugin.
Related Issues (20)
- Share to story gives black image HOT 1
- Android App crash when launch HOT 3
- kept on getting Instagram is undefined error
- Upgrade to using cordova-clipboard plugin rather than the universal-clipboard-plugin HOT 4
- Story gives black image HOT 13
- Share video from Android HOT 3
- IOS 13: Can not select Instagram app HOT 12
- Unable to load image for FEED HOT 15
- iOS 13.6.1 Instagram share option does not work HOT 8
- [Suggestion] - Option to set share type HOT 3
- Error when sharing image to Instagram (iOS) HOT 15
- Android API 30 - Instagram not installed HOT 4
- IOS only - Error when sharing image/asset/product to the instagram story/message/post works fine for reels
- Instagram: Not able to share Multiple images HOT 1
- Plugin doesn't work on iPhone X HOT 1
- Not able to post to feed via ios(asking to select between feed & story) HOT 2
- Instagram composer not returning to app after img is shared HOT 3
- Ionic plugin wrapper causes plugin install error HOT 2
- Plugin should not reinstall cordova-plugin-clipboard if it already exists
- Plugin not working on Android 8.0 HOT 49
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 instagramplugin.