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

Follow Me has no example #189

Closed
hamishwillee opened this issue Dec 4, 2017 · 6 comments
Closed

Follow Me has no example #189

hamishwillee opened this issue Dec 4, 2017 · 6 comments

Comments

@hamishwillee
Copy link
Collaborator

It would be nice :-)

@shakthi-prashanth-m
Copy link
Contributor

shakthi-prashanth-m commented Dec 4, 2017

Like I said here,
FollowMe example should use either of Android/Apple/Windows platform. As of now, we've simulated in integration_tests/follow_me.cpp::FollowMeMultiLocationWithConfig where it feeds GPS Location to FollowMe plugin. To build an example in one of the above platforms, we need Language bindings in-place.

@hamishwillee
Copy link
Collaborator Author

Arguable. Of course it would be better, but you can write a useful example simulate data, as you have for the integration test. You can even simulate the sort of "behaviour" of the APIs if you were so inclined. Completely up to you.

@shakthi-prashanth-m
Copy link
Contributor

OK, we can make an example similar to MultiLocation case in integration_tests/follow_me.cpp. As we discussed sometime ago, we can use an algorithm to generate GPS locations (simulating Location services of the underlying platform)and feed it to FollowMe plugin. @julianoes , does this sound good ?

@julianoes
Copy link
Collaborator

@shakthi-prashanth-m Sure, sounds good.

I would vote to make the example rather minimal, so you would not expose all of the config options but just give the most obvious use case.

@hamishwillee
Copy link
Collaborator Author

I would vote to make the example rather minimal, so you would not expose all of the config options but just give the most obvious use case.

Yes, though it would be good if it could emulate "proper usage" of a location source. By which I mean that if the sources are normally asynchronous callbacks whenever new data arrives, it would be good to show how to write an app that works with that kind of source.

@shakthi-prashanth-m
Copy link
Contributor

Closing it as PR #217 added Follow Me example.

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

3 participants