forked from vstirbu/InstagramPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for converting base64/canvas into Library PHAsset local…
…identifier, to be then opened by IG. This was to bypass Document Interaction API approach, which is clearly not working on some IOS 14+ devices for specific Instagram versions. Further notes: The error messages in terminal from xcode do not indicate any reason why DI would fail. And on latest 14.4.1 of IOS with latest instagram, the code which is broken works fine. I believe it's caused by instagram itself failing to process the "Copy to" DI event, since the error is resolved on latest. Therefore this commit simply introduces developer control to specific precisely which "logic mode" (approach) to use. You can use legacy... IGO (exclusivegram), or 13+ IG (photo), and now --- LIBRARY mode which works as described above. DEFAULT Mode is ... the default. And so existing user code will be left unaffected by this change. It will continue as if no change was made. User can opt-in to use the new logistics, if they so choose. REF: vstirbu#117
- Loading branch information
1 parent
6dcddd5
commit 5581fa2
Showing
3 changed files
with
152 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters