-
Notifications
You must be signed in to change notification settings - Fork 68
Using dev build
Jaak Laineste edited this page Apr 24, 2020
·
13 revisions
Use following builds if you need latest fixes, or need new features from the next, development version. You can select one of the branches:
- MASTER branch - more stable, has fixes/updates to latest the version, so it is preview of next minor update (after release of 4.1.1 it is 4.1.2, for instance)
- DEVELOPMENT branch - less stable, includes new major features which goes to next major version (for instance 4.1.2).
You can check your current version by looking at app logs (logcat for Android etc) - it should have message with build identifier, something like ... Build: android-306|(HEAD detached at df8d603)|release/v4.0.1-6-gdf8d603, time: Mar 22 2017 03:33:37 ...
where most interesting is df8d603 showing GIT commit ID hash. Compare it with SDK repo to see if the version is what you really want.
- Download latest RC package from releases
- Unzip it, find .aar file inside
- Copy .aar file to a folder of your project, e.g. /aars
- Define build.gradle to use this .aar file instead of live build:
dependencies {
// live SDK, make sure you do not have both dependencies
//compile('com.carto:carto-mobile-sdk:4.1.1@aar')
// use local file in project /aars folder. Put real file name here:
compile(name:'carto-mobile-sdk-4.1.1.385', ext:'aar')
...
}
repositories{
flatDir{
dirs 'aars'
}
}
CocoaPod does not want development versions, so we provide manual downloads.
- MASTER branch: sdk4-ios-snapshot-latest.zip
- Alternative build with dynamic libs: sdk4-ios-dynlib-snapshot-latest.zip
- Download the file, uncompress to your project and add the .framework to your Xcode project.
- Remove existing CartoMobileSDK reference from your project Podfile and run
pod update
. - Project should build now with the static downloaded framework.
- MASTER branch: sdk4-xamarin-snapshot-latest.zip
- Download file, uncompress it
- Add the uncompressed folder with .nuget files as file:// style custom nupackage source to your IDE (guide for Visual Studio and Xamarin Studio)
- Select "Add Packages", Make sure you tick "Show pre-released packages" and select package for your app platform.
Alternative: you can also add the .dll files from the uncompressed package to your project and add as native library references.