注意事项
May 27, 2019 · View on GitHub
构建工具链
- 目前使用
Gradle 3.3+Android Gradle Plugin 2.3.3。对
Gradle 4.x+Android Gradle Plugin 3.x的支持正在开发中
四大组件
- 不支持隐式
Intent启动 - 插件不支持
ContentProvider - 插件使用
Application#registerActivityLifecycleCallbacks注册回调无效 - 插件中不支持
JobService,JobIntentService
通知
- 不支持插件中使用自定义 layout 的通知。若插件需要展示自定义 layout 的通知,则需要把 layout 资源文件放到宿主中。
第三方库
- 若插件
compile依赖了com.android.support:support-v4,则需要在phantomPluginConfig配置excludeLib剔除 - 不支持 Android Data Binding(正在开发中)