-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support new React Native architecture #42
Comments
@MaxAst Still running into this issue and I'm totally unsure why. When I run it through the xcode debugger by attaching a debugger to the process, these are the logs I get:
And then the process just aborts. Would love some more insight here if you have any, thanks! |
@MaxAst As a third follow up - I tried to get the share extension working with a minimum reproducible example, but I'm still running into the same issue. Here is the repo for the example - all the files are there. I essentially just ran Please let me know if you can help out here, thanks! |
@MaxAst Okay! I finally figured out what was causing the issue: it's because I'm using the new react native architecture through expo's expo-build-properties. In my plugins, I have the following:
and when I remove it, there's no crash! Going to update this card to detail 'support new architecture'. Thx again for the lib, going to be using this all the time |
ohh interesting, thanks for reporting @chris-sark! I'll make sure that the new architecture is supported going forward. Sorry for getting back to you late, I haven't had much time for expo-share-extension over the past month |
No worries! I'll likely be around a lot posting bugs / requests, looking forward to collaborating! While I have you - what's the best way to share data between the extension and the main app via async storage? I need to make an api call in the share extension which requires a token stored in async storage under the main app. Thanks again! |
For that I use react-native-mmkv |
@MaxAst Hi, may I ask how you are using mmkv without the new arch enabled? mmkv supports app groups from the version 3 and up which requires the new arch. |
@AkbarKhamid I ended up using |
I do not think app groups are supported by mmkv in versions below 3.x (per the release notes). |
I've got everything working aside from an issue with font scaling. Once this is fixed, the new architecture is ready |
Hello,
I am having a very similar issue to this one. The extension is hanging in the exact same way as the video in that issue, and I am unsure why. I have excluded expo-updates as well as most other expo packages I don't need, and for some reason I'm still getting crashes.
related files:
app.json
babel.config.js
package.json
All other files are the same as in the previously mentioned issue. the only other difference is that I am using eas build instead of prebuild. I did try running prebuild to see if there was maybe a problem with using eas build, but it still crashes. Let me know what I might be missing. Thanks!
The text was updated successfully, but these errors were encountered: