Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
apply plugin: 'com.android.library'
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

android {
compileSdkVersion 27
buildToolsVersion "23.0.1"
compileSdkVersion safeExtGet('compileSdkVersion', 27)
buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')

defaultConfig {
minSdkVersion 16
targetSdkVersion 27
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 27)
versionCode 1
versionName "1.0"

Expand All @@ -22,6 +25,6 @@ android {
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.facebook.react:react-native:+'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.facebook.react:react-native:+'
}
6 changes: 4 additions & 2 deletions ios/RCTBEEPickerManager/BzwPicker.m
Original file line number Diff line number Diff line change
Expand Up @@ -601,14 +601,16 @@ -(void)cancleAction


dispatch_async(dispatch_get_main_queue(), ^{
[UIView animateWithDuration:.2f animations:^{
[UIView animateWithDuration:.3f animations:^{

[self setFrame:CGRectMake(0, SCREEN_HEIGHT, SCREEN_WIDTH, 250)];

}];
});

self.pick.hidden=YES;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
self.pick.hidden=YES;
});
}
//按了确定按钮
-(void)cfirmAction
Expand Down
4 changes: 3 additions & 1 deletion ios/RCTBEEPickerManager/RCTBEEPickerManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ + (BOOL)requiresMainQueueSetup
});
}

self.pick.hidden=YES;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
self.pick.hidden=YES;
});

return;
}
Expand Down