Need help with Expo.linking on detached expo project.

As I wrote, I tried to send my app url that can give the user can go back to my app when the link is clicked…

import { AppLoading, Asset, Font, Icon } from 'expo';

import AppNavigator from './navigation/AppNavigator';

import { GlobalContextProvider } from './GlobalContext';

import OneSignal from 'react-native-onesignal';

import { Provider } from 'react-redux';

import { createStore } from 'redux';

import { Linking } from "expo";

import reducers from './reducers';

const uriPrefix = Linking.makeUrl("/");


Linking.makeUrl("/") gives me an result:


but this doesn’t act like link. I tried send it to devices’s calendar event, but this just don’t clickable.

Thanks in advance.

I remember running into this, as well, with ExpoKit. I’m not sure I ever solved it. One thing you can do is look at AndroidManifest.xml / Info.plist and see if that prefix shows up anywhere and change it (it looks like one of the default ones when you eject).

I don’t remember if that actually fixed the issue, because I realized I didn’t need Linking.makeUrl() for my use case. To the extent I needed URL construction/ validation, I used the urijs npm package and stored my app prefix somewhere in code.