0.0.3-alpha.90 • Published 4 years ago

@kano/kit-app-shell-android v0.0.3-alpha.90

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

KASH android

Android support for kit-app projects

Installation

yarn global add @kano/kit-app-shell-android

Usage

Create a project following the guide at @kano/kit-app-shell-core. Then run

kash run android ./

This will create an android application from your project, install it on a connected android device and launch the application. This application linked to your local sources. Your files are watched and the application will refresh on changes.

kash build android ./

This will create an .apk with your application, transpiled and compressed.

Options

In your project's kash-config file, you can configure the android build as follow:

/**
 * @type {import('@kano/kit-app-shell-core/types').KashConfig}
 */
module.exports = {
    android: {
        minSdkVersion: 21,
        maxSdkVersion: 28,
        preferences: {
            // Here drop cordova preferences for your project. See https://cordova.apache.org/docs/en/latest/config_ref/#preference
        },
        supportsScreens: {
            anyDensity: true,
            smallScreens: false,
            normalScreens: false,
            largeScreens: true,
            xlargeScreens: true,
        },
    },
};

In your project's config (config/*.json), you can add:

{
    "ICONS": {
        "ANDROID": "assets/app/android/icon.png"
    },
    "SPLASHSCREENS": {
        "ANDROID": "assets/app/android/screen.png"
    }
}

The icon will be used to generate all the necessary icons for an android project, so make sure it is at least 512x512, same thing goes for the splashcreen, it will be cropped to fit the screens. To support landsapce and portrait orientations, provide a large square splashcreen.

TODO:

0.0.3-alpha.90

4 years ago

0.0.3-alpha.88

4 years ago

0.0.3-alpha.82

5 years ago

0.0.3-alpha.80

5 years ago

0.0.3-alpha.77

5 years ago

0.0.3-alpha.73

5 years ago

0.0.3-alpha.72

5 years ago

0.0.3-alpha.67

5 years ago

0.0.3-alpha.66

5 years ago

0.0.3-alpha.64

5 years ago

0.0.3-alpha.61

5 years ago

0.0.3-alpha.58

5 years ago

0.0.3-alpha.57

5 years ago

0.0.3-alpha.56

5 years ago

0.0.3-alpha.52

5 years ago

0.0.3-alpha.50

5 years ago

0.0.3-alpha.49

5 years ago

0.0.3-alpha.48

5 years ago

0.0.3-alpha.44

5 years ago

0.0.3-alpha.43

5 years ago

0.0.3-alpha.42

5 years ago

0.0.3-alpha.41

5 years ago

0.0.3-alpha.40

5 years ago

0.0.3-alpha.38

5 years ago

0.0.3-alpha.36

5 years ago

0.0.3-alpha.35

5 years ago

0.0.3-alpha.33

5 years ago

0.0.3-alpha.32

5 years ago

0.0.3-alpha.31

5 years ago

0.0.3-alpha.28

5 years ago

0.0.3-aplha.22

5 years ago

0.0.3-alpha.19

5 years ago

0.0.3-alpha.17

5 years ago

0.0.3-alpha.16

5 years ago

0.0.3-alpha.14

5 years ago

0.0.3-alpha.13

5 years ago

0.0.3-alpha.12

5 years ago

0.0.3-alpha.11

5 years ago

0.0.3-alpha.10

5 years ago

0.0.3-alpha.9

5 years ago

0.0.3-alpha.8

5 years ago

0.0.3-alpha.7

5 years ago

0.0.3-alpha.6

5 years ago

0.0.3-alpha.5

5 years ago

0.0.3-alpha.4

5 years ago

0.0.3-alpha.3

5 years ago

0.0.3-alpha.2

5 years ago

0.0.3-alpha.1

5 years ago

0.0.3-alpha.0

5 years ago

0.0.2-alpha.2

5 years ago

0.0.2-alpha.1

5 years ago