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

feat: add btc map #262

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat: add btc map #262

wants to merge 2 commits into from

Conversation

im-adithya
Copy link
Member

Fixes #256

Modal is yet to be added. If location is not allowed it will just show a random location and then can be dragged

Screenshots

Tested on both android and iOS

@rolznz
Copy link
Contributor

rolznz commented Feb 20, 2025

Overall it seems to work ok, map loads a bit slowly but could just be me.

Links cannot be opened, is it just Expo go with this issue?

  • Open a shop and choose the navigate option (geo: link) -> should open google maps
  • Open a shop and try to boost it, and then it fails to open a lightning link (maybe we could improve this in a follow-up to have a better integration)

<WebView
source={{ uri: mapUrl }}
className="flex-1 bg-blue-100"
geolocationEnabled
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be based on if the permission was granted?

Copy link
Contributor

@rolznz rolznz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK, it's not perfect but the code is isolated and possibly we can improve it over time

@im-adithya
Copy link
Member Author

Links cannot be opened, is it just Expo go with this issue?

I think it's broke on BTCMap's end, I faced the same issue on Blink too (they also use BTCMap)

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.

Integrate BTCMap
2 participants