[ BUG ] : Wrong asset picking
Plugin name
- Appinio social share
Describe the bug While downloading and writing it in temp directory using path_provider, and passing the same path but still it picks random video from my gallery and forwarding it for sharing for tiktok, instagram. Is this a bug? Its happening on iOS only.
Expected behavior It should pick exact video which im passing
Screenshots
If applicable, add screenshots to help explain your problem.
This is my code, downloading asset from storage and passing it to appinio.
Smartphone (please complete the following information):
- Device: iphone 12 PRO
- OS: ios 16.4
- package version: latest
Addition I have confirmed the video which im downloading is different and appinio is sharing different video, while deleting that random video, it still picked another random video from my gallery.
I think there was something wrong with video formate, i have changed the video and its now working fine
its still happening
Hey @Badar25 , According the code we wrote for sharing to tiktok. We save the asset to user gallery and then pick it from there, is your asset getting saved? Can you see it in photos?
Yes but then you guys are sorting it via date and thats why its picking wrong asset
On Fri, Mar 22, 2024 at 4:54 PM Mujeeb khan @.***> wrote:
Hey @Badar25 https://github.com/Badar25 , According the code we wrote for sharing to tiktok. We save the asset to user gallery and then pick it from there, is your asset getting saved? Can you see it in photos?
— Reply to this email directly, view it on GitHub https://github.com/appinioGmbH/flutter_packages/issues/245#issuecomment-2014923607, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5C5RMO56TNQUEITCG3HW5TYZQLY5AVCNFSM6AAAAABEGO2U6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJUHEZDGNRQG4 . You are receiving this because you were mentioned.Message ID: @.***>
Yes @Badar25 , you mean sorting is the problem? are you able to find a workaround?
Yes, before saving just saving the date as now instead of using original date of the video/content
On Mon, Mar 25, 2024 at 3:12 AM Mujeeb khan @.***> wrote:
Yes @Badar25 https://github.com/Badar25 , you mean sorting is the problem? are you able to find a workaround?
— Reply to this email directly, view it on GitHub https://github.com/appinioGmbH/flutter_packages/issues/245#issuecomment-2016962276, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5C5RMIH3537TFBYEMVRJPDYZ5FTVAVCNFSM6AAAAABEGO2U6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHE3DEMRXGY . You are receiving this because you were mentioned.Message ID: @.***>
I will create PR soon
On Mon, Mar 25, 2024 at 8:07 AM Bahadur Zaman @.***> wrote:
Yes, before saving just saving the date as now instead of using original date of the video/content
On Mon, Mar 25, 2024 at 3:12 AM Mujeeb khan @.***> wrote:
Yes @Badar25 https://github.com/Badar25 , you mean sorting is the problem? are you able to find a workaround?
— Reply to this email directly, view it on GitHub https://github.com/appinioGmbH/flutter_packages/issues/245#issuecomment-2016962276, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5C5RMIH3537TFBYEMVRJPDYZ5FTVAVCNFSM6AAAAABEGO2U6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHE3DEMRXGY . You are receiving this because you were mentioned.Message ID: @.***>
i am also not able to share to tiktok post. the image is saved to my gallery and tiktok opens but after a loading dialog in tiktok i just get redirected to my redirect url. is this also because of the wrong asset picked or am i missing anything else?
Hey @lucakramberger , have you added TikTokClientKey to your info.plist?