fix: Fix AVAudioSession not allowing background music playback (#155)

* Set category always if different

* rename org

* Fix video format sorting

* fix format filtering

* Update AVAudioSession+setCategoryIfNotSet.swift

* upgrade all dependencies

* Also run dependabot for JS codebase

* Update MediaPage.tsx

* Use typescript 4.2.4

* Also run TS in check-all

* Downgrade typescript to 4.2.3

* f

* recreate lockfiles

* docs: Revert package.json changes

* revert all package.json changes

* Update Podfile.lock

* bump all dependencies, pin typescript to 4.2.4

* Downgrade react-native-navigation for now

* upgrade to later snapshot

* Update yarn.lock

* remove yeet
This commit is contained in:
Marc Rousavy
2021-06-01 13:07:57 +02:00
committed by GitHub
parent 8189173120
commit 71730a73ef
76 changed files with 2416 additions and 3789 deletions

View File

@@ -3,7 +3,7 @@
// VisionCamera
//
// Created by Marc Rousavy on 30.04.21.
// Copyright © 2021 Facebook. All rights reserved.
// Copyright © 2021 mrousavy. All rights reserved.
//
#pragma once

View File

@@ -3,7 +3,7 @@
// VisionCamera
//
// Created by Marc Rousavy on 02.05.21.
// Copyright © 2021 Facebook. All rights reserved.
// Copyright © 2021 mrousavy. All rights reserved.
//
#import "JSIUtils.h"
@@ -146,7 +146,7 @@ id convertJSIValueToObjCObject(jsi::Runtime &runtime, const jsi::Value &value, s
}
return convertJSIObjectToNSDictionary(runtime, o, jsInvoker);
}
throw std::runtime_error("Unsupported jsi::jsi::Value kind");
}
@@ -158,30 +158,30 @@ RCTResponseSenderBlock convertJSIFunctionToCallback(jsi::Runtime &runtime, const
if (wrapperWasCalled) {
throw std::runtime_error("callback arg cannot be called more than once");
}
auto strongWrapper = weakWrapper.lock();
if (!strongWrapper) {
return;
}
strongWrapper->jsInvoker().invokeAsync([weakWrapper, responses]() {
auto strongWrapper2 = weakWrapper.lock();
if (!strongWrapper2) {
return;
}
const jsi::Value* args = convertNSArrayToJSICStyleArray(strongWrapper2->runtime(), responses);
strongWrapper2->callback().call(strongWrapper2->runtime(), args, static_cast<size_t>(responses.count));
strongWrapper2->destroy();
delete[] args;
});
wrapperWasCalled = YES;
};
if (RCTTurboModuleBlockCopyEnabled()) {
return [callback copy];
}
return callback;
}

View File

@@ -3,7 +3,7 @@
// Cuvent
//
// Created by Marc Rousavy on 15.01.21.
// Copyright © 2021 Facebook. All rights reserved.
// Copyright © 2021 mrousavy. All rights reserved.
//
import Foundation

View File

@@ -3,7 +3,7 @@
// Cuvent
//
// Created by Marc Rousavy on 14.01.21.
// Copyright © 2021 Facebook. All rights reserved.
// Copyright © 2021 mrousavy. All rights reserved.
//
import Foundation

View File

@@ -3,7 +3,7 @@
// VisionCamera
//
// Created by Marc Rousavy on 23.03.21.
// Copyright © 2021 Facebook. All rights reserved.
// Copyright © 2021 mrousavy. All rights reserved.
//
#pragma once

View File

@@ -3,7 +3,7 @@
// VisionCamera
//
// Created by Marc Rousavy on 23.03.21.
// Copyright © 2021 Facebook. All rights reserved.
// Copyright © 2021 mrousavy. All rights reserved.
//
#import "RCTBridge+runOnJS.h"

View File

@@ -3,7 +3,7 @@
// Cuvent
//
// Created by Marc Rousavy on 15.12.20.
// Copyright © 2020 Facebook. All rights reserved.
// Copyright © 2020 mrousavy. All rights reserved.
//
import Foundation