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
I have rn mobile app developed using https://expo.dev/ and for push notifications I'm using @react-native-firebase/messaging (background and terminated states). Push notifications are sent through FCM via our backend.
For background and terminated states I have in my app registered listeners setBackgroundMessageHandler and getInitialNotification where my push notifications are auto displayed correctly.
My issue is following:
If image stored on amazon s3 bucket has inside of it EXIF metadata, image in background and terminated states on android is rotated by 90 degrees.
NOTE:
I've recreated issue locally where I've created node js server to test this and if I strip from image exif metadata, reupload it, get image url and pass it in send of push notification, image is displayed correctly. Issue is that our system hundreds and hundreds of assets and they're coming from different sources and my backend developer doesn't want to do anything for this question.
If I send data-only push notifications auto display is ignored and I can display push notifications using https://notifee.app/ for background, foreground and terminated states, but I don't want to do that because I'm losing auto display feature and I need to handle a lot of more things inside of my mobile app.
Question
Can I somehow control to ignore EXIF metadata when image is auto displayed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have rn mobile app developed using https://expo.dev/ and for push notifications I'm using @react-native-firebase/messaging (background and terminated states).
Push notifications are sent through FCM via our backend.
Everything works as intended but I have issue on android devices.
Our push notifications contain images that are stored on amazon s3 buckets (example https://s3.us-east-1.amazonaws.com/s3.three.feat.finaloffer.cloud/files/public/7e63d2c65d034cb186eb34bbd527da80/w700/12201-sunrise-valley-dr-reston-va-20192.jpg)
If you inspect exif metadata for this image you can see that it has orientation rotate 90 CW https://jimpl.com/results/Lz1h8ohTfFbK7o1QzvWHcrXQ?target=exif
For background and terminated states I have in my app registered listeners setBackgroundMessageHandler and getInitialNotification where my push notifications are auto displayed correctly.
My issue is following:
NOTE:
Question
Beta Was this translation helpful? Give feedback.
All reactions