76a9663968
(cherry picked from commit b670472d77437336861248a1d785345965b311af)
2.6 KiB
2.6 KiB
Configuration for App Grid
Context
- Team Mail is a service inside Twake Workspace which include other services
- User need to access other services from Team Mail
How to config
- Add services to configuration file
- Each service have the information:
{
"appName": "Contacts",
"icon": "ic_contacts_app.svg",
"appLink": "https://openpaas.linagora.com/contacts/",
"androidPackageId": "xxx",
"iosUrlScheme": "xxx",
"iosAppStoreLink": "xxx"
}
- All services must be added to the configuration file configurations\app_dashboard.json For example:
{
"apps": [
{
"appName": "Twake",
"icon": "ic_twake_app.svg",
"appLink": "http://twake.linagora.com/",
"androidPackageId": "xxx",
"iosUrlScheme": "xxx",
"iosAppStoreLink": "xxx"
},
{
"appName": "App 1",
"icon": "ic_twake_app.svg",
"appLink": "http://twake.linagora.com/",
"androidPackageId": "xxx",
"iosUrlScheme": "xxx",
"iosAppStoreLink": "xxx"
},
...
]
}
appName: The name will be showed in App Gridicon: Name of icon was added inconfigurations\iconsfolderappLink: Service URLandroidPackageId: ApplicationId of android appiosUrlScheme: UrlScheme name 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:itms-apps://itunes.apple.com/us/app/linshare/id1534003175orhttps://itunes.apple.com/us/app/linshare/id1534003175
- Enable it in env.file
APP_GRID_AVAILABLE=supported
If you want to disable it, please change the value to unsupported or remove this from env.file
- Enable open app on mobile(Android/iOS)
- In
Android 11+to open another app already installed, you have to add the package with nameApplicationId' in AndroidManifest insidequeriestag. Example:
<queries>
<package android:name="com.linagora.android.linshare" />
</queries>
-
- In
iOS 9+to open another app already installed, you have to add theUrlScheme' in Info.plist under theLSApplicationQueriesSchemeskey. Example:
- In
<key>LSApplicationQueriesSchemes</key>
<array>
<string>linshare.mobile</string>
</array>