This is the doc for fabric-android-shell.sh
Invoking the Fabric plugin by standalone (non-jvm) processes So our plugin has 3 responsibilities:
- (pre-build) Enable your app on our backend
| ┌─────────────────────┬────────────────────┬──────────────────────────────────────────┬──────────┬─────────────┬─────────────────────────┬──────────────────────┐ | |
| │ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │ | |
| ├─────────────────────┼────────────────────┼──────────────────────────────────────────┼──────────┼─────────────┼─────────────────────────┼──────────────────────┤ | |
| │ 1610 │ Vivo │ vivo 1610 │ PHYSICAL │ 1280 x 720 │ 23 │ reduced_stability=23 │ | |
| │ AmatiTvEmulator │ Google │ Google TV Amati │ VIRTUAL │ 1080 x 1920 │ 29 │ beta=29 │ | |
| │ AndroidTablet270dpi │ Generic │ Generic 720x1600 Android tablet @ 270dpi │ VIRTUAL │ 1600 x 720 │ 30 │ │ | |
| │ F01L │ FUJITSU │ F-01L |
This is the doc for fabric-android-shell.sh
Invoking the Fabric plugin by standalone (non-jvm) processes So our plugin has 3 responsibilities:
| #!/bin/sh | |
| # Copyright 2017 Google Inc. | |
| # 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 | |
| # https://www.apache.org/licenses/LICENSE-2.0 |
| extends ./layout.jade | |
| // This talk requires a combination of reveal.js, Jade, and some style sheets I made to support it. | |
| block slides | |
| section | |
| strong Highly Cohesive Software Programming | |
| section | |
| p let's pretend you're a software engineer | |
| // Fragments are revealed on slide next |
| // Here's a trick to get XML injected into the APK. | |
| // Be careful not to merge-conflict with existing parameters, as this occurs after the mergeResources step, and the behavior is likely undefined. | |
| // was added to app/build.gradle after applying android plugin. | |
| android.applicationVariants.all { variant -> | |
| // Supports both 0.12.+ and 1.+ of Android gradle plugin by getting all processResourceTasks: | |
| def tasks = [] | |
| // Multidex has multiple process resource tasks | |
| if (variant.hasProperty('outputs')) { | |
| for (output in variant.outputs) { |