Skip to content

Community of today used to use mobile phones to make their life easier and Community based mobile applications are famous among them. There are several kind of community based applications in use and most of them are relating to a specific domain. But core components have similar features. Address this issue and saving development time by Introd…

License

Notifications You must be signed in to change notification settings

scorelab/Go-social

Repository files navigation

Go-social

Codacy Badge Build Status License Gitter

Today's community use mobile phones to make their life easier, and community-based mobile applications are famous among them. There are several kinds of community-based applications in use, and most of them relate to a specific domain. But core components have similar features. Addressing this issue and saving development time by introducing a common app template with customizable components for community-based mobile applications is the main purpose of this project.

Setup the project

NOTE: If you have not yet installed react-native, use this link to install and configure react-native. Make sure to use react-native cli rather than using expo cli.

Configure Go-social

  • Clone the project

    git clone https://github.com/scorelab/Go-social.git

  • Change the directory to the project folder

    cd Go-social

  • Install the node modules with the following command

    npm install

Configure the config.example.js file (IMPORTANT)

Open the project in any text editor you use. Open the config.example.js file in the config folder and follow the following steps.

  • Use this link to create a Firebase project for the Go-social application. It is free for everyone. Please use the web app instead of the Android or iOS app.

  • Update the Sign-in method of Firebase project that you want to use as Enabled

  • Create a Firebase Database and Update the Ruleset of the real-time database to Read/Write Allow.

  • Use this link to generate Google Map Api key for the map view in G-social. This is not necessary. You can use the given api key. But it is not guaranteed that the given key will always work. It is better to have your own key. Enable all maps, routes, places in your key.

  • Now you need a Facebook app id if you want to enable Facebook login for Go-social. Use this link for that and make sure to enable both email/password and Facebook sign-in method in Firebase.

So place your Firebase details and Google map API key in config.example.js file and rename it to config.js.

  • To make Google map and Facebook login to work, you have to follow these extra steps.*
  1. Find the file name AndroidManifest.xml which is located in android/app/src/main path. Place your Google map API key in there.

    Ex : <meta-data

    android:name="com.google.android.geo.API_KEY"
    android:value=**"AIzaSyDmwJddIPTcALyZtj7p9mFFlkMvpMkati8"**/>
    
  2. Find the file name as strings.xml located in android/app/src/main/res/values. Place your Facebook app id in there.

    Ex: 2349388348405699

So now you are ready to run Go-social.

Run Go-social

  • Run the app

    npx react-native run-android

    Then enable the remote Js debugging.

About

Community of today used to use mobile phones to make their life easier and Community based mobile applications are famous among them. There are several kind of community based applications in use and most of them are relating to a specific domain. But core components have similar features. Address this issue and saving development time by Introd…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published