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.

uri/localUri have no scheme on production apks

See original GitHub issue

Only on production build of apks. Expo Go shows https:// and file:// schemes for uri/localUri.

await new TextureLoader().load(
  require('../../assets/textures/globe-light-landmass-invert.png'),
  (texture) => void console.log({texture}),
  undefined,
  (error) => void console.error(error)
)
{ texture: 
   { uuid: '03552703-2025-4D1B-837E-AF99C2FB078F',
     name: '',
     image: 
      { data: 
         { hash: '73d4f645e59fdb0a189f747dc91001c6',
           localUri: 'assets_textures_globelightlandmassinvert',
           width: 2000,
           height: 1000,
           downloading: false,
           downloaded: true,
           _downloadCallbacks: [],
           name: 'globe-light-landmass-invert',
           type: 'png',
           uri: 'assets_textures_globelightlandmassinvert' },
    }
   }
}

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
jedahancommented, Aug 24, 2021

Yeah I owe ya a bottle of 🥃 or kombucha or something

1reaction
jedahancommented, Aug 24, 2021

Thank you for the comment and suggestion, I will try changing my app today to see if the fixes work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

APK Signature Scheme v3
What's more, it is no longer possible to sign APKs independently, because the proof-of-rotation structure must have the old signing certs ...
Read more >
Prepare and roll out a release - Play Console Help
Production : Production releases are available to all Google Play users in your chosen countries. Important: You must have the Release apps to...
Read more >
Building APKs for Android Emulators and devices
Learn how to configure and install an .apk for Android Emulators and devices when using EAS Build. The default file format used when...
Read more >
APKs and Tracks | Google Play Developer API
(If the edit is deleted or discarded, any APKs uploaded to that edit are ... Releases on the "production" track are deployed to...
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