You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firebase Messaging does not seem to allow for image URLs without an extension that matches MIME type, despite the fact that we may be able to produce the right extension from the MIME type.
FIRMessagingLoggerError(
kFIRMessagingServiceExtensionLocalFileNotCreated,
@"Failed to move the image file to local location: %@, error: %@\n", localURL,
error);
Steps to reproduce:
What happened? How can we make the problem occur?
Create a notification with a URL that points to an image resource without the proper extension (e.g. a UUID)
Environment
CocoaPods
Problem
Firebase Messaging does not seem to allow for image URLs without an extension that matches MIME type, despite the fact that we may be able to produce the right extension from the MIME type.
In the function
We create the extension for the local download using
Which raises issues later in the function, i.e.
Steps to reproduce:
What happened? How can we make the problem occur?
Create a notification with a URL that points to an image resource without the proper extension (e.g. a UUID)
Relevant Code:
Fixed the issue by changing the logic to
The text was updated successfully, but these errors were encountered: