Open Kisepro opened 6 years ago
Hi @Kisepro, we use react-native-maps
exposed by expo
for the ReactiveMap
component - for usability reasons. It is much easier to set up the map component that way. If you just install expo
as your dependency here (as it is a peer dependency for reactivesearch-native now), things should start working. It won't affect your project setup in any way.
So, run:
yarn add expo
Let me know if that doesn't work. I will be happy to help you through this 🐱
Hey @metagrover ,
Thanks for your answer.
I tried it and it's unfortunately not as easy. After have installed the expo package, it asks to use the expokit, what I tried too but then I get anothers errors,... I guess the concept is to not have to use the ExpoKit to stay detached
Error I get after installed expo AND added the import line "import { ReactiveBase } from '@appbaseio/reactivesearch-native';" :
Oh okay. I will try it in a fresh setup and get back to you soon on this.
Is there any workaround for this without having to manually remove the expo dependencies from the node modules folder? I can't build my app anymore from AppCenter :(
Thank you for the patience on this guys. I tried out the latest release on a fresh (non-expo) setup and it was non-functional. There were series of errors that will take some more time at my end for figuring out the next steps.
As I've mentioned here before that we use react-native-maps
exposed by expo
for the ReactiveMap
component - which is causing the issue here. So most probably, we will release the native maps library as a separate package (until we find a valid approach to deal with this issue). The maps package, will then require expo based projects to run on.
For now, you can downgrade reactivesearch-native
to 0.7.1
and things should work smoothly.
I will make sure that we do another release in the coming week with this segregation and some other important overall enhancements.
Hello,
Is it possible to run reactivesearch-native without Expo ? If it isn't, Is it planned ?
For the moment I get the error :![image](https://user-images.githubusercontent.com/7433141/41333032-569d3082-6f0a-11e8-9fc4-349b4467e8ac.png)