ShoutSocial / share_handler

A plugin to facilitate receiving and handling share intents
41 stars 39 forks source link

iOS recordSentMessage & flavors issue #57

Closed PeterOmbodi closed 1 year ago

PeterOmbodi commented 1 year ago

I have prod and dev flavors in my project, and there is a certain problem with them. Share works for builds with both flavors, but recordSentMessageonly works for prod env. Conditionally I have app bundles com.bla.bla , com.bla.bla.dev and groups group.com.bla.bla+group.com.bla.bla.dev. For build with prod env, recordSentMessage works well, I see my records in share recent section. However, when using recordSentMessage in a build with the dev flavor, the section for recently sent messages does not show any records for this build, despite the terminal log containing the entry "Successfully dontated INSendMessageIntent." Is it possible to get some guidance on how to resolve this issue?

PeterOmbodi commented 1 year ago

My problem was resolved, but I don't know how exactly. I haven't changed anything in the code related to sharing flow, but it's magically started to work as expected). The only thing that I have done, I updated Flutter from 3.7.10 to 3.10.4 and bumped several libraries' versions to resolve dependencies conflicts.