|
将以下代码拷贝到你的原生模块开发工程AndroidManifest的 application 节点下,同时把 targetSdkVersion 设置为26及以上,看看是否能适配。
- <meta-data android:name="android.max_aspect" android:value="2.4"/>
- <meta-data android:name="notch.config" android:value="portrait|landscape"/>
- <meta-data android:name="android.notch_support" android:value="true"/>
复制代码 |
|