Skip to content

Commit 31a41c4

Browse files
author
sherry
committed
bug-fixed
1 parent fa6d098 commit 31a41c4

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

android/src/main/java/cn/jiguang/plugins/verification/JVerificationModule.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ public void dismissLoginAuthActivity(){
134134
@ReactMethod
135135
public void setCustomUIWithConfig(final ReadableMap readableMap, final ReadableArray readableArray){
136136
builder = null;
137+
System.out.println("readableMap>>>:"+readableMap);
137138
convertToConfig(readableMap);
138139
reactContext.runOnUiQueueThread(new Runnable() {
139140
@Override

example/App.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ const codeConfig = {
155155
};
156156
//安卓授权页弹窗模式
157157
const androidDialogConfig = {
158+
// navHidden: false, //导航栏是否隐藏
159+
// navColor: -16777216, //导航栏颜色
160+
// navReturnHidden: false, //导航栏返回按钮是否隐藏
161+
// navReturnImage: 'close', //导航栏左侧返回按钮图标
158162
privacyDialogTheme: [300, 400, 0, 0, false], //授权页弹窗模式
159163
privacyNeedStartAnim: true, //设置拉起授权页时是否需要显示默认动画 默认展示
160164
privacyNeedCloseAnim: true, //设置关闭授权页时是否需要显示默认动画 默认展示

example/android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ apply from: file("../node_modules/@react-native-community/cli-platform-android/n
33
include ':app'
44

55
include ':jverification-react-native'
6-
project(':jverification-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/jverification-react-native/android')
6+
project(':jverification-react-native').projectDir = new File(rootProject.projectDir, '../../android')
77
include ':jcore-react-native'
88
project(':jcore-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/jcore-react-native/android')

0 commit comments

Comments
 (0)