plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[iOS ]: Share text + Url instagram is not showing in share list

Open swapnilsinha17 opened this issue 1 year ago • 5 comments

Platform

iOS 15.0

Plugin

share_plus

Version

^4.1.0

Flutter SDK

3.0.5

Steps to reproduce

Share button clicks the share dialog appears in all sharing apps list Instagram does not show while in sharing in facebook text Instagram showing list.

Code Sample

Share.shareWithResult(AppStrings.invitation_text)
                              //text: //AppStrings.invitation_text)
                          .then((value) {});

Logs

.....eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYzMGYwZGExNmUxMTZkNjllYTI0YzU0YiIsImlhdCI6MTY2MTkzMDkxMywiZXhwIjoxNjkzNDY2OTEzfQ.ZOcXUCtRzMWotlmSK8f
tufADi_0nOPDdruig0-w8e1k
[        ] flutter: developer tester
[        ] flutter:
[        ] flutter: [email protected]
[        ] flutter:
[ +107 ms] flutter: Instance of 'Future<bool>'
[ +926 ms] flutter: mixpanel is hit
[   +3 ms] flutter: seedcount.......0
[   +2 ms] flutter: seedcount.......0
[   +1 ms] flutter: local_is_subscribed.......free
[   +1 ms] flutter: planType.......
[  +39 ms] flutter: x-access-token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYzMGYwZGExNmUxMTZkNjllYTI0YzU0YiIsImlhdCI6MTY2MTkzMDkxMywiZXhwIjoxNjkzNDY2OTEzfQ.ZOcXUCtRzMWotlmSK8ftufAD
i_0nOPDdruig0-w8e1k
[  +33 ms] flutter: x-access-token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYzMGYwZGExNmUxMTZkNjllYTI0YzU0YiIsImlhdCI6MTY2MTkzMDkxMywiZXhwIjoxNjkzNDY2OTEzfQ.ZOcXUCtRzMWotlmSK8ftufAD
i_0nOPDdruig0-w8e1k
[   +9 ms] flutter: x-access-token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYzMGYwZGExNmUxMTZkNjllYTI0YzU0YiIsImlhdCI6MTY2MTkzMDkxMywiZXhwIjoxNjkzNDY2OTEzfQ.ZOcXUCtRzMWotlmSK8ftufAD
i_0nOPDdruig0-w8e1k
[        ] flutter: x-access-token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYzMGYwZGExNmUxMTZkNjllYTI0YzU0YiIsImlhdCI6MTY2MTkzMDkxMywiZXhwIjoxNjkzNDY2OTEzfQ.ZOcXUCtRzMWotlmSK8ftufAD
i_0nOPDdruig0-w8e1k
[  +78 ms] ../../Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:126:28: Warning:
Operand of
           null-aware operation '?.' has type 'RendererBinding' which excludes null.
[   +3 ms]  - 'RendererBinding' is from 'package:flutter/src/rendering/binding.dart'
('../../Flutter/flutter/packages/flutter/lib/src/rendering/binding.dart').
[        ]     assert(RendererBinding.instance?.renderView != null);
[        ]                            ^
[        ] ../../Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:127:50: Warning:
Operand of
           null-aware operation '!' has type 'RendererBinding' which excludes null.
[        ]  - 'RendererBinding' is from 'package:flutter/src/rendering/binding.dart'
('../../Flutter/flutter/packages/flutter/lib/src/rendering/binding.dart').
[        ]     var clipRect = Offset.zero & RendererBinding.instance!.renderView.size;
[        ]                                                  ^
[        ] ../../Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:170:26: Warning:
Operand of
           null-aware operation '!' has type 'SchedulerBinding' which excludes null.
[        ]  - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart'
('../../Flutter/flutter/packages/flutter/lib/src/scheduler/binding.dart').
[        ]         SchedulerBinding.instance!.addPostFrameCallback((timeStamp) {
[        ]                          ^
[        ] ../../Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.2/lib/src/visibility_detector_layer.dart:193:22: Warning:
Operand of
           null-aware operation '!' has type 'SchedulerBinding' which excludes null.
[        ]  - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart'
('../../Flutter/flutter/packages/flutter/lib/src/scheduler/binding.dart').
[  +15 ms]     SchedulerBinding.instance!
[   +1 ms]                      ^
[        ] ../../Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/grouped_list-4.2.0/lib/grouped_list.dart:264:22: Warning: Operand of null-aware
operation '!'
           has type 'WidgetsBinding' which excludes null.
[        ]  - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart'
('../../Flutter/flutter/packages/flutter/lib/src/widgets/binding.dart').
[        ]       WidgetsBinding.instance!.addPostFrameCallback((_) {
[        ]                      ^
[        ] lib/ui/newseed/pages/maincamerascreen.dart:98:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
[        ]  - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart'
('../../Flutter/flutter/packages/flutter/lib/src/widgets/binding.dart').
[        ]     WidgetsBinding.instance!.removeObserver(this);
[  +17 ms]                    ^
[+1820 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device iPhone 13... (completed in 4.6s)
[   +1 ms] Synced 0.0MB.
[   +4 ms] <- accept
[   +6 ms] Connected to _flutterView/0x7fb264830e20.
[  +14 ms] Flutter run key commands.
[   +3 ms] r Hot reload. 🔥🔥🔥
[   +2 ms] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[   +1 ms] An Observatory debugger and profiler on iPhone 13 is available at: http://127.0.0.1:56662/3P195RmWZnA=/
[   +5 ms] The Flutter DevTools debugger and profiler on iPhone 13 is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:56662/3P195RmWZnA=/
[ +160 ms] flutter: Home Seed1 {"status":true,"message":"Data get successfully.","data":{"incoming":[],"no_of_seeds":0}}
[  +31 ms] flutter: getNotificationCount {"status":true,"message":"Notifications count get
successfully.","data":{"notification":0,"request":0,"pending_seeds":0}}
[        ] flutter: Home Seed3 {"status":true,"message":"Data get successfully.","data":[]}
[  +21 ms] flutter: Home Seed2 {"status":true,"message":"Data get successfully.","data":[]}
[  +53 ms] flutter: local_is_subscribed.......free
[        ] flutter: planType.......
[        ] flutter: planType.......
[        ] flutter: planType.......
[  +16 ms] flutter: platinum_shared AppStrings.planType
[        ] flutter: purchaserInfo to get subscrition []

Flutter Doctor

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 11.6.6 20G624 darwin-x64, locale en-IN)
    • Flutter version 3.0.5 at /Users/mac/Documents/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (8 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 3D03FB0A-5521-4CDA-BE47-209408C6E642 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.6.6 20G624 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 105.0.5195.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

swapnilsinha17 avatar Sep 08 '22 11:09 swapnilsinha17

Besides Instagram not showing, is any other messaging app showing? or are there no apps at all?

miquelbeltran avatar Sep 08 '22 13:09 miquelbeltran

We probably need to write in very big font a mention that Facebook/Meta products don't support correct sharing without their SDK which we don't plan to add into plus plugins.

vbuberen avatar Sep 09 '22 06:09 vbuberen

@miquelbeltran in the app list all other apps are showing except Instagram for text + URL sharing. In comparison, Instagram is showing for image + URL + Text sharing. @vbuberen We added the Facebook SDK already and Facebook/Meta sharing is working fine.

swapnilsinha17 avatar Sep 12 '22 05:09 swapnilsinha17

I am not an Instagram user, but is it possible at all to share text to Instagram? Even with other apps? This looks like a limitation with Instagram, not a problem with the plugin

miquelbeltran avatar Sep 12 '22 06:09 miquelbeltran

Also don't use this product, so don't know 🤷🏻

vbuberen avatar Sep 13 '22 19:09 vbuberen

Issue still remaining even after your updated to V4.2.0

hamdi28 avatar Sep 29 '22 09:09 hamdi28

@vbuberen Instagram share error Still remaining

hamdi28 avatar Sep 30 '22 11:09 hamdi28

@hamdi28 do not spam, this is a formal warning

miquelbeltran avatar Sep 30 '22 11:09 miquelbeltran

Did anyone still facing the same issue

hamdi28 avatar Oct 03 '22 15:10 hamdi28

Facing the same issue. Facebook, messenger, whatsapp all show up but instagram doesn't

abdulelrahwan avatar Dec 30 '22 05:12 abdulelrahwan

Facing the same issue. Facebook, messenger, whatsapp all show up but instagram doesn't

same issue

kaushikgodhani avatar Jan 24 '23 05:01 kaushikgodhani

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Apr 25 '23 00:04 github-actions[bot]