firstbundle :
Business component, the bundle module in the atlas, type is the awb which structure similar to aar
app:
Apk project, contain atlas and update function, integrates the above business components(first bundle)
Specific reference buildApk.sh
General steps are as follows:
- The first release bundle version1 to the repository
- App dependency on bundle versin1, execute ./gradlew assembleDebug
- Installation
Specific reference buildTpatch.sh
General steps are as follows:
- release bundle version2 to the repository
- The app dependency on bundle version2,
- Modify the app project source and depend on the version of the component (optional)
- Modify the app versionCode, and release (required)
- ./gradlew clean assembleDebug -DapVersion=1.0 build patch
- Push the patch files to the app cache directory
- Calls the update patch installation on the phone