fix: casings.

This commit is contained in:
Darshan
2025-02-12 17:02:24 +05:30
parent d93727e211
commit 22a7f71819
2 changed files with 10 additions and 10 deletions
@@ -103,7 +103,7 @@ const val APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject.client.config.endpoint}"
<InputText
id="name"
label="Name"
placeholder="My Android App"
placeholder="My Android app"
required
bind:value={$createPlatform.name} />
@@ -65,35 +65,35 @@ static const String APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject.client.config.e
>
> = {
[PlatformType.Flutterandroid]: {
name: 'My Android App',
name: 'My Android app',
hostname: 'com.company.appname',
tooltip:
'Your package name is generally the applicationId in your app-level build.gradle file.'
},
[PlatformType.Flutterios]: {
name: 'My iOS App',
name: 'My iOS app',
hostname: 'com.company.appname',
tooltip:
"You can find your Bundle Identifier in the General tab for your app's primary target in Xcode."
},
[PlatformType.Flutterlinux]: {
name: 'My Linux App',
name: 'My Linux app',
hostname: 'appname',
tooltip: 'Your application name'
},
[PlatformType.Fluttermacos]: {
name: 'My mac OS App',
name: 'My mac OS app',
hostname: 'com.company.appname',
tooltip:
"You can find your Bundle Identifier in the General tab for your app's primary target in Xcode."
},
[PlatformType.Flutterwindows]: {
name: 'My Windows App',
name: 'My Windows app',
hostname: 'appname',
tooltip: 'Your application name'
},
[PlatformType.Flutterweb]: {
name: 'My Web App',
name: 'My Web app',
hostname: 'localhost',
tooltip:
'The hostname that your website will use to interact with the Appwrite APIs in production or development environments. No protocol or port number required.'
@@ -101,12 +101,12 @@ static const String APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject.client.config.e
};
const hostname: Partial<Record<PlatformType, string>> = {
[PlatformType.Flutterandroid]: 'Package Name',
[PlatformType.Flutterandroid]: 'Package name',
[PlatformType.Flutterios]: 'Bundle ID',
[PlatformType.Flutterlinux]: 'Package Name',
[PlatformType.Flutterlinux]: 'Package name',
[PlatformType.Fluttermacos]: 'Bundle ID',
[PlatformType.Flutterweb]: 'Hostname',
[PlatformType.Flutterwindows]: 'Package Name'
[PlatformType.Flutterwindows]: 'Package name'
};
async function createFlutterPlatform() {