Skip to content

Commit

Permalink
audio messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Jun 18, 2020
1 parent 44c7b7a commit 93872dc
Show file tree
Hide file tree
Showing 19 changed files with 592 additions and 84 deletions.
2 changes: 2 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />

<uses-permission android:name="android.permission.RECORD_AUDIO" />

<uses-permission android:name="com.android.vending.BILLING" />

<!-- these permissions should be removed -->
Expand Down
21 changes: 13 additions & 8 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ PODS:
- React-cxxreact (= 0.62.2)
- React-jsi (= 0.62.2)
- ReactCommon/callinvoker (= 0.62.2)
- ReactNativeAudioToolkit (2.0.3):
- React
- ReactNativeDarkMode (0.2.2):
- React
- RNCClipboard (1.2.2):
Expand Down Expand Up @@ -354,8 +356,8 @@ PODS:
- SQLCipher/common (3.4.2)
- SQLCipher/standard (3.4.2):
- SQLCipher/common
- SSZipArchive (2.2.2)
- TOCropViewController (2.5.2)
- SSZipArchive (2.2.3)
- TOCropViewController (2.5.3)
- TouchID (4.4.1):
- React
- Yoga (1.14.0)
Expand Down Expand Up @@ -419,6 +421,7 @@ DEPENDENCIES:
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
- ReactCommon/callinvoker (from `../node_modules/react-native/ReactCommon`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- "ReactNativeAudioToolkit (from `../node_modules/@react-native-community/audio-toolkit`)"
- ReactNativeDarkMode (from `../node_modules/react-native-dark-mode`)
- "RNCClipboard (from `../node_modules/@react-native-community/clipboard`)"
- "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
Expand All @@ -437,11 +440,8 @@ DEPENDENCIES:
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)

SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
- boost-for-react-native
- SQLCipher
- SSZipArchive
trunk:
- boost-for-react-native
- CocoaAsyncSocket
- CocoaLibEvent
- Flipper
Expand All @@ -452,6 +452,8 @@ SPEC REPOS:
- Flipper-RSocket
- FlipperKit
- OpenSSL-Universal
- SQLCipher
- SSZipArchive
- TOCropViewController
- YogaKit

Expand Down Expand Up @@ -524,6 +526,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/Libraries/Vibration"
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
ReactNativeAudioToolkit:
:path: "../node_modules/@react-native-community/audio-toolkit"
ReactNativeDarkMode:
:path: "../node_modules/react-native-dark-mode"
RNCClipboard:
Expand Down Expand Up @@ -599,6 +603,7 @@ SPEC CHECKSUMS:
React-RCTText: fae545b10cfdb3d247c36c56f61a94cfd6dba41d
React-RCTVibration: 4356114dbcba4ce66991096e51a66e61eda51256
ReactCommon: ed4e11d27609d571e7eee8b65548efc191116eb3
ReactNativeAudioToolkit: de9610f323e855ac6574be8c99621f3d57c5df06
ReactNativeDarkMode: 0178ffca3b10f6a7c9f49d6f9810232b328fa949
RNCClipboard: 8148e21ac347c51fd6cd4b683389094c216bb543
RNCMaskedView: 71fc32d971f03b7f03d6ab6b86b730c4ee64f5b6
Expand All @@ -612,8 +617,8 @@ SPEC CHECKSUMS:
RNScreens: ac02d0e4529f08ced69f5580d416f968a6ec3a1d
RNSVG: 8ba35cbeb385a52fd960fd28db9d7d18b4c2974f
SQLCipher: f9fcf29b2e59ced7defc2a2bdd0ebe79b40d4990
SSZipArchive: fa16b8cc4cdeceb698e5e5d9f67e9558532fbf23
TOCropViewController: e9da34f484aedd4e5d5a8ab230ba217cfe16c729
SSZipArchive: 62d4947b08730e4cda640473b0066d209ff033c9
TOCropViewController: 20a14b6a7a098308bf369e7c8d700dc983a974e6
TouchID: ba4c656d849cceabc2e4eef722dea5e55959ecf4
Yoga: 3ebccbdd559724312790e7742142d062476b698e
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
Expand Down
1 change: 1 addition & 0 deletions mobile/js_files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"app:android": "react-native run-android"
},
"dependencies": {
"@react-native-community/audio-toolkit": "git+https://github.com/tbenr/react-native-audio-toolkit.git#v2.0.3-status",
"@react-native-community/cameraroll": "^1.6.1",
"@react-native-community/clipboard": "^1.2.2",
"@react-native-community/hooks": "^2.5.1",
Expand Down
15 changes: 14 additions & 1 deletion mobile/js_files/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,14 @@
"@types/yargs" "^15.0.0"
chalk "^3.0.0"

"@react-native-community/audio-toolkit@git+https://github.com/tbenr/react-native-audio-toolkit.git#v2.0.3-status":
version "2.0.3"
resolved "git+https://github.com/tbenr/react-native-audio-toolkit.git#df14bedfd70f0a02aaf9d1d6f0dd35ffe717299f"
dependencies:
async "^2.6.3"
eventemitter3 "^1.2.0"
lodash "^4.17.15"

"@react-native-community/cameraroll@^1.6.1":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@react-native-community/cameraroll/-/cameraroll-1.6.2.tgz#a4dedcf8ba7bc938f805dd07dd43a275edb1f411"
Expand Down Expand Up @@ -1821,7 +1829,7 @@ async-limiter@~1.0.0:
resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==

async@^2.4.0:
async@^2.4.0, async@^2.6.3:
version "2.6.3"
resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff"
integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==
Expand Down Expand Up @@ -3245,6 +3253,11 @@ event-target-shim@^5.0.0, event-target-shim@^5.0.1:
resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789"
integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==

eventemitter3@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508"
integrity sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=

eventemitter3@^3.0.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
Expand Down
112 changes: 56 additions & 56 deletions nix/deps/gradle/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -5554,26 +5554,26 @@
},

{
"path": "com/google/auto/value/auto-value-annotations/1.7.2/auto-value-annotations-1.7.2",
"path": "com/google/auto/value/auto-value-annotations/1.7.3/auto-value-annotations-1.7.3",
"host": "https://repo.maven.apache.org/maven2",
"type": "jar",
"pom": {
"sha1": "5aef9d8912438ba9c964822687e836a8eacdff42",
"sha256": "1v9w96cxqd9dnm1qxilizvdljzciqv24hsnbwqf1y355whmjnjfw"
"sha1": "fd25d76eeeec987053ac5c242476519e30204657",
"sha256": "0xl91j3zyxmqqmc4zj82s5xakdx6c4mz8hg9vmmxcnqbvs3l5ca4"
},
"jar": {
"sha1": "7eec707327ec1663b9387c8671efb6808750e039",
"sha256": "1aw54c5ch164kawqmgqjl5ndds7qav2kkckvjnhh68d1calqsfc7"
"sha1": "59ce5ee6aea918f674229f1147da95fdf7f31ce6",
"sha256": "0gg3v68ms4wf0in56il4ly22vs7zmdnpx8qqgl70kr7vyzwr7cz0"
}
},

{
"path": "com/google/auto/value/auto-value-parent/1.7.2/auto-value-parent-1.7.2",
"path": "com/google/auto/value/auto-value-parent/1.7.3/auto-value-parent-1.7.3",
"host": "https://repo.maven.apache.org/maven2",
"type": "pom",
"pom": {
"sha1": "c022e9c0ddc49607c8e5d68aee0c16392732eb1e",
"sha256": "0lmh29zyz0izw1cywdk5fs155smdvxk899bw6y9l1i8vkkk8s4yp"
"sha1": "2fa007c7efdcab57172ef5a6327d8ec488899b23",
"sha256": "1bdvfmch78pvknr646757lv5z3vj0wlphjwsjh0mb9qlw99g2i6l"
}
},

Expand Down Expand Up @@ -5790,16 +5790,16 @@
},

{
"path": "com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4",
"path": "com/google/errorprone/error_prone_annotations/2.4.0/error_prone_annotations-2.4.0",
"host": "https://repo.maven.apache.org/maven2",
"type": "jar",
"pom": {
"sha1": "9a23fcb83bc8ed502506a8e6c648bf763dc5bcf9",
"sha256": "1vavpvwnawnfhw8lcnba1zv3w6c5zc8nm1kvc37wlz2g9f5769hk"
"sha1": "efece50811944f4b355130bc01f5eb2739d28e58",
"sha256": "0ks7330dr2ys6jb0zj3pgx8aadw7mj2d4n21117kv80f4vx4p9by"
},
"jar": {
"sha1": "dac170e4594de319655ffb62f41cbd6dbb5e601e",
"sha256": "0b00bg90n9ni33x0mpyx4iffzrrcbyx58s0vw59nqq6fjzmddxxs"
"sha1": "32ecccc595e4e4d813a80ee9e3ab5813d65874eb",
"sha256": "0a5287bvcaaqvx6y90zn7bqnjwrxb26k1ps9w25jwrha4d40cajz"
}
},

Expand Down Expand Up @@ -5834,12 +5834,12 @@
},

{
"path": "com/google/errorprone/error_prone_parent/2.3.4/error_prone_parent-2.3.4",
"path": "com/google/errorprone/error_prone_parent/2.4.0/error_prone_parent-2.4.0",
"host": "https://repo.maven.apache.org/maven2",
"type": "pom",
"pom": {
"sha1": "a9b9dd42d174a5f96d6c195525877fc6d0b2028a",
"sha256": "11i162j51sf2443ll9vs6j14lfcwknw59h6z1y7kklk0g91mnja0"
"sha1": "b9ca052d865d3ed214b61462960923998be720e8",
"sha256": "16l69qpwxaxk1qk18s15sadr3yykkj11rlp01p42lxfslk6s1pfy"
}
},

Expand Down Expand Up @@ -6182,16 +6182,16 @@
},

{
"path": "com/google/protobuf/protobuf-java/3.12.1/protobuf-java-3.12.1",
"path": "com/google/protobuf/protobuf-java/3.12.2/protobuf-java-3.12.2",
"host": "https://repo.maven.apache.org/maven2",
"type": "jar",
"pom": {
"sha1": "9f534fa0cea834450a87bb99ca02e36695037e2b",
"sha256": "1hdlmkcrkh8li38zqzvjfcd2f2lvknvydnpc3rxmr0hsj6pimfsz"
"sha1": "da3bb9dce2a722503f0d3e4f3b5eea93f737ba48",
"sha256": "1ijicnm83gq33px9c5r4man0n2zw6axrxsqw0jnm1miixyjz08cv"
},
"jar": {
"sha1": "48e4a0c3bf6750e6c4efa40a9f13defa869a2f57",
"sha256": "0b55fvlykjf14r01z4aymlrw4a35jklkkpvwm1zmyjybhz7mbq7w"
"sha1": "f0029524002295154c6b546d4e6bd1cfc5081874",
"sha256": "186a1lgmcfr3iml7bfxk9gnbsafyxmriqfyglvkwa85d7gwvx1dk"
}
},

Expand All @@ -6216,12 +6216,12 @@
},

{
"path": "com/google/protobuf/protobuf-parent/3.12.1/protobuf-parent-3.12.1",
"path": "com/google/protobuf/protobuf-parent/3.12.2/protobuf-parent-3.12.2",
"host": "https://repo.maven.apache.org/maven2",
"type": "pom",
"pom": {
"sha1": "63dbda33bf785fe89f47c99c18a7a68688794276",
"sha256": "1d7dsw32p6s69ffn7py229ndg6qrf0hrw6y6cxxjyq9xczf42338"
"sha1": "f5b5d4cb5e6d512f2fac5d2b08e599644a53c087",
"sha256": "0md51xi5af8yi9l1dpqbmysrvlll05zpvmalag6p4f6fykwcry05"
}
},

Expand Down Expand Up @@ -6420,16 +6420,16 @@
},

{
"path": "com/squareup/okio/okio/2.7.0-alpha.lockfree.1/okio-2.7.0-alpha.lockfree.1",
"path": "com/squareup/okio/okio/2.7.0-alpha.lockfree.2/okio-2.7.0-alpha.lockfree.2",
"host": "https://repo.maven.apache.org/maven2",
"type": "jar",
"pom": {
"sha1": "93f841606965109787a468e49a38c3e1031599e0",
"sha256": "1nnjv05r7x044ryh0dnsvib6220wqjbbxv3xxq68qjvq22yzq2nn"
"sha1": "c3e3eca5d192679ca91729b81992f0564e964b68",
"sha256": "11bp2yxj5k04cxrjamf1pbxkm1ghhv83z47f0blgl05mwgd1xpl0"
},
"jar": {
"sha1": "a025f03782f6c1aec46c151da0c0add297010f61",
"sha256": "0s7k48i95qqpqixs46xibzd7gw74d1a74m5m4939crjwjz4gkn86"
"sha1": "1b89666c085f2f7bbcc02e90b9f3b7e035314218",
"sha256": "06bimqyial008vxfn32bw3d4hx3d65022v6ahgvb78ipij2a3im9"
}
},

Expand Down Expand Up @@ -6540,12 +6540,12 @@
},

{
"path": "com/sun/xml/bind/jaxb-bom-ext/3.0.0-M3/jaxb-bom-ext-3.0.0-M3",
"path": "com/sun/xml/bind/jaxb-bom-ext/3.0.0-M4/jaxb-bom-ext-3.0.0-M4",
"host": "https://repo.maven.apache.org/maven2",
"type": "pom",
"pom": {
"sha1": "87660d0b2d3e743e8768ca35067798087429b69e",
"sha256": "0j4d162d4dmafi36pnx453k6sifrczjra52rnyyyqnm08ilv1df3"
"sha1": "f6b46b0e806dac58917a43223782b2aed39ea652",
"sha256": "1cnjk3dxw3qk8sp716qklk6jcfbg5ryg6fqgfgah180pll9slldq"
}
},

Expand All @@ -6560,12 +6560,12 @@
},

{
"path": "com/sun/xml/bind/mvn/jaxb-parent/3.0.0-M3/jaxb-parent-3.0.0-M3",
"path": "com/sun/xml/bind/mvn/jaxb-parent/3.0.0-M4/jaxb-parent-3.0.0-M4",
"host": "https://repo.maven.apache.org/maven2",
"type": "pom",
"pom": {
"sha1": "6f7a9a57584c760ade0ea1254867799389dc5ea9",
"sha256": "0gakrwa5yzhgaz26sj6h0lfiwgbd9cjfxh2zznlqh1jq2ak7kyhh"
"sha1": "1bacfd08abc2072018ec7c78e34cca867cea5548",
"sha256": "03k0i5wgizmx5r0f53djlfw7i9plb28qas796mr8vnp2rjy51a13"
}
},

Expand All @@ -6590,12 +6590,12 @@
},

{
"path": "com/sun/xml/bind/mvn/jaxb-txw-parent/3.0.0-M3/jaxb-txw-parent-3.0.0-M3",
"path": "com/sun/xml/bind/mvn/jaxb-txw-parent/3.0.0-M4/jaxb-txw-parent-3.0.0-M4",
"host": "https://repo.maven.apache.org/maven2",
"type": "pom",
"pom": {
"sha1": "c43f6d76e67507998c870bea97a4fb57b3dee903",
"sha256": "1lshn5izj3zp25whyv43dbinm73kf5lx64kkhvnkfvqjm0mmdlq4"
"sha1": "a796032f4a0117ba47401b9e3233df8d1779c0f3",
"sha256": "161nir0qk32pz7jnd8ljz9d37qbg28x20jfbwx6nhpk4n3492fkq"
}
},

Expand Down Expand Up @@ -8002,16 +8002,16 @@
},

{
"path": "org/checkerframework/checker-qual/3.4.0/checker-qual-3.4.0",
"path": "org/checkerframework/checker-qual/3.4.1/checker-qual-3.4.1",
"host": "https://repo.maven.apache.org/maven2",
"type": "jar",
"pom": {
"sha1": "ec1663cd82fd24839d5eb2b5de8dd9dca47b3f78",
"sha256": "0cs0vn3ka4vkn21c84lwv7kfqblq14kq4my1c9zavq71k5vvwibd"
"sha1": "48f9d7fe1e9df19b41d95388fed313dacddcea69",
"sha256": "0x4k1glx55qppc9cnri07va54fd20wg3hmgvj4s7rdrgjg8c0wc1"
},
"jar": {
"sha1": "36830784bdefda6dcf8fc217e0416d8291bfe7fa",
"sha256": "1hjsmh708hym8b2kvkfcv5hbk7j746gf5f1926wr26vaq0p90aia"
"sha1": "b3df2bf4d7d258e5aa192c3ac6f7f84688046262",
"sha256": "0zjha61sasdfyscmll51cjcnzxgqzqcmkq7w1yfdchh58s3wirdw"
}
},

Expand Down Expand Up @@ -8280,12 +8280,12 @@
},

{
"path": "org/glassfish/jaxb/jaxb-bom/3.0.0-M3/jaxb-bom-3.0.0-M3",
"path": "org/glassfish/jaxb/jaxb-bom/3.0.0-M4/jaxb-bom-3.0.0-M4",
"host": "https://repo.maven.apache.org/maven2",
"type": "pom",
"pom": {
"sha1": "4599efca8af86d90de8505c3f9f561e748cdf680",
"sha256": "1qfhsc7gz7w1xpkwfbli9yzm31vln3m5wxhwrg70l91f76i1sr3b"
"sha1": "eaa73c4a5fba23d9f3da8e95428bec55a722eabf",
"sha256": "1vqn88lq4x0y1n8h669myg5h6laizr53jwngmhjb1lipxz6gxcpl"
}
},

Expand All @@ -8304,16 +8304,16 @@
},

{
"path": "org/glassfish/jaxb/jaxb-core/3.0.0-M3/jaxb-core-3.0.0-M3",
"path": "org/glassfish/jaxb/jaxb-core/3.0.0-M4/jaxb-core-3.0.0-M4",
"host": "https://repo.maven.apache.org/maven2",
"type": "jar",
"pom": {
"sha1": "7bfd3d071e95e2a1ac7d76a717d5a0140bd2fc9f",
"sha256": "1j1dbbdsrgd2y8nxayrb18p2k7g89pwk54jbplhyy18px0h1gjaw"
"sha1": "e669c8c7c0cd75d3201ee3538588f7304b8dac8b",
"sha256": "0h8mvvbj743vvmyrvwmqpsf7qc1fl1l6vq19mwxpmvs0pisp0y9y"
},
"jar": {
"sha1": "b40a6d72c0c8aea8538f58f8f1a370dde74991d3",
"sha256": "0ag58wfvg0gwqg0rxyqj1j8siymz5nqaqpcpkx95nn5n6d1wzn5y"
"sha1": "47d4d84d0861122c71a4cdf71fc6c0b66d4a13f1",
"sha256": "193bkzs93cz6zl3n7q8qy1n9c9bm5lkcrmg66sbb3qk1rlrnw485"
}
},

Expand Down Expand Up @@ -8346,16 +8346,16 @@
},

{
"path": "org/glassfish/jaxb/txw2/3.0.0-M3/txw2-3.0.0-M3",
"path": "org/glassfish/jaxb/txw2/3.0.0-M4/txw2-3.0.0-M4",
"host": "https://repo.maven.apache.org/maven2",
"type": "jar",
"pom": {
"sha1": "3515e65f22e70651ec40652995d58d4639ab282f",
"sha256": "0n4zril9pk56a8jwaxpjhw44kdjmadnavz3dmds7g0hgmyblgrb0"
"sha1": "b5633883ac1e877537f805434c63254ee148d5c9",
"sha256": "0yvarhya3dxa3mhxv8cvrk1phnpa6l65grfanrvmj7ix160w1ilf"
},
"jar": {
"sha1": "402cd8ef4b6fb5b659da98dbf58647b97815b31e",
"sha256": "1ybrhsjacr13dp8g9b1hrl6rpn4p277vinzr1vmyv1fhf2ikgac8"
"sha1": "fef146e275c3f85b82977848df2573bcfe168b3b",
"sha256": "19a2q7cg16a093v337l7iyf7yl3rx87b8rvl0ynwhpmgvxd6qr2k"
}
},

Expand Down
Loading

0 comments on commit 93872dc

Please sign in to comment.