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

Merged
merged 5 commits into from
Feb 27, 2025
Merged

feat: add btc map #262

merged 5 commits into from
Feb 27, 2025

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)

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)

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

Choose a reason for hiding this comment

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

Suggested change
className="flex-1 bg-blue-100"
className="flex-1"

Copy link
Contributor

@reneaaron reneaaron left a comment

Choose a reason for hiding this comment

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

Added some comments, other than that:

tACK

@im-adithya im-adithya merged commit c9c4c29 into master Feb 27, 2025
2 checks passed
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
3 participants