universal-tooltip icon indicating copy to clipboard operation
universal-tooltip copied to clipboard

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

Open jmbmunda opened this issue 1 year ago • 12 comments

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].

jmbmunda avatar Nov 16 '23 02:11 jmbmunda

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

alantoa avatar Nov 16 '23 10:11 alantoa

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",

plam-ml avatar Jan 26 '24 06:01 plam-ml

Same for me

"expo": "~50.0.8",
"react": "18.2.0",
"react-native": "0.73.4",
"expo-modules-core": "1.11.9"

matrunchyk avatar Feb 29 '24 15:02 matrunchyk

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

alantoa avatar Feb 29 '24 15:02 alantoa

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 avatar Feb 29 '24 20:02 alantoa

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
          }
        }
      ]
    ]

alantoa avatar Feb 29 '24 20:02 alantoa

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!

matrunchyk avatar Feb 29 '24 20:02 matrunchyk

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

alantoa avatar Feb 29 '24 20:02 alantoa

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

matrunchyk avatar Feb 29 '24 21:02 matrunchyk

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

sp0033212000 avatar Apr 11 '24 03:04 sp0033212000

Can you guys try this?

npx expo prebuild --clean
npx expo run:ios

Seems like your node path is messed up.

alantoa avatar Apr 11 '24 15:04 alantoa

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

AdamElitzur avatar Jul 31 '24 05:07 AdamElitzur