question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image is not rendering from firebase

See original GitHub issue

Description

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 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:closed
  • Created 3 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Nautiyalsachincommented, Dec 15, 2020

Hi @hackrx, we are looking into this, we will let you know once this is fixed.

0reactions
Nautiyalsachincommented, Jan 25, 2021

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Images are not loading from the Firebase Storage
I'm using Firebase Storage's new method listAll(); to list all the images from my storage to my app but the images are not...
Read more >
Images from Firebase Storage not rendering - AppGyver forums
I'm using Firebase Storage to serve images for my app. In the app builder and on the web preview, my images are rendering...
Read more >
I can't display an image in app from firebase storage using the ...
I then saved the URL link in the realtime database, which I thought I could just bind to the image.source however this does...
Read more >
[Solved]-React Firebase image url not being saved-Reactjs
Related Query · React Firebase image url not being saved · When I upload a image firebase storage getdownloadUrl() put download url In...
Read more >
Authenticate with Firebase with a Phone Number Using ...
The underlying rendered reCAPTCHA can be localized to the user's ... Firebase Authentication does not allow you to set existing phone numbers used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found