Help

Embedding a Community into a React Native app

You can embed a community into your React Native app by using a WebView.

Here is example code that you can use:

import React from 'react';
import { StyleSheet, View } from 'react-native';
import { WebView } from 'react-native-webview';

const HomeScreen = () => {
  return (
      <View style={{ flex: 1, width: '100%'}}>
      <WebView
        overScrollMode='content'
          source={{ uri: 'https://FORUM_ADDRESS' }}
        />
      </View>
  );
}
export default HomeScreen;

const styles = StyleSheet.create({});

Replace https://FORUM_ADDRESS with your community address.



or learn more