Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the asset scheme for images #2238

Merged
merged 1 commit into from
May 7, 2018

Conversation

janicduplessis
Copy link
Contributor

Does any other open PR do the same thing?

No

What issue is this PR fixing?

Expo uses the asset:// scheme to load images from the app's bundle on Android. This is supported by Fresco (http://frescolib.org/docs/supported-uris.html) so we can simply add the new scheme to the list that we load using Fresco.

How did you test this PR?

Verified that bundled assets in Expo work with the Marker component by applying this diff locally.

This should also work everywhere else we allow assets with the file:// scheme.

@rborn
Copy link
Collaborator

rborn commented May 7, 2018

LGTM @alvelig

@alvelig alvelig merged commit 9222211 into react-native-maps:master May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants