Skip to content

Android - Added Dynamic Delivery options#252

Merged
mortend merged 2 commits intofuse-open:masterfrom
rbtech:Dynamic-Delivery
Nov 11, 2019
Merged

Android - Added Dynamic Delivery options#252
mortend merged 2 commits intofuse-open:masterfrom
rbtech:Dynamic-Delivery

Conversation

@AndrewEQ
Copy link
Contributor

@AndrewEQ AndrewEQ commented Nov 6, 2019

"Android": {
    "SupportedLanguages": ["en"],
    "Bundle": {
      "CompressNativeLibraries": true,
      "Language": {
        "EnableSplit": false
      },
      "Density": {
        "EnableSplit": true
      },
      "ABI": {
        "EnableSplit": true
      }
    },
    ...

Native Library Compression

App Supported Languages

Bundle Base Split Options

Supports Screens
Define which size screens your app supports with these properties: https://developer.android.com/guide/topics/manifest/supports-screens-element

"Android": {
"SupportsScreens" : {
"Resizable" : "true",
"NormalScreens" : "true",
"LargeScreens" : "true",
"XlargeScreens" : "true",
"AnyDensity" : "true",
"RequiresSmallestWidthDp": "320",
...
},
...

```
"Android": {
    "SupportedLanguages": ["en"],
    "Bundle": {
      "CompressNativeLibraries": true,
      "Language": {
        "EnableSplit": false
      },
      "Density": {
        "EnableSplit": true
      },
      "ABI": {
        "EnableSplit": true
      }
    },
    ...
```

Native Library Compression
- turn on/off compression
- https://developer.android.com/studio/projects/dynamic-delivery/configure-base#base_manifest

App Supported Languages
- define apps official languages so that other language resources in plugins will be removed except for the apps official languages
- https://developer.android.com/studio/build/shrink-code#unused-alt-resources

Bundle Base Split Options
- Language, Density and ABI options are made available to turn on/off
- https://developer.android.com/studio/projects/dynamic-delivery/configure-base#disable_config_apks
@AndrewEQ AndrewEQ changed the title Added Dynamic Delivery options Android - Added Dynamic Delivery options Nov 6, 2019
@AndrewEQ AndrewEQ requested a review from mortend November 6, 2019 08:30
Copy link
Member

@mortend mortend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to use same terminology and semantics as Android docs when we can, and I left a comment on one of the new properties.

Otherwise these new project properties look useful. Thanks!

Define which size screens your app supports with these properties: https://developer.android.com/guide/topics/manifest/supports-screens-element

```
"Android": {
    "SupportsScreens" : {
      "Resizable" : "true",
      "NormalScreens" : "true",
      "LargeScreens" : "true",
      "XlargeScreens" : "true",
      "AnyDensity" : "true",
      "RequiresSmallestWidthDp": "320",
      ...
    },
    ...
```
@mortend mortend merged commit d40ee79 into fuse-open:master Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants