Updating capacitor and android config to change appname
This commit is contained in:
parent
59faede004
commit
2f57bff6ed
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.dyomedea.solid">
|
||||
package="com.dyomedea.dyomedea">
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
<activity
|
||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
|
||||
android:name="com.example.app.MainActivity"
|
||||
android:name="com.dyomedea.dyomedea.MainActivity"
|
||||
android:label="@string/title_activity_main"
|
||||
android:theme="@style/AppTheme.NoActionBarLaunch"
|
||||
android:launchMode="singleTask"
|
||||
|
|
12
README.md
12
README.md
|
@ -84,5 +84,17 @@ vdv@nuc:~/projects/tea/dyomedea/dyomedea$ echo $ANDROID_SDK_ROOT
|
|||
|
||||
```
|
||||
|
||||
### To (re)generate android/
|
||||
|
||||
```bash
|
||||
$ rm capacitor.config.ts
|
||||
$ rm -rf android
|
||||
$ npx cap init dyomedea com.dyomedea.dyomedea # assets in dist/
|
||||
$ npx cap add android
|
||||
$ cp AndroidManifest.xml ./android/app/src/main/AndroidManifest.xml
|
||||
$ npx cap run --target RFCN20NEZ4R android
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { CapacitorConfig } from '@capacitor/cli';
|
||||
|
||||
const config: CapacitorConfig = {
|
||||
appId: 'com.dyomedea.solid',
|
||||
appName: 'solid-ol',
|
||||
appId: 'com.dyomedea.dyomedea',
|
||||
appName: 'dyomedea',
|
||||
webDir: 'dist',
|
||||
bundledWebRuntime: false,
|
||||
bundledWebRuntime: false
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
|
Loading…
Reference in New Issue