Image is not rendering from firebase
See original GitHub issueDescription
Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest React Native Razorpay plugin release to make sure your issue has not already been fixed.
Razorpay Package Version :
Open Package.json
. > Copy react-native-razorpay
“^2.2.1”
Java and Gradle Version (android) :
Specify your Java and Gradle version.
buildToolsVersion = "29.0.3"
minSdkVersion = 19 // updating from 16 to 19 due to razorPay
compileSdkVersion = 30
targetSdkVersion = 30
supportLibVersion = "28.0.0"
What you did:
I am trying to display a user image in the image box, but it is not rendering the image
The firebase storage URL to the image looks like: https://firebasestorage.googleapis.com/v0/b/mytestApp.appspot.com/o/images%2FpZm8daajsIS4LvqBYTiWiuLIgmE2?alt=media&token=3kuli4cd-dc45-7845-b87d-5c4acc7da3c2
Note: I have modified the URL, due to a private project.
What happened:
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
1.Upload an image to firebase storage, then copy the image link with token 2.Pass this link as an image parameter.
Suggested solution:
Code example, screenshot, or link to a repository:
let options = {
description: 'User : Test User',
image: photo, //<----------firebase image with token
currency: 'INR',
key: '<MyKey>',
amount: 100,
name: 'My corp',
prefill: {
email: props.emailId,
contact: props.phoneNumber,
name: props.displayName,
},
theme: {color: 'green'},
};
Any help with this issue would be appreciated.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Hi @hackrx, we are looking into this, we will let you know once this is fixed.
@hackrx We are not able to reproduce this issue on our side. Please give more details. We suggest you to use some simple URLs for rendering the images. Most likely that will solve this issue.
For now closing this issue, feel free to add more comments here or re-opening this. Thanks.