expo-modules-core
Advanced tools
Comparing version 1.10.0 to 1.11.0
@@ -6,3 +6,3 @@ cmake_minimum_required(VERSION 3.4.1) | ||
set(CMAKE_VERBOSE_MAKEFILE ON) | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD 20) | ||
set(PACKAGE_NAME "expo-modules-core") | ||
@@ -9,0 +9,0 @@ set(BUILD_DIR ${CMAKE_SOURCE_DIR}/build) |
@@ -15,3 +15,3 @@ # Copyright 2018-present 650 Industries. All rights reserved. | ||
target_compile_options(fabric PRIVATE | ||
"-std=c++17" | ||
"-std=c++20" | ||
${folly_FLAGS} | ||
@@ -47,2 +47,3 @@ ) | ||
ReactAndroid::react_render_mapbuffer | ||
ReactAndroid::react_utils | ||
ReactAndroid::rrc_view | ||
@@ -49,0 +50,0 @@ ReactAndroid::runtimeexecutor |
@@ -54,8 +54,4 @@ import invariant from 'invariant'; | ||
if ('remove' in nativeEmitterSubscription) { | ||
// `react-native-web@0.17.1` doesn't support `removeSubscription` | ||
nativeEmitterSubscription.remove(); | ||
} | ||
else if ('removeSubscription' in this._eventEmitter) { | ||
this._eventEmitter.removeSubscription(nativeEmitterSubscription); | ||
} | ||
this._listenerCount--; | ||
@@ -62,0 +58,0 @@ // Ensure that the emitter's internal state remains correct even if `removeSubscription` is |
import { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
/** | ||
* @deprecated `NativeModulesProxy` is deprecated and might be removed in the future releases. | ||
* Use `requireNativeModule` or `requireOptionalNativeModule` instead. | ||
*/ | ||
declare const _default: { | ||
@@ -3,0 +7,0 @@ [moduleName: string]: ProxyNativeModule; |
// We default to an empty object shim wherever we don't have an environment-specific implementation | ||
/** | ||
* @deprecated `NativeModulesProxy` is deprecated and might be removed in the future releases. | ||
* Use `requireNativeModule` or `requireOptionalNativeModule` instead. | ||
*/ | ||
export default {}; | ||
//# sourceMappingURL=NativeModulesProxy.js.map |
@@ -13,2 +13,24 @@ # Changelog | ||
## 1.11.0 — 2023-12-12 | ||
### 🎉 New features | ||
- Added support for React Native 0.73.0. ([#24971](https://github.com/expo/expo/pull/24971), [#25453](https://github.com/expo/expo/pull/25453) by [@gabrieldonadel](https://github.com/gabrieldonadel)) | ||
- Added `Data <-> Uint8Array` convertible on iOS. ([#25726](https://github.com/expo/expo/pull/25726) by [@kudo](https://github.com/kudo)) | ||
- Added `ByteArray <-> Uint8Array` convertible on Android. ([#25727](https://github.com/expo/expo/pull/25727) by [@kudo](https://github.com/kudo)) | ||
### 🐛 Bug fixes | ||
- [Android] Prevent the app from crashing during reloading when an unfinished promise tries to execute. | ||
- [Android] Fix `JavaScriptFunction` not working when the return type wasn't provided. ([#25688](https://github.com/expo/expo/pull/25688) by [@lukmccall](https://github.com/lukmccall)) | ||
- [Android] Fix requesting only `WRITE_SETTINGS` rejecting promise even if the permission was granted. ([#25732](https://github.com/expo/expo/pull/25732) by [@lukmccall](https://github.com/lukmccall)) | ||
- [Android] Fix functions that are scheduled on the main thread weren't being called as soon as possible. ([#25757](https://github.com/expo/expo/pull/25757) by [@lukmccall](https://github.com/lukmccall)) | ||
### 💡 Others | ||
- [iOS] Made dynamic types creation faster. ([#25390](https://github.com/expo/expo/pull/25390) by [@tsapeta](https://github.com/tsapeta)) | ||
- [iOS] Add `FileSystemUtilities` to replace legacy interfaces. ([#25495](https://github.com/expo/expo/pull/25495) by [@alanhughes](https://github.com/alanjhughes)) | ||
- Bump C++ compiler setting to C++20. ([#25548](https://github.com/expo/expo/pull/25548) by [@kudo](https://github.com/kudo)) | ||
- Marked `NativeModulesProxy` as deprecated in favor of `requireNativeModule` and `requireOptionalNativeModule`. ([#25666](https://github.com/expo/expo/pull/25666) by [@tsapeta](https://github.com/tsapeta)) | ||
## 1.10.0 — 2023-11-14 | ||
@@ -15,0 +37,0 @@ |
{ | ||
"name": "expo-modules-core", | ||
"version": "1.10.0", | ||
"version": "1.11.0", | ||
"description": "The core of Expo Modules architecture", | ||
@@ -47,3 +47,3 @@ "main": "build/index.js", | ||
}, | ||
"gitHead": "3142a086578deffd8704a8f1b6f0f661527d836c" | ||
"gitHead": "6aca7ce098ddc667776a3d7cf612adbb985e264a" | ||
} |
@@ -90,6 +90,3 @@ import invariant from 'invariant'; | ||
if ('remove' in nativeEmitterSubscription) { | ||
// `react-native-web@0.17.1` doesn't support `removeSubscription` | ||
nativeEmitterSubscription.remove(); | ||
} else if ('removeSubscription' in this._eventEmitter) { | ||
this._eventEmitter.removeSubscription(nativeEmitterSubscription!); | ||
} | ||
@@ -96,0 +93,0 @@ this._listenerCount--; |
import { ProxyNativeModule } from './NativeModulesProxy.types'; | ||
// We default to an empty object shim wherever we don't have an environment-specific implementation | ||
/** | ||
* @deprecated `NativeModulesProxy` is deprecated and might be removed in the future releases. | ||
* Use `requireNativeModule` or `requireOptionalNativeModule` instead. | ||
*/ | ||
export default {} as { [moduleName: string]: ProxyNativeModule }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1502857
729
1904