TF-2893 Update ADR for app_grid_configuration
This commit is contained in:
@@ -16,7 +16,8 @@
|
|||||||
"appLink": "https://openpaas.linagora.com/contacts/",
|
"appLink": "https://openpaas.linagora.com/contacts/",
|
||||||
"androidPackageId": "xxx",
|
"androidPackageId": "xxx",
|
||||||
"iosUrlScheme": "xxx",
|
"iosUrlScheme": "xxx",
|
||||||
"iosAppStoreLink": "xxx"
|
"iosAppStoreLink": "xxx",
|
||||||
|
"publicIconUri": "xxx"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -41,19 +42,28 @@ For example:
|
|||||||
"iosUrlScheme": "xxx",
|
"iosUrlScheme": "xxx",
|
||||||
"iosAppStoreLink": "xxx"
|
"iosAppStoreLink": "xxx"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"appName": "App 2",
|
||||||
|
"appLink": "http://twake.linagora.com/",
|
||||||
|
"androidPackageId": "xxx",
|
||||||
|
"iosUrlScheme": "xxx",
|
||||||
|
"iosAppStoreLink": "xxx",
|
||||||
|
"publicIconUri": "xxx"
|
||||||
|
},
|
||||||
...
|
...
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- `appName`: The name will be showed in App Grid
|
- `appName`: The name will be showed in App Grid
|
||||||
- `icon`: Name of icon was added in `configurations\icons` folder
|
- `icon`: Name of icon was added in `configurations\icons` folder. If not, `publicIconUri` must be provided.
|
||||||
- `appLink`: Service URL
|
- `appLink`: Service URL
|
||||||
- `androidPackageId`: ApplicationId of android app
|
- `androidPackageId`: ApplicationId of android app
|
||||||
- `iosUrlScheme`: UrlScheme name of the ios app.
|
- `iosUrlScheme`: UrlScheme name of the ios app.
|
||||||
- `iosAppStoreLink`: iTunes link of the ios app.
|
- `iosAppStoreLink`: iTunes link of the ios app.
|
||||||
Allow navigate to store (appStore) if app is not found in the device. Example:
|
Allow navigate to store (appStore) if app is not found in the device. Example:
|
||||||
`itms-apps://itunes.apple.com/us/app/linshare/id1534003175` or `https://itunes.apple.com/us/app/linshare/id1534003175`
|
`itms-apps://itunes.apple.com/us/app/linshare/id1534003175` or `https://itunes.apple.com/us/app/linshare/id1534003175`
|
||||||
|
- `publicIconUri`: Public link for the icon, used when `icon` is null or empty.
|
||||||
|
|
||||||
2. Enable it in [env.file](https://github.com/linagora/tmail-flutter/blob/master/env.file)
|
2. Enable it in [env.file](https://github.com/linagora/tmail-flutter/blob/master/env.file)
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user