插件包名该怎么写?
目录插件名
例如插件目录的路径为:
uni_modules
>t-fun-api
,则在AndroidManifest.xml
定位- 插件须为驼峰形式,首字母小写
【前缀1】:
uts.sdk.modules
xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="uts.sdk.modules.tFunApi">
</manifest>
- 【前缀2】:
io.dcloud.uni_modules
xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="io.dcloud.uni_modules.tFunApi">
</manifest>
自定义名称
- 前缀名:
plugins.modules
xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="plugins.modules.tFunApi">
</manifest>