Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-syan-image-picker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenSource
react-native-syan-image-picker
Commits
7db6295a
Unverified
Commit
7db6295a
authored
Apr 17, 2018
by
CookieJ
Committed by
GitHub
Apr 17, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #33 from TrustTheBoy/patch-1
Implement requiresMainQueueSetup to prevent warning in RN 0.49+.
parents
dfa49399
aee8b427
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
RNSyanImagePicker.m
ios/RNSyanImagePicker.m
+5
-0
No files found.
ios/RNSyanImagePicker.m
View file @
7db6295a
...
...
@@ -341,6 +341,11 @@ RCT_EXPORT_METHOD(removeAllPhoto) {
}
}
+
(
BOOL
)
requiresMainQueueSetup
{
return
YES
;
}
-
(
BOOL
)
createDir
{
NSString
*
path
=
[
NSString
stringWithFormat
:
@"%@ImageCaches"
,
NSTemporaryDirectory
()];;
NSFileManager
*
fileManager
=
[
NSFileManager
defaultManager
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment