Ejecting from Expo - expo

I have to eject from expo in my react native project, but I still want to maintain some functionalities provided by their libraries, like notifications. Is it possible?
Thanks in advance!

Starting with SDK33 Expo was changed to install its own modules separately as required. If you have installed and used the notification module using expo install, you can use it normally even with an eject.
Check whether a module is available on MainApplication.java for Android or info.list for ios.

Related

Expo React-Native IOS simulator not working due to version incompatibility

i have downloaded a react native project which uses 40.0.0 version of expo go, however my IOS simulator supports the newer version of expo go versions like 41.0.0,42.0.0,43.0.0. how can i deal with this? is it by updating the version of the project ??
that's happening because every few versions that Expo is updated, they deprecate the oldest one.
To fix this is very easy.
1 - Kill the server
2 - run expo upgrade sdk version
3 - run expo start again.
I hope it was helpful. :)
cheers
Exactly. Your problem is that your project expo SDK version is too old (which is not recommended for several reasons, one of which is that you won't be able to upload your project to the stores later).
It is recommended to always have the Expo SDK of your project updated.

Is there any expo professionals that can tell me what I'm doing wrong? (expo)

I am using a third party react native library:
https://github.com/terrylinla/react-native-sketch-canvas
I am getting errors on a brand new expo init just by importing this into app.js
Is there any expo professionals that can tell me what I'm doing wrong?
react-native-sketch-canvas seems to be using a native dependency so you can't use it directly with an expo (Managed workflow) app. To know if a lib is using a native dependency, you can see if it needs a link command during the installation:
react-native link #terrylinla/react-native-sketch-canvas
You will first need to eject your app and you will be able to use that lib.
https://docs.expo.io/workflow/customizing/

Is it possible to publish expo after install dependency?

after build expo, i released at play store.
After this i installed dependency to add useful function.
("react-native-draggable-flatlist")
is it possible to publish?
If this is not possible, I have to remake apk.
oh, and if i built expo(making apk file), can i publish?
I didn't take any action before build.
yes you can after building expo released apk
If you make any of the following changes in app.json, you will need to re-build the binaries for your app for the change to take effect: Increment the Expo SDK Version Change anything under the ios, android, or notification keys Change your app splash Change your app icon Change your app name Change your app owner Change your app scheme List item Heading
see the doc here

Allow installation of apps from unknown sources inside work profile in Android Marshmallow

I've managed to set WSO2 EMM 2.2.0 server and have tested out the emm android agent which works. However, for "Android for work", when I tried to push enterprise applications, it says that "Your administrator doesn't allow installation of apps obtained from unknown sources".
Is there a way to install the apps in the work profile from unknown sources?
The intention of work-profile is to have a safe container for work-related data. Therefore Android is not allowing to install apps from unknown sources in work-profile what so ever. What is only possible is enabling playstore in the work-profile and downloading apps from there.
The only work-around that you can do to install apps from unknown source is by ADB.
Configure the work profile first and then using ADB push an app to the device. The app will be installed in both work-profile and personal profile.
At the moment that is the only work-around possible.
Android for Work is still not saturated. There are grey areas to be addressed. I believe Android will come up with options for this scenario soon.

Heroku: Replacement for Anvil builds?

I used to use Anvil (through hammer) to build some native libs to be bundled with a rails app. Specifically I was building libapngasm using this:
https://github.com/Kagetsuki/heroku-buildpack-apngasm
Unfortunately it seems Anvil has been discontinued and I couldn't find any information on how to do a remote build and retrieve the resulting binaries through the Build API.
Is there a new alternative to Anvil? What is a "correct" way to do this?
OK, the official answer here was a little more obvious than I had expected. Basically if you're running the same gcc/libc~ as that stack your dyno is running compile locally. Otherwise just spin up a VM or a docker image with a compatible version and build on that. Then just vendorize the libraries/binaries into your app repository so they'll be bundled up with the slug when you push. Finally, set your heroku environment load path to find the libs/bins you bundled.