Skip to content

Commit 4639a79

Browse files
committed
Android: Use kotlinx-coroutines-android instead of core (fixes #9)
1 parent 3de4675 commit 4639a79

File tree

2 files changed

+3
-32
lines changed

2 files changed

+3
-32
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ dependencies {
135135
api 'com.facebook.react:react-native:+'
136136

137137
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
138-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3-native-mt"
138+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3-native-mt"
139139
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.4.3-native-mt"
140140

141141
implementation "androidx.camera:camera-core:1.1.0-alpha02"

yarn.lock

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3023,7 +3023,7 @@ [email protected]:
30233023
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
30243024
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
30253025

3026-
concat-stream@^1.4.7, concat-stream@^1.6.0:
3026+
concat-stream@^1.6.0:
30273027
version "1.6.2"
30283028
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34"
30293029
integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==
@@ -3277,7 +3277,7 @@ cosmiconfig@^5.0.5, cosmiconfig@^5.1.0:
32773277
js-yaml "^3.13.1"
32783278
parse-json "^4.0.0"
32793279

3280-
cross-spawn@^5.0.1, cross-spawn@^5.1.0:
3280+
cross-spawn@^5.1.0:
32813281
version "5.1.0"
32823282
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
32833283
integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=
@@ -7100,11 +7100,6 @@ [email protected]:
71007100
macos-release "^2.2.0"
71017101
windows-release "^4.0.0"
71027102

7103-
os-shim@^0.1.2:
7104-
version "0.1.3"
7105-
resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917"
7106-
integrity sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc=
7107-
71087103
os-tmpdir@^1.0.0, os-tmpdir@~1.0.2:
71097104
version "1.0.2"
71107105
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
@@ -7429,15 +7424,6 @@ posix-character-classes@^0.1.0:
74297424
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
74307425
integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=
74317426

7432-
pre-commit@^1.2.2:
7433-
version "1.2.2"
7434-
resolved "https://registry.yarnpkg.com/pre-commit/-/pre-commit-1.2.2.tgz#dbcee0ee9de7235e57f79c56d7ce94641a69eec6"
7435-
integrity sha1-287g7p3nI15X95xW186UZBpp7sY=
7436-
dependencies:
7437-
cross-spawn "^5.0.1"
7438-
spawn-sync "^1.0.15"
7439-
which "1.2.x"
7440-
74417427
prelude-ls@^1.2.1:
74427428
version "1.2.1"
74437429
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
@@ -8482,14 +8468,6 @@ source-map@^0.7.3:
84828468
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
84838469
integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
84848470

8485-
spawn-sync@^1.0.15:
8486-
version "1.0.15"
8487-
resolved "https://registry.yarnpkg.com/spawn-sync/-/spawn-sync-1.0.15.tgz#b00799557eb7fb0c8376c29d44e8a1ea67e57476"
8488-
integrity sha1-sAeZVX63+wyDdsKdROih6mfldHY=
8489-
dependencies:
8490-
concat-stream "^1.4.7"
8491-
os-shim "^0.1.2"
8492-
84938471
spdx-correct@^3.0.0:
84948472
version "3.1.1"
84958473
resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9"
@@ -9391,13 +9369,6 @@ which-module@^2.0.0:
93919369
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
93929370
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
93939371

9394-
9395-
version "1.2.14"
9396-
resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"
9397-
integrity sha1-mofEN48D6CfOyvGs31bHNsAcFOU=
9398-
dependencies:
9399-
isexe "^2.0.0"
9400-
94019372
which@^1.2.9:
94029373
version "1.3.1"
94039374
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"

0 commit comments

Comments
 (0)