add manifest

This commit is contained in:
ffdfgdfg 2019-12-22 22:55:27 +08:00
parent 8e6132077c
commit bcba0351aa
2 changed files with 37 additions and 10 deletions

View File

@ -6,16 +6,6 @@
cd /go
go get -u fyne.io/fyne fyne.io/fyne/cmd/fyne
# temporary solution here to add android internet permission
rm -rf /go/bin/fyne
mkdir -p /go/src/github.com/ffdfgdfg
cd /go/src/github.com/ffdfgdfg
git clone https://github.com/ffdfgdfg/fyne.git
cd fyne
git checkout android-permission
go install ./cmd/fyne
cd /go
mkdir -p /go/src/github.com/cnlh/nps
cp -R /app/* /go/src/github.com/cnlh/nps
cd /go/src/github.com/cnlh/nps

37
gui/npc/AndroidManifest.xml Executable file
View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="1"
android:versionName="0.25.2"
package="org.nps.client"
platformBuildVersionCode="15"
platformBuildVersionName="4.0.4-1406430">
<uses-permission
android:name="android.permission.INTERNET"/>
<application
android:label="Npc"
android:debuggable="true">
<activity
android:label="Npc"
android:name="org.golang.app.GoNativeActivity"
android:configChanges="0xa0">
<meta-data
android:name="android.app.lib_name"
android:value="npc"/>
<intent-filter>
<action
android:name="android.intent.action.MAIN"/>
<category
android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>