为platform add android创建自定义模板的最佳方法是什么?我们想要自定义使用的www和AndroidManifest。我们目前正在使用顶层的www来定制www,但是这是最好的方法吗?是否可以/推荐自定义平台模板?如果推荐的话,设置它的最佳方法是什么?
对于AndroidManifest,我们希望默认设置如下:
<activity
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan">
</activity>发布于 2013-09-26 05:27:40
我不知道你是否需要这个答案。但我今天也在找类似的东西。我找到了这个链接JIRA。
因此,我认为您可以编辑"platform/android/AndroidManifest.xml“,Cordova将保留您的代码。但如果您仍然需要自定义AndroidManifest,我认为您需要编辑AndroidManifest模板从科尔多瓦。
致以敬意,
https://stackoverflow.com/questions/18138827
复制相似问题