How to create a native module with the Expo modules API

Поділитися
Вставка
  • Опубліковано 7 лют 2025

КОМЕНТАРІ • 33

  • @promisesheggs8863
    @promisesheggs8863 5 місяців тому +16

    I love this new initiative from the expo team. Putting out very informative content on the Expo youtube channel helps alot. I look forward to more of this.

  • @mycloudvip
    @mycloudvip 5 місяців тому +2

    great video! about time Expo is offering videos like these! Thumbs up! how about a voice recognition video using the device's native engine for any language (no time limit option) ... that would be awesome! (ios / android)

  • @sandylewis79
    @sandylewis79 5 місяців тому

    Wow, what a great video. Thank you so much for this.

  • @fercervantesx
    @fercervantesx 10 днів тому

    Thanks for the tutorial! Really helpful! I just finished creating my expo module, now how do I publish it?

  • @josephmgift
    @josephmgift 2 місяці тому +1

    Awesome

  • @lahoriji5828
    @lahoriji5828 5 місяців тому

    Love this

  • @channyeintun6411
    @channyeintun6411 5 місяців тому

    Thanks

  • @GabrielLogan17
    @GabrielLogan17 5 місяців тому

    I installed it locally and it worked perfectly, but when I published it on npm and tried to use it in another expo project I received the following error:
    Error: Cannot find native module 'ExpoBarcode', js engine: hermes
    What do I do ?

    • @GabrielLogan17
      @GabrielLogan17 5 місяців тому

      Apparently it only works with npx expo run:android or npx expo run:ios, but it's not working with expo go, only on emulators. My native expo module won't work on expo go?

    • @GabrielLogan17
      @GabrielLogan17 5 місяців тому

      I tested a native lib of mine with react native cli, and it also worked with expo bare, but then the expo modules becomes useless because I don't see the purpose of doing something with expo when I can do it with react native and get the same result with expo, and even get a better result with react native. I wanted to understand more about why... AND IF there is a way for me to run my native lib downloaded from npm in expo GO if not... Expo modules are of no use to common users as I said.

    • @usmansbk
      @usmansbk 4 місяці тому +1

      create a expo development client to use the module

  • @kavy6114
    @kavy6114 4 місяці тому

    How do i install dependencies for the native ios?

    • @ExpoDevelopers
      @ExpoDevelopers  4 місяці тому

      How to wrap native libraries | Expo modules tutorial
      ua-cam.com/video/M8eNfH1o0eE/v-deo.html

  • @ярославчорний-з4ь
    @ярославчорний-з4ь 4 місяці тому

    ✖ Installing module dependencies
    Error: npm install exited with non-zero code: 1

  • @MikhailAdutskevich
    @MikhailAdutskevich Місяць тому

    How to install third party sdk into native module?

    • @daniel-moniz
      @daniel-moniz Місяць тому

      Good question, I want to know also

  • @sahilverma_dev
    @sahilverma_dev 5 місяців тому

    can i create a native module in windows?

    • @oliverloops.
      @oliverloops. 5 місяців тому

      Yes but the only exception is Xcode support, but you can use VScode and a Swift highlight extension directly to add or modify Swift code

    • @sahilverma_dev
      @sahilverma_dev 4 місяці тому +1

      @@oliverloops. I am not sure about it I am not even able to make a project
      i am getting
      set -eo pipefail
      error everytime

    • @frammolzamanda3129
      @frammolzamanda3129 4 місяці тому

      @@sahilverma_dev The initialization script for create-expo-module currently only supports Unix-like systems. What you need to do is switch to Linux or macOS for development, or rewrite a set of initialization scripts that support Windows.

    • @sahilverma_dev
      @sahilverma_dev 4 місяці тому

      @@frammolzamanda3129 yeah just got to know about this.
      Thankx for the reply

  • @shaoncode
    @shaoncode 4 місяці тому

    I wonder why you set the setTheme in the dependency array instead of the theme?

  • @omarms3341
    @omarms3341 Місяць тому +1

    Could you please check this tutorial on windows ? just the android part

  • @akosbalint3485
    @akosbalint3485 2 місяці тому +1

    Could you check/run this tutorial on windows? I have error even at creating an empty module.

    • @ExpoDevelopers
      @ExpoDevelopers  2 місяці тому

      You need a mac to develop an iOS module!

    • @akosbalint3485
      @akosbalint3485 2 місяці тому

      @@ExpoDevelopers I am talking about android native module.

    • @akosbalint3485
      @akosbalint3485 2 місяці тому

      @@ExpoDevelopers * I have problem with that part.

  • @AllahomAnsorGaza
    @AllahomAnsorGaza 3 місяці тому +1

    please create native module for over other apps for android

    • @ExpoDevelopers
      @ExpoDevelopers  3 місяці тому

      Can you elaborate more on what you mean?

  • @shafiqrezal-w8w
    @shafiqrezal-w8w 4 місяці тому

    Cannot find module '@octokit/request'

  • @shafiqrezal-w8w
    @shafiqrezal-w8w 4 місяці тому

    Cannot find module '@octokit/request'