forked from ManbangGroup/Phantom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
257387d
commit 3d65cde
Showing
2 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
# 一些限制 | ||
# 注意事项 | ||
|
||
## 构建工具链 | ||
|
||
- 目前使用 `Gradle 3.3` + `Android Gradle Plugin 2.3.3`。对 `Gradle 4.x` + `Android Gradle Plugin 3.x` 的支持正在进行中 | ||
- 目前使用 `Gradle 3.3` + `Android Gradle Plugin 2.3.3`。 | ||
> 对 `Gradle 4.x` + `Android Gradle Plugin 3.x` 的支持正在开发中 | ||
## 四大组件 | ||
|
||
- 不支持 `ContentProvider` | ||
- 不支持使用 `overridePendingTransition` 设置 `Activity` 切换动画 | ||
- 在插件 `AndroidManifest.xml` 配置 `Activity` 旋转属性 `screenOrientation` 无效 | ||
- 使用 `Application#registerActivityLifecycleCallbacks` 注册回调无效 | ||
- 不支持隐式 `Intent` 启动 | ||
- 插件不支持 `ContentProvider` | ||
- 插件不支持使用 `overridePendingTransition` 设置 `Activity` 切换动画 | ||
- 插件使用 `Application#registerActivityLifecycleCallbacks` 注册回调无效 | ||
|
||
## 通知 | ||
|
||
- 不支持插件中使用自定义 layout 的通知。若插件需要展示自定义 layout 的通知,则需要把 layout 资源文件放到宿主中。 | ||
|
||
## 第三方库 | ||
|
||
- 若插件 `compile` 依赖了 `com.android.support:support-v4` ,则需要在 `phantomPluginConfig` 配置 `excludeLib` 剔除 | ||
- 若插件 `compile` 依赖了 `com.android.support:support-v4`,则需要在 `phantomPluginConfig` 配置 `excludeLib` 剔除 | ||
- 不支持 Android Data Binding(正在开发中) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters