Greenstand/treetracker-web-map-core

User React Native to build a demo to integrate the web map core

Opened this issue · 4 comments

We need to test the integration of the core with native app (via webview)
Need to test:

  • Display the web map
  • Test the touch interaction( tap the tree icon to display a dialog)

Question:

  • where should we put the demo to, this repo (core) or a separate one?

Some hints:

  • Please read our readme for more information/guide/tutorial.
  • Here is an engineering book in Greenstand.
  • To know more about our organization, visit our website.
  • If you want to join the slack community (some resources need the community member's permission), please leave your email address.
SuokN commented

Can I try to do it? I think better if this demo will be in separate repo.

https://github.com/Greenstand/treetracker-web-map-core-demo
Yes, go ahead! Maybe someone else is also interested, you guys can work together I think.

SuokN commented

After several attempts to solve this issue, I managed to implement this part only through WebView (smth like that <WebView Source={{uri: 'https://map.treetracker.org/'}} />). That is meen, part of the application is not nativeI want to try to do something else and if there is any other positive result, I will push it in a demo.

But in my mind webview is a good solution and just what we wanted? Is there any other solution to integrate a npm lib like web map core?

Thanks for your work!