-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS app does not recieve Intent on the latest iOS version #116
Comments
struggling to make it work on iOS and would love to hear update on this |
Doesn't work on the latest version too on iOS. Sharing intent does nothing when clicked |
I was with the same problem and fixed it just adding the "group.your.app.path" to the Capability of the "Shared Extension" target. Same thing I add in the Runner target. |
Do you mean to add it into App Groups ? Or change Bundle Identifier in Share Extension? Have you tested on the latest OS ? |
Yes, try to add the "group.your.app.path" in the App Groups of the Share Extension target. The same way you did in the App Groups of the Runner target. I'm not able to teste in a real device, but it works well in the simulators. |
@lecavallari I have similar setup as @boxabirds I have tested on iOS 13 and it works. So it does not work only on the latest iOS version @KasemJaffer do you confirm the bug? are you planning to work on it ? |
FYI, I just tried running the example app on my iPad with OS 14 and it runs fine. So might be implementation issue. |
Very likely. What’s the issue though? It’s proving elusive.
…On Thu, 7 Jan 2021 at 14:23, Angga Dwi Arifandi ***@***.***> wrote:
FYI, I just tried running the example app on my iPad with OS 14 and it
runs fine. So might be implementation issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABD62JUXQCG53OF77JXLG3SYW7XZANCNFSM4VHBZTIQ>
.
|
Basically on iOS 14.0 when app is selected via the share sheet, it does nothing (not opening the app at all). I'm currently investigating it. |
Yes agreed. Sorry I meant what is the cause …
On Thu, 7 Jan 2021 at 14:51, Angga Dwi Arifandi <notifications@github.com>
wrote:
… Very likely. What’s the issue though? It’s proving elusive.
… <#m_-112722070415764581_>
On Thu, 7 Jan 2021 at 14:23, Angga Dwi Arifandi *@*.***> wrote: FYI, I
just tried running the example app on my iPad with OS 14 and it runs fine.
So might be implementation issue. — You are receiving this because you were
mentioned. Reply to this email directly, view it on GitHub <#116 (comment)
<#116 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABD62JUXQCG53OF77JXLG3SYW7XZANCNFSM4VHBZTIQ
.
Basically on iOS 14.0 when app is selected via the share sheet, it does
nothing (not opening the app at all). I'm currently investigating it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABD62LZQPPPGN4MJW44RXTSYXC53ANCNFSM4VHBZTIQ>
.
|
Alright finally found the solution, this is what worked for me
turns out it can be null at times, so I need to add a default value in case of null. Before
After
After I did steps above, it started to work. |
I'm facing same issue in iOS the app open after post text but stream never listen any thing even null not show |
Hi, are there any updates? I did the full iOS configuration (Share extension, app group, provisioning profiles, ...). My project runs but when I share text or media my app is launched but the value is null. Is there an implementation issue in the ShareViewController file? This is how my ShareViewController looks like:
|
any updates !!! |
i have the same problem |
Having same problem on iOS. I found out, that ShareViewController.swift will not get executed at all. I tried to add several Breakpoints in XCode and nearly every function and nothing was reached here during sharing-process. Is something else required in order to bundle ShareViewController.swift really with the Extension? |
I finally made it work after applying all these steps (only 2 of these hints where missing at my side): #82 (comment) However, wenn I share text from Safari this way into my flutter app, the Safari browser will stay in somehow modal thing that the whole app can't be used anymore and needs to be killed. |
not working for me |
After the last update of library it started working. |
For me problems started when upgrading from 1.4.2 to 1.4.3. The app opened on a sharing intent, but nothing was shared. A simple pubspec change fixed it: |
Not working for me. Android works fine, but iOS is not receiving the Intent |
Me too , still not working |
It could be the last patch that was merged, see #117 (comment)Problem is I guess that hasMatchingSchemePrefix blocks all shared text. If I remove that or I remove the "ShareMedia" from line 10: it works again. But with these changes, sometimes if I share an url from Safari, Safari crashes #24 This behaviour was not in 1.4.2 |
I have downgrade to 1.4.2 and still doesn't work , my app open but nothing received. |
@woutervanwijk I don't know if this the cause of your particular issue on the latest version but I do think that I introduced a bug in my previous PR that I have addressed here: #140 let me know if that ends up being your issue as well. |
any updates ?? |
Have you created a separate provision profile for ShareExtension? |
I think it is depending on the source app (not your app, apps that should list up your app to share the content) would be nice if someone can confirm this from Apple's changelog somewhere. |
Possible fix, see #148I had a similar issue (after opening the application, the stream was never updated). I found that my issue was made of using another library, that requires calling In the pull-request, there is also included the fixing of an issue when on iOS this plugin was opening the incorrect application. |
Downgrading to 1.4.2 fixed the issue for me :) |
same issue on latest version |
I realize that PR has not deployed on to |
Any update?? |
any update ? |
Any update ? Happy New Year ! :-) |
i don't know why, but it's working for me. package version : receive_sharing_intent: ^1.4.5
|
seem like the package on pub.dev has been outdate . adding package on github and do exactly document said resolve my issue |
It solves my problem. |
this solved my problem, thanks. |
牛批 |
it's not working in ios 16 !!! |
it's not working in ios 16, 17. Please help me with this |
Hey, I made all the setup for both platforms. It builds and I can see my app in share options in given app (youtube). On Android device I can recieve intent in my app, and iOS does not work.
Any idea why can't recieve text in my iOS app ?
Regards
The text was updated successfully, but these errors were encountered: