We're Hiring!

Mattermost, Inc.

How to integrate the Mattermost React Native app with an existing native iOS app?

I’m trying to integrate the Mattermost app inside a view of a Swift iOS app. I’m following the steps shown here https://reactnative.dev/docs/integration-with-existing-apps but I get these errors when the bundle is loaded:

Invariant Violation: Native module cannot be null.

Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)

It seems that it doesn’t find the app module inside the bundle, and I have found something weird
about the Mattermost app, it doesn’t have an AppRegistry.registerComponent defined.

@ahmaddanial would you be able to elaborate further on this, or direct it towards the correct people who would have the information needed to fix this one?