mozilla-magnet / magnet-client

A nearby content discovery client for Android & iOS
Mozilla Public License 2.0
19 stars 10 forks source link

Deep linking (closes #331) #338

Closed wilsonpage closed 7 years ago

wilsonpage commented 7 years ago

@arcturus r? (ping-pong sorry)

arcturus commented 7 years ago

Follow ups:

arcturus commented 7 years ago

@wilsonpage after rebasing to latest master (it has a patch from @samgiles for react-native version) it does kind of work in iphone.

It at least tryies to load the view, it loads the basic, and then the app dies cause an exception in the new postArray method, need to debug more to understand whats going on.

arcturus commented 7 years ago

More feedback about what's going on.

It's important to take into account the environment where I am, surronded by beacons that we constantly receive, so I have hundreds of calls to app render scene home in a matter of 10 seconds. Either that or we are constantly triggering model change, and also calling fetchItemIfNeeded even if it's going to end soon, we still have an enormous number of calls to that function.

That is making the animation to open the item to be very slow and to compite for resources. When we load an item that is in the cache everything seems to work ok.

arcturus commented 7 years ago

Yes, I can confirm that in the simulator without so many update cause of btle beacons everything works way smoother.

We can consider this like an aggressive environment, but we should think on adding some throttling to that update coming from BLE.

wilsonpage commented 7 years ago

@arcturus:

arcturus commented 7 years ago

Shiiiiip it once travis is green :)