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

iOS Location sensor and Activity starter issues #3320

Open
8 tasks
stezelMIT opened this issue Jan 10, 2025 · 2 comments
Open
8 tasks

iOS Location sensor and Activity starter issues #3320

stezelMIT opened this issue Jan 10, 2025 · 2 comments

Comments

@stezelMIT
Copy link

Describe the bug

Location sensor does not seem to capture "Current Address"
Also Activity starter is not popping a Google Maps like in Android that shows how to get to your destination

Affects

  • Designer
  • Blocks editor
  • Projects Explorer
  • Companion
  • Compiled apps
  • Buildserver
  • Debugging
  • Other... (please describe)

Expected behavior

Should show the address as "77 Mass ave etc."
It should pop the Google Maps and show directions
Steps to reproduce
WhereisMyCar.aia.zip
Try on this AIA file

@stezelMIT
Copy link
Author

The Activity Starter info page has no information what to do if iOS device is being employed.
Everything is Android focused:

Property | Value
Action | android.intent.action.VIEW
ActivityClass | com.google.android.maps.MapsActivity
ActivityPackage | com.google.android.apps.maps

@ewpatton
Copy link
Member

@stezelMIT Unfortunately, I don't think there's an easy way for us to implement the Current Address blocks since the Android design is synchronous but the iOS equivalent APIs are asynchronous. Given that the tutorial predates the inclusion of the Map and related components, maybe a refresh is worthwhile to avoid relying on the ActivityStarter component, which itself is a leaky abstraction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants