Skip to content

Commit 8780569

Browse files
author
Krzysztof
authored
fix: Expo fallback function exporting (#552)
1 parent aca9af9 commit 8780569

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.circleci/config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,14 @@ workflows:
314314
requires:
315315
- "Test: lint"
316316
- "Test: flow"
317+
- "Test: Android e2e":
318+
requires:
319+
- "Build: Android release apk"
317320
- "Release":
318321
requires:
319322
- "Test: iOS e2e"
320-
- "Build: Android release apk"
323+
- "Test: Android e2e"
321324
filters:
322325
branches:
323326
only: master
324-
- "Test: Android e2e":
325-
requires:
326-
- "Build: Android release apk"
327+

src/shouldFallbackToLegacyNativeModule.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const {NativeModules} = require('react-native');
22

3-
export default function shouldFallbackToLegacyNativeModule() {
3+
module.exports = function shouldFallbackToLegacyNativeModule() {
44
const expoConstants =
55
NativeModules.NativeUnimoduleProxy?.modulesConstants?.ExponentConstants;
66

@@ -27,4 +27,4 @@ export default function shouldFallbackToLegacyNativeModule() {
2727
}
2828

2929
return false;
30-
}
30+
};

0 commit comments

Comments
 (0)