feat:update template file,fix android

This commit is contained in:
pengfeizhou 2021-02-26 15:24:10 +08:00 committed by osborn
parent ccdf9ac547
commit 9a6efdf1f7
2 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,9 @@
"test": "echo \"Error: no test specified\" && exit 1",
"build": "doric build",
"dev": "doric dev",
"clean": "doric clean"
"clean": "doric clean",
"android": "doric run android",
"ios": "doric run iOS"
},
"license": "Apache-2.0",
"dependencies": {

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="pub.doric.android.__$appKey__">
package="pub.doric.android">
<application
android:name="pub.doric.android.MainApplication"
android:name=".MainApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
@ -11,7 +11,7 @@
android:networkSecurityConfig="@xml/network_security_config"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name="pub.doric.android.MainActivity">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />