Skip to content

Commit

Permalink
[general] moving ios and android project under ./platform folder
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-pokorny-1 committed Dec 20, 2020
1 parent 8e759a5 commit 41f0be3
Show file tree
Hide file tree
Showing 9,877 changed files with 141 additions and 2,889 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@
[submodule "platform/ios/platform/darwin/docs/theme"]
path = platform/ios/platform/darwin/docs/theme
url = https://github.com/mapbox/jazzy-theme.git
[submodule "platform/android/vendor/mapbox-events-android"]
path = platform/android/vendor/mapbox-events-android
url = https://github.com/mapbox/mapbox-events-android.git
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ For iOS and Android

| SDK | Build | Build status |
|---------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Mapbox Maps SDK for iOS](mapbox-gl-native-ios/platform/ios/) | CI | [![Github Action build status](https://github.com/maptiler/maplibre-gl-native/workflows/ios-ci/badge.svg)](https://github.com/maptiler/maplibre-gl-native/workflows/ios-ci) |
| [Mapbox Maps SDK for iOS](mapbox-gl-native-ios/platform/ios/) | Release | [![Github Action build status](https://github.com/maptiler/maplibre-gl-native/workflows/ios-release/badge.svg)](https://github.com/maptiler/maplibre-gl-native/workflows/ios-release) |
| [Mapbox Maps SDK for Android](mapbox-gl-native-android/) | CI | [![Github Action build status](https://github.com/maptiler/maplibre-gl-native/workflows/android-ci/badge.svg)](https://github.com/maptiler/maplibre-gl-native/workflows/android-ci) |
| [Mapbox Maps SDK for Android](mapbox-gl-native-iandroid/) | Release | [![Github Action build status](https://github.com/maptiler/maplibre-gl-native/workflows/android-release/badge.svg)](https://github.com/maptiler/maplibre-gl-native/workflows/android-release) |
| [Mapbox Maps SDK for iOS](platform/ios/) | CI | [![Github Action build status](https://github.com/maptiler/maplibre-gl-native/workflows/ios-ci/badge.svg)](https://github.com/maptiler/maplibre-gl-native/workflows/ios-ci) |
| [Mapbox Maps SDK for iOS](platform/ios/) | Release | [![Github Action build status](https://github.com/maptiler/maplibre-gl-native/workflows/ios-release/badge.svg)](https://github.com/maptiler/maplibre-gl-native/workflows/ios-release) |
| [Mapbox Maps SDK for Android](platform/android/) | CI | [![Github Action build status](https://github.com/maptiler/maplibre-gl-native/workflows/android-ci/badge.svg)](https://github.com/maptiler/maplibre-gl-native/workflows/android-ci) |
| [Mapbox Maps SDK for Android](platform/android/) | Release | [![Github Action build status](https://github.com/maptiler/maplibre-gl-native/workflows/android-release/badge.svg)](https://github.com/maptiler/maplibre-gl-native/workflows/android-release) |

## Installation

Expand Down Expand Up @@ -57,40 +57,40 @@ You can also download pre-build from releases in this repository.
### Source code checkout
```bash
git clone --recurse-submodules https://github.com/maptiler/mapbox-gl-mobile.git
git clone --recurse-submodules https://github.com/maptiler/maplibre-gl-native.git
```

### Build

#### Android

> Make sure you have set Android SDK path in mapbox-gl-native-android/local.properties, variable sdk.dir
> Make sure you have set Android SDK path in platform/android/local.properties, variable sdk.dir
```bash
cd mapbox-gl-native-android
cd platform/android
BUILDTYPE=Release make apackage
```

Binaries are produced in `mapbox-gl-native-android/MapboxGLAndroidSDK/build/outputs/aar/MapboxGLAndroidSDK-release.aar`
Please refer to [Mapbox Maps SDK for Android](mapbox-gl-native-android/) for detailed instructions.
Binaries are produced in `platform/android/MapboxGLAndroidSDK/build/outputs/aar/MapboxGLAndroidSDK-release.aar`
Please refer to [Mapbox Maps SDK for Android](platform/android/) for detailed instructions.

#### iOS

```bash
cd mapbox-gl-native-ios
cd platform/ios
make xcframework BUILDTYPE=Release
```

The packaging script will produce a `build/ios/pkg/dynamic`
Please refer to [Mapbox Maps SDK for iOS](mapbox-gl-native-ios/platform/ios/) for detailed instructions.
The packaging script will produce a `platform/ios/build/ios/pkg/dynamic`
Please refer to [Mapbox Maps SDK for iOS](platform/ios/platform/ios/) for detailed instructions.


#### MacOS

```bash
cd mapbox-gl-native-ios
cd platform/ios
make xpackage
```

This produces a `Mapbox.framework` in the `build/macos/pkg/` folder.
Please refer to [Mapbox Maps SDK for macos](mapbox-gl-native-ios/platform/macos/) for detailed instructions.
This produces a `Mapbox.framework` in the `platform/ios/build/macos/pkg/` folder.
Please refer to [Mapbox Maps SDK for macos](platform/ios/platform/macos/) for detailed instructions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion mapbox-gl-js
Submodule mapbox-gl-js updated 2055 files
4 changes: 0 additions & 4 deletions mapbox-gl-native-android/.editorconfig

This file was deleted.

10 changes: 0 additions & 10 deletions mapbox-gl-native-android/.github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

35 changes: 0 additions & 35 deletions mapbox-gl-native-android/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions mapbox-gl-native-android/.gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion mapbox-gl-native-android/vendor/mapbox-events-android
Submodule mapbox-events-android deleted from 8ee3e9
1 change: 0 additions & 1 deletion mapbox-gl-native-android/vendor/mapbox-gestures-android
Submodule mapbox-gestures-android deleted from 6fc34d
1 change: 0 additions & 1 deletion mapbox-gl-native-android/vendor/mapbox-java
Submodule mapbox-java deleted from 71f3a6
28 changes: 0 additions & 28 deletions mapbox-gl-native-ios/.github/stale.yml

This file was deleted.

9 changes: 0 additions & 9 deletions mapbox-gl-native-ios/.gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion mapbox-gl-native-ios/platform/darwin/docs/theme
Submodule theme deleted from 75b917
1 change: 0 additions & 1 deletion mapbox-gl-native-ios/platform/ios/vendor/mapbox-events-ios
Submodule mapbox-events-ios deleted from 5c955a
11 changes: 0 additions & 11 deletions mapbox-gl-native/.clang-format

This file was deleted.

42 changes: 0 additions & 42 deletions mapbox-gl-native/.clang-tidy

This file was deleted.

103 changes: 0 additions & 103 deletions mapbox-gl-native/.cmake-format

This file was deleted.

Loading

0 comments on commit 41f0be3

Please sign in to comment.