Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

[MOBILE-841] Adding Mapbox on single hotel view #1095

Closed
wants to merge 3 commits into from

Conversation

RobinCsl
Copy link
Collaborator

Could someone check that it works correctly on Android?

Copy link
Contributor

@ferrannp ferrannp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am testing it now on Android.

@@ -186,6 +186,7 @@ dependencies {
implementation "com.trinerdis.skypicker:logging:0.2.1-SNAPSHOT"
implementation("com.google.android.gms:play-services-base:$playServicesVersion")
implementation("com.google.android.gms:play-services-maps:$playServicesVersion")
compile project(':mapbox-react-native-mapbox-gl')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be implementation.

@@ -48,6 +48,7 @@ dependencies {
api "com.trinerdis.skypicker:react-native-maps:$reactNativeMaps-SNAPSHOT"
api "com.trinerdis.skypicker:react-native-vector-icons:$reactNativeVectorIcons-SNAPSHOT"
api "com.trinerdis.skypicker:react-native-tooltips:$reactNativeTooltips-SNAPSHOT"
api "com.trinerdis.skypicker:mapbox-react-native-mapbox-gl:$reactNativeTooltips-SNAPSHOT"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be $reactNativeMapBox and be defined in dependencies.gradle.

lukewalczak
lukewalczak previously approved these changes Sep 25, 2018
@ferrannp
Copy link
Contributor

ferrannp commented Sep 25, 2018

For now @lukewalczak is trying to run this on iOS playground and me on Android playground. Both are having problems. We need to fix this before merging it.

Actually, I got the same runtime error when running yarn android: nitaliano/react-native-mapbox-gl#1139

@lukewalczak lukewalczak dismissed their stale review September 25, 2018 12:37

ios playground doesnt work. On the way to fix it

@ferrannp
Copy link
Contributor

After conversation with @Blackhex we came to conclusion that we cannot just use this library as it is. The RN wrapper uses:

compile('com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1@aar') {
    transitive=true
}

But Kiwi app uses 6.5.0. The code from this library is not compatible with 5.4.1 and seeing repo state, our best bet might be to fork and fix.

@tbergquist-godaddy
Copy link
Contributor

seeing repo state, our best bet might be to fork and fix.

Which would also mean we have to maintain it. Does not sound like a good option

@tbergquist-godaddy
Copy link
Contributor

@RobinCsl can we close this PR for now? I guess we have to wait for new version of mapbox?

@RobinCsl
Copy link
Collaborator Author

RobinCsl commented Oct 4, 2018

Absolutely; here is the PR we need to watch
nitaliano/react-native-mapbox-gl#1377

@RobinCsl RobinCsl closed this Oct 4, 2018
@tbergquist-godaddy tbergquist-godaddy deleted the mapbox-single-hotel branch January 15, 2019 15:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants