diff --git a/android/build.gradle b/android/build.gradle index 5e1ac1fb0b6ae45e3b6ced08c96960c9dc95303f..11b91ccea675d0162d2ff2b344e8e909b6e938cf 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -11,12 +11,12 @@ buildscript { apply plugin: 'com.android.library' android { - compileSdkVersion 25 - buildToolsVersion "25.0.3" + compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : 25 + buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : '25.0.3' defaultConfig { minSdkVersion 16 - targetSdkVersion 22 + targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : 22 versionCode 1 versionName "1.0" } diff --git a/ios/GLCanvasManager.m b/ios/GLCanvasManager.m index bc5a05d4c9e4fda00a5a219332d7029444434e9f..f8d499a7dfede3736328e34e69de6491335c5f9e 100644 --- a/ios/GLCanvasManager.m +++ b/ios/GLCanvasManager.m @@ -18,6 +18,10 @@ RCT_EXPORT_MODULE(); return self; } ++ (BOOL)requiresMainQueueSetup { + return NO; +} + - (dispatch_queue_t)methodQueue { return self.bridge.uiManager.methodQueue; diff --git a/package.json b/package.json index a5a7e48bd812027352321bd54ab9aa0f134e5652..dd6d1581272f6788767ffbfa449ac673a910b0c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gl-react-native", - "version": "2.48.0", + "version": "2.57.0", "description": "OpenGL bindings for react-native to implement complex effects over images and components, in the descriptive VDOM paradigm", "repository": { "type": "git", @@ -19,8 +19,8 @@ "author": "Project September ", "license": "MIT", "peerDependencies": { - "react-native": "*", - "gl-react": "^2.2.4" + "gl-react": "^2.2.4", + "react-native": "*" }, "dependencies": { "invariant": "2.2.0" diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000000000000000000000000000000000000..23265045e292268ed58ab1e482f732082e4947f7 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,22 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +invariant@2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.0.tgz#c8d7e847366a49cc18b622f058a689d481e895f2" + integrity sha1-yNfoRzZqScwYtiLwWKaJ1IHolfI= + dependencies: + loose-envify "^1.0.0" + +"js-tokens@^3.0.0 || ^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +loose-envify@^1.0.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0"