Skip to content

Commit 16fb293

Browse files
committed
new meridian maps
1 parent 26876da commit 16fb293

File tree

540 files changed

+481
-31251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

540 files changed

+481
-31251
lines changed

react-native-meridian-maps/MeridianMaps.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Pod::Spec.new do |s|
1010
s.homepage = package["homepage"]
1111
s.license = package["license"]
1212
s.author = package["author"]
13-
s.ios.vendored_frameworks = "ios/Meridian.xcframework"
13+
# Use CocoaPods Meridian SDK instead of a vendored XCFramework
14+
s.dependency 'MeridianSDK'
1415

1516
s.platform = :ios, "15.1"
1617

1718
s.source = { :git => "https://github.com/gitamego/react-native-meridian-maps.git", :tag => "#{s.version}" }
1819

19-
s.source_files = "ios/**/*.{h,m,mm,cpp}"
20+
s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
2021
s.private_header_files = "ios/**/*.h"
21-
s.header_mappings_dir = "ios/Meridian.xcframework/ios-arm64/Meridian.framework/Headers"
2222
s.swift_version = "5.0"
2323

2424
install_modules_dependencies(s)

react-native-meridian-maps/android/build.gradle

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ android {
3939
main {
4040
java {
4141
exclude '**/com/meridiansamples/**'
42+
exclude '**/com/meridianmaps/old/**'
43+
exclude '**/old/**'
4244
}
4345
}
4446
}
@@ -85,23 +87,17 @@ def kotlin_version = getExtOrDefault("kotlinVersion")
8587
dependencies {
8688
implementation "com.facebook.react:react-android"
8789
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
88-
// implementation(name: 'meridian-11.1.0', ext: 'aar')
8990
implementation(files("$projectDir/libs/meridian-11.2.0.aar"))
9091

91-
// Meridian SDK and its dependencies - specify the file path to the AAR file
92-
implementation 'com.android.volley:volley:1.2.1'
93-
implementation 'com.squareup:otto:1.3.8'
94-
implementation 'org.conscrypt:conscrypt-android:2.5.2'
95-
implementation 'com.google.android.material:material:1.9.0'
96-
implementation 'com.lemmingapex.trilateration:trilateration:1.0.2'
97-
implementation 'androidx.preference:preference:1.2.1'
98-
99-
// Required for GPS on Android devices
100-
implementation 'com.google.android.gms:play-services-location:21.0.1'
101-
102-
// Required for MapFragment UI elements
103-
implementation 'org.greenrobot:eventbus:3.3.1'
104-
implementation 'ch.acra:acra-mail:5.11.3'
92+
implementation 'com.android.volley:volley:1.2.1'
93+
implementation 'com.squareup:otto:1.3.8'
94+
implementation 'org.conscrypt:conscrypt-android:2.5.2'
95+
implementation 'com.google.android.material:material:1.9.0'
96+
implementation 'com.lemmingapex.trilateration:trilateration:1.0.2'
97+
implementation 'androidx.preference:preference:1.2.1'
98+
implementation 'com.google.android.gms:play-services-location:21.0.1'
99+
implementation 'org.greenrobot:eventbus:3.3.1'
100+
implementation 'ch.acra:acra-mail:5.11.3'
105101
}
106102

107103
react {

react-native-meridian-maps/android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -30,44 +30,6 @@
3030

3131

3232

33-
<application>
34-
35-
<!-- We don't set android:name here to avoid conflicts with the host app -->
36-
37-
38-
39-
<activity
40-
41-
android:name=".MeridianMapActivity"
42-
43-
android:exported="false"
44-
45-
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
46-
<!-- Required for search when using MapSheetFragment -->
47-
<intent-filter>
48-
<action android:name="android.intent.action.SEARCH" />
49-
</intent-filter>
50-
51-
<!-- Required for search when using MapSheetFragment -->
52-
<meta-data
53-
android:name="android.app.searchable"
54-
android:resource="@xml/searchable" />
55-
</activity>
56-
57-
58-
59-
<activity
60-
61-
android:name=".MeridianMapTestActivity"
62-
63-
android:label="Meridian Test"
64-
65-
android:theme="@style/Theme.AppCompat.Light"
66-
67-
android:exported="false"/>
68-
69-
70-
71-
</application>
33+
<application />
7234

7335
</manifest>

react-native-meridian-maps/android/src/main/java/com/meridianmaps/Application.kt

Lines changed: 0 additions & 80 deletions
This file was deleted.

react-native-meridian-maps/android/src/main/java/com/meridianmaps/CustomMarkerFragment.kt

Lines changed: 0 additions & 160 deletions
This file was deleted.

0 commit comments

Comments
 (0)