-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iOS test app, native-view, gmaps, and fs plugins
- Loading branch information
Showing
21 changed files
with
317 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
# Fuse Android | ||
|
||
This is the Android Fuse module, providing the platform implementation for the Fuse framework on Android devices and simulators. | ||
|
||
## Checking out the code | ||
|
||
This module uses git submodules, clone via: | ||
|
||
``` | ||
git clone https://github.com/btfuse/fuse.git --recurse-submodules | ||
``` | ||
|
||
## Building | ||
|
||
To build the AAR, run `./build.sh`. Otherwise, open the `android` in Android Studio and build the `fuse` module. | ||
|
||
## Testing | ||
|
||
Run `./test.sh` which will launch tests for all supported Android versions. | ||
|
||
Alternatively, `test.sh` script also accepts the following arguments | ||
|
||
|Command|Description| | ||
|---|---| | ||
|`./test.sh <API_LEVEL>`|Test against a specific API level using Gradle Managed Devices. Only API 28+ are supported.| | ||
|`./test.sh local`|Runs local unit tests only. No android simulator or device needed, but most tests required an android environment.| | ||
|`./test.sh device`|Use a connected device or simulator to run the tests| | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ | |
/BTFuse.podspec | ||
/BTFuseTestTools.podspec | ||
/Pods | ||
/third_party | ||
!/third_party/README |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2024 Breautek | ||
|
||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
|
||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
source ../build-tools/DirectoryTools.sh | ||
|
||
mkdir -p third_party | ||
|
||
OPENSSL_VERSION="3.2.0-fuse-2" | ||
GOOGLE_MAPS_VERSION="9.1.1" | ||
|
||
cd third_party | ||
|
||
rm -rf google-maps | ||
mkdir -p google-maps | ||
spushd google-maps | ||
wget https://dl.google.com/geosdk/swiftpm/$GOOGLE_MAPS_VERSION/GoogleMaps_3p.xcframework.zip | ||
wget https://dl.google.com/geosdk/swiftpm/$GOOGLE_MAPS_VERSION/GoogleMapsBase_3p.xcframework.zip | ||
wget https://dl.google.com/geosdk/swiftpm/$GOOGLE_MAPS_VERSION/GoogleMapsCore_3p.xcframework.zip | ||
wget https://dl.google.com/geosdk/swiftpm/$GOOGLE_MAPS_VERSION/GoogleMapsResources.zip | ||
|
||
unzip GoogleMaps_3p.xcframework.zip | ||
unzip GoogleMapsBase_3p.xcframework.zip | ||
unzip GoogleMapsCore_3p.xcframework.zip | ||
unzip GoogleMapsResource.zip | ||
|
||
rm -f *.zip | ||
spopd | ||
|
||
rm -rf openssl | ||
mkdir -p openssl | ||
spushd openssl | ||
wget https://github.com/btfuse/openssl/releases/download/$OPENSSL_VERSION/OpenSSL.xcframework.zip | ||
|
||
unzip OpenSSL.xcframework.zip | ||
|
||
rm -f *.zip | ||
spopd |
Oops, something went wrong.