I am generated a watermarked image, then a dynamic link, that will eventually be shared to Instagram of Facebook.
final newImage = await _socialShareService.sharedImage();
//then image is saved to Firebase and dynamic link generated
final postsUpdateData = createPostsRecordData(
sharedImage: newImage);
await containerPostsRecord.reference.update(
postsUpdateData);
var uri = await _dynamicLinkService
.createDynamicLink()
print(uri.toString());
//this is where the error is occurring
await SocialShare.shareInstagramStory(newImage,
backgroundBottomColor: "#000000",
backgroundTopColor: "#ffffff",
attributionURL: uri.toString());
Everything works fine up until Instagram or Facebook need to be called to open, and then I receive the following error and crash report
I am not sure exactly how to read the report, but from reading online it seems like it is coming from the AppDelegate.swift function for iOS. This occurs for both Instagram and Facebook Stories share and I also tried defining a background image, which also didn't work. This is a slightly different error than others reported since it appears to be with Keys. Both are added to my Info.plist file:
I am generated a watermarked image, then a dynamic link, that will eventually be shared to Instagram of Facebook.
Everything works fine up until Instagram or Facebook need to be called to open, and then I receive the following error and crash report
I am not sure exactly how to read the report, but from reading online it seems like it is coming from the AppDelegate.swift function for iOS. This occurs for both Instagram and Facebook Stories share and I also tried defining a background image, which also didn't work. This is a slightly different error than others reported since it appears to be with Keys. Both are added to my Info.plist file:
Any help is greatly appreciated!