Commit def77be
committed
fix(workspace): provider authority 改用 ${applicationId} 占位符,解 debug/release 共存冲突
authorities 原写死 com.aicode.documents:debug 变体有 applicationIdSuffix=.debug,applicationId
变 com.aicode.debug,但 provider authority 不随之变、两变体注册同一 authority,Android 拒绝共存报
INSTALL_FAILED_CONFLICTING_PROVIDERS(=-13),debug 与 release 无法同机安装(发版 CI 装机阶段暴露)。
改为 ${applicationId}.documents 占位符:debug → com.aicode.debug.documents,release →
com.aicode.documents,各变体 authority 各不相同,共存恢复。师生 provider 内部不引用 authority
字符串(系统从 manifest 注入),无代码侧影响。合并 manifest 已核对 universalDebug 注入为
com.aicode.debug.documents。1 parent d3ba7e2 commit def77be
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments