alantoa / universal-tooltip

A universal Tooltip component for React Native and Web, powered by expo-modules.
167 stars 6 forks source link

The native view manager required by name (UniversalTooltip) from NativeViewManagerAdapter isn't exported by expo-modules-core. #13

Open JmarkMunda opened 11 months ago

JmarkMunda commented 11 months ago

The native view manager required by name (UniversalTooltip) from NativeViewManagerAdapter isn't exported by expo-modules-core. Views of this type may not render correctly. Exported view managers: [ExpoLinearGradient, ExpoVideoView, ExpoBarCodeScanner, ExponentGLView, ExpoImage, ExponentCamera].

alantoa commented 11 months ago

@JmarkMunda hey, what is your version of expo-modules-core?

plam-ml commented 9 months ago

I am getting kind of similar error with ViewManagerAdapter also

Screenshot 2024-01-25 at 10 45 57 PM
    "expo": "^50.0.3",
    "expo-av": "~13.10.3",
    "expo-blur": "~12.9.1",
    "expo-build-properties": "~0.11.0",
    "expo-checkbox": "~2.7.0",
    "expo-clipboard": "~5.0.1",
    "expo-constants": "~15.4.5",
    "expo-crypto": "~12.8.0",
    "expo-font": "~11.10.2",
    "expo-linear-gradient": "~12.7.1",
    "expo-linking": "~6.2.2",
    "expo-splash-screen": "~0.26.4",
    "expo-status-bar": "~1.11.1",
    "expo-updates": "~0.24.8",
matrunchyk commented 8 months ago

Same for me

"expo": "~50.0.8",
"react": "18.2.0",
"react-native": "0.73.4",
"expo-modules-core": "1.11.9"
alantoa commented 8 months ago

Well, let me test it now. Thanks for you guys reporting it.

alantoa commented 8 months ago

Hey, @matrunchyk @plam-ml @JmarkMunda I just tried to upgrade Expo to SDK 50, but I haven't encountered any issues with the current version of the library. I think it might be your project setup missing something. Can you guys follow this example project's setup to see?

alantoa commented 8 months ago

Have you guys tried to add this to your project?

    "plugins": [
      [
        "expo-build-properties",
        {
          "ios": {
            "useFrameworks": "static",
            "deploymentTarget": "14.1",
            "unstable_networkInspector": true
          },

          "android": {
            "compileSdkVersion": 34,
            "targetSdkVersion": 34,
            "minSdkVersion": 24,
            "buildToolsVersion": "34.0.0",
            "kotlinVersion": "1.8.0",
            "unstable_networkInspector": true
          }
        }
      ]
    ]
matrunchyk commented 8 months ago

I tried this config https://github.com/alantoa/universal-tooltip#expo Thought my expo yelled on me and said it should be at least 13.4

I will try your new config, thanks!

alantoa commented 8 months ago

Oh, it seems that the error is because you need to run npx pod install on your iOS project. The error indicates that you have not installed the native package to your Pod i guess

matrunchyk commented 8 months ago

I'm not that familiar with pods, but that's what it say when I run npx pod install:

(node:91855) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/username/.npm/_npx/a0ca5f5666585aa2/node_modules/isbinaryfile/package.json' of './lib/panino.js'. Please either fix that or report it to the module author (Use node --trace-deprecation ... to show where the warning was created) POD ERR unknown command install

sp0033212000 commented 7 months ago

same issue, and Our project is using expo@50, so basically, we can't run npx pod install

alantoa commented 7 months ago

Can you guys try this?

npx expo prebuild --clean
npx expo run:ios

Seems like your node path is messed up.

AdamElitzur commented 3 months ago

Or if you are using a development build, you have to rebuild after installation. That was my issue