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
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 26
buildToolsVersion "26.0.3"
compileSdkVersion 28
buildToolsVersion "28.0.3"


defaultConfig {
Expand Down
5 changes: 5 additions & 0 deletions ios/RNAdvancedClipboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ - (dispatch_queue_t)methodQueue
return dispatch_get_main_queue();
}

+ (BOOL)requiresMainQueueSetup
{
return YES;
}

RCT_EXPORT_METHOD(setString:(NSString *)content)
{
UIPasteboard *clipboard = [UIPasteboard generalPasteboard];
Expand Down