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…
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
__tests__
android
app
config
docs/react-native
ios
.babelrc
.buckconfig
.flowconfig
.gitattributes
.gitignore
.travis.yml
.watchmanconfig
App.js
LICENSE.txt
README.md
app.json
index.js
package.json
requirements.txt

README.md

Go-social

Codacy Badge Build Status License Gitter

The 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 kinds 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 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 don't have installed react-native yet 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 following command

    npm install

configure the config.example.js file (IMPORTANT)

Open the project in any text editor you would 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.

  • 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 realtime 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 you firebase details and google map api key in config.example.js file and rename it to config.js.

In order to work google map and facebook login you have to do some extra works. Follow these steps.

  1. find the file name AndroidManifest.xml which is located in android/app/src/main path. Place you 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 your are ready to run Go-social.

Run Go-social

  • run the app

    react-native run-android

    Then Enable the Remote Js Debugging.

You can’t perform that action at this time.