uploader 0.0.2
uploader: ^0.0.2 copied to clipboard
It is a deployment package
Uploader #
Uploader is designed to quickly distribute your Flutter applications. With this package, you can generate AAB/APK (Android) and IPA (iOS) files, which can be uploaded to Firebase App Distribution, Play Console, and TestFlight.
Installation #
IOS #
- Create a JSON file with
issuer_idandauth_key, and provide the path of the JSON file to theUploader'siosConfig->pathparameter. - issuer_id can be obtained in
Users and AccessunderApp Store Connect. - For
auth_key, create a newDeveloper Keyin the same section asissuer_id. The id value of this key can be used as theauth_key. Download the created key file and place it in the~/private_keys/directory on the computer where the package will be called.
[instruction]
ANDROID #
- Configure the
keystore(https://developer.android.com/studio/publish/app-signing#secure-shared-keystore). - Activate the
Google Play Android Developer APIonGoogle Cloud(https://console.developers.google.com/apis/api/androidpublisher.googleapis.com/?hl=en). - Create a
service accountfrom this link: https://console.cloud.google.com/iam-admin/serviceaccounts?hl=en. After creating theservice account, generate a newJSONKeyfile from theKeystab of theservice account. Provide the path of this JSON file to theUploader'sandroidConfig->pathparameter. - Finally, the service account needs to be granted permission. From the
Users and Permissionssection of theGoogle Play Console, send an invitation to theservice accountemail withAdminorReleasespermissions.
FIREBASE APP DISTRIBUTION #
- Install
Firebase CLI(https://firebase.google.com/docs/cli?hl=tr). - Activate
App DistributiononFirebase. - Under Settings in
Firebase, integrate withGoogle Playin theIntegrationstab. If the app has not been published yet, this integration cannot be done, and in this case,Uploader'sandroidBuildTypeparameter should be set toapk.
Usage #
dev_dependencies:
uploader: any
uploader:
platform: all # iosOnly, androidOnly, all
uploadType: all # appDistributionOnly, storeOnly, all
iosConfig:
path: ios_deploy_config.json # must include auth_key and issuer_id
androidConfig:
path: android_deploy_config.json # must include client_email, client_id, private_key
track: internal # internal, alpha, beta
packageName: "com.package.name"
skslPath: null
appDistributionConfig:
androidBuildType : abb # abb, apk
androidTesters : null
iosTesters : [
"tester1@gmail.com",
"tester2@gmail.com",
]
releaseNotes: [
"app icon updated"
]
extraBuildParameters: null