├── .watchmanconfig
├── android
├── settings.gradle
├── app
│ ├── src
│ │ └── main
│ │ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ └── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── AndroidManifest.xml
│ │ │ └── java
│ │ │ └── com
│ │ │ └── social
│ │ │ └── MainActivity.java
│ ├── proguard-rules.pro
│ ├── react.gradle
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── build.gradle
├── gradle.properties
├── gradlew.bat
└── gradlew
├── TPlus.png
├── ios
├── Roboto-Bold.ttf
├── Roboto-Regular.ttf
├── Social
│ ├── AppDelegate.h
│ ├── main.m
│ ├── Images.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── Info.plist
│ ├── AppDelegate.m
│ └── Base.lproj
│ │ └── LaunchScreen.xib
├── SocialTests
│ ├── Info.plist
│ └── SocialTests.m
└── Social.xcodeproj
│ ├── xcshareddata
│ └── xcschemes
│ │ └── Social.xcscheme
│ └── project.pbxproj
├── StyleVars.js
├── .gitignore
├── package.json
├── Views
├── LogoutButton.js
├── ContactsButton.js
├── OnboardingButton.js
├── LoadingView.js
├── PostButton.js
├── PostListView.js
├── Button.js
├── PostListItem.js
└── RootNavigator.js
├── index.ios.js
├── Actions.js
├── SharedStyles.js
├── AccessToken.js
├── index.android.js
├── LICENSE
├── README.md
├── Routes.js
├── .flowconfig
├── ApiRequest.js
├── Screens
├── Home.js
├── Onboarding.js
├── Contacts.js
└── Login.js
└── DataStore.js
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'Social'
2 |
3 | include ':app'
4 |
--------------------------------------------------------------------------------
/TPlus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/build-a-social-app-with-react-native/HEAD/TPlus.png
--------------------------------------------------------------------------------
/ios/Roboto-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/build-a-social-app-with-react-native/HEAD/ios/Roboto-Bold.ttf
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Social
3 |
4 |
--------------------------------------------------------------------------------
/ios/Roboto-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/build-a-social-app-with-react-native/HEAD/ios/Roboto-Regular.ttf
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/build-a-social-app-with-react-native/HEAD/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/build-a-social-app-with-react-native/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/build-a-social-app-with-react-native/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/build-a-social-app-with-react-native/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/build-a-social-app-with-react-native/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
6 |
--------------------------------------------------------------------------------
/StyleVars.js:
--------------------------------------------------------------------------------
1 | export default {
2 | Colors: {
3 | primary: "rgb(42, 55, 68)",
4 | secondary: "rgb(130, 181, 65)",
5 | navBarBackground: "rgb(42, 55, 68)",
6 | navBarTitle: "white",
7 | lightBackground: "rgb(250, 250, 250)",
8 | mediumBackground: "rgb(240, 240, 240)",
9 | darkBackground: "rgb(200, 200, 200)"
10 | },
11 |
12 | Fonts: {
13 | logo: "Arial",
14 | general: "Roboto"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # Xcode
6 | #
7 | build/
8 | *.pbxuser
9 | !default.pbxuser
10 | *.mode1v3
11 | !default.mode1v3
12 | *.mode2v3
13 | !default.mode2v3
14 | *.perspectivev3
15 | !default.perspectivev3
16 | xcuserdata
17 | *.xccheckout
18 | *.moved-aside
19 | DerivedData
20 | *.hmap
21 | *.ipa
22 | *.xcuserstate
23 | project.xcworkspace
24 |
25 | # Android/IJ
26 | #
27 | .idea
28 | .gradle
29 | local.properties
30 |
31 | # node.js
32 | #
33 | node_modules/
34 | npm-debug.log
35 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Social",
3 | "version": "0.0.1",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start"
7 | },
8 | "dependencies": {
9 | "firebase": "^2.4.2",
10 | "react": "^0.14.8",
11 | "react-native": "^0.22.2",
12 | "react-native-addressbook": "github:rt2zz/react-native-addressbook",
13 | "react-native-geocoder": "^0.3.1",
14 | "react-native-image-picker": "^0.18.5",
15 | "reflux": "^0.4.0"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/ios/Social/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | @interface AppDelegate : UIResponder
13 |
14 | @property (nonatomic, strong) UIWindow *window;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ios/Social/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | #import "AppDelegate.h"
13 |
14 | int main(int argc, char * argv[]) {
15 | @autoreleasepool {
16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Views/LogoutButton.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | Text,
4 | TouchableOpacity
5 | } from 'react-native';
6 |
7 | import Actions from 'Social/Actions';
8 |
9 | export default class LogoutButton extends React.Component {
10 | render() {
11 | let style = { marginLeft: 10, color: "white" };
12 |
13 | return (
14 | this.onPress()}
18 | >
19 | Logout
20 |
21 | );
22 | }
23 |
24 | onPress() {
25 | Actions.logout();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Views/ContactsButton.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | Text,
4 | TouchableOpacity
5 | } from 'react-native';
6 |
7 | import Actions from 'Social/Actions';
8 |
9 | export default class ContactsButton extends React.Component {
10 | render() {
11 | let style = { marginRight: 10, color: "white" };
12 |
13 | return (
14 | this.onPress()}
18 | >
19 | Continue
20 |
21 | );
22 | }
23 |
24 | onPress() {
25 | Actions.addContacts.started();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Views/OnboardingButton.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | Text,
4 | TouchableOpacity
5 | } from 'react-native';
6 |
7 | import Actions from 'Social/Actions';
8 |
9 | export default class OnboardingButton extends React.Component {
10 | render() {
11 | let style = { marginRight: 10, color: "white" };
12 |
13 | return (
14 | this.onPress()}
18 | >
19 | Continue
20 |
21 | );
22 | }
23 |
24 | onPress() {
25 | Actions.onboard.started();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/index.ios.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | StyleSheet,
4 | View
5 | } from 'react-native';
6 |
7 | import RootNavigator from 'Social/Views/RootNavigator';
8 |
9 | console.disableYellowBox = true;
10 |
11 | const styles = StyleSheet.create({
12 | container: {
13 | flex: 1,
14 | position: "absolute",
15 | left: 0,
16 | right: 0,
17 | bottom: 0,
18 | top: 0
19 | }
20 | });
21 |
22 | class Social extends React.Component {
23 | render() {
24 | return (
25 |
26 |
27 |
28 | );
29 | }
30 | }
31 |
32 | React.AppRegistry.registerComponent('Social', () => Social);
33 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.1'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | mavenLocal()
18 | jcenter()
19 | maven {
20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
21 | url "$projectDir/../../node_modules/react-native/android"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ios/Social/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/Actions.js:
--------------------------------------------------------------------------------
1 | import Reflux from 'reflux';
2 |
3 | import AccessToken from 'Social/AccessToken';
4 |
5 | let actions = Reflux.createActions([
6 | "auth",
7 | "unauth",
8 | { login: { asyncResult: true } },
9 | "logout",
10 | { signup: { asyncResult: true } },
11 | { loadUser: { asyncResult: true } },
12 | { onboard: { asyncResult: true, children: ["started"] } },
13 | { addContacts: { asyncResult: true, children: ["started"] } },
14 | { uploadPost: { asyncResult: true } },
15 | { loadPosts: { asyncResult: true } },
16 | ]);
17 |
18 | actions.auth.listen(function () {
19 | AccessToken.get()
20 | .then((token) => actions.login(token))
21 | .catch((err) => actions.logout());
22 | });
23 |
24 | actions.unauth.listen(function () {
25 | AccessToken.clear();
26 | });
27 |
28 | export default actions;
29 |
--------------------------------------------------------------------------------
/SharedStyles.js:
--------------------------------------------------------------------------------
1 | import { StyleSheet } from 'react-native';
2 | import StyleVars from 'Social/StyleVars';
3 |
4 | export default StyleSheet.create({
5 | screenContainer: {
6 | flex: 1,
7 | flexDirection: "column",
8 | backgroundColor: StyleVars.Colors.mediumBackground
9 | },
10 | headingText: {
11 | color: StyleVars.Colors.primaryText,
12 | fontFamily: StyleVars.Fonts.heading,
13 | fontSize: 16,
14 | fontWeight: "600"
15 | },
16 | text: {
17 | color: StyleVars.Colors.primaryText,
18 | fontFamily: StyleVars.Fonts.general,
19 | fontSize: 12,
20 | fontWeight: "400"
21 | },
22 | navBarTitleText: {
23 | color: StyleVars.Colors.navBarTitle,
24 | fontFamily: StyleVars.Fonts.heading,
25 | fontWeight: "600",
26 | fontSize: 18,
27 | lineHeight: 22
28 | }
29 | });
30 |
--------------------------------------------------------------------------------
/AccessToken.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | AsyncStorage
4 | } from 'react-native';
5 |
6 | class AccessToken {
7 | get() {
8 | return new Promise((next, error) => {
9 | if (this._accessToken) return next(this._accessToken);
10 |
11 | AsyncStorage.getItem("ACCESS_TOKEN")
12 | .then((token) => {
13 | if (token) {
14 | next(token);
15 | } else {
16 | error();
17 | }
18 | })
19 | .catch((err) => error(err));
20 | });
21 | }
22 |
23 | set(token) {
24 | this._accessToken = token;
25 | return AsyncStorage.setItem("ACCESS_TOKEN", token);
26 | }
27 |
28 | clear() {
29 | this._accessToken = null;
30 | return AsyncStorage.removeItem("ACCESS_TOKEN");
31 | }
32 | }
33 |
34 | export default new AccessToken()
35 |
--------------------------------------------------------------------------------
/ios/SocialTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
11 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
19 |
20 | android.useDeprecatedNdk=true
21 |
--------------------------------------------------------------------------------
/Views/LoadingView.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | ActivityIndicatorIOS,
4 | PropTypes,
5 | StyleSheet,
6 | Text,
7 | View
8 | } from 'react-native';
9 |
10 | import StyleVars from 'Social/StyleVars';
11 |
12 | const styles = StyleSheet.create({
13 | container: {
14 | flex: 1,
15 | alignItems: "center",
16 | justifyContent: "center",
17 | backgroundColor: StyleVars.Colors.mediumBackground
18 | },
19 | text: {
20 | fontFamily: StyleVars.Fonts.general,
21 | color: StyleVars.Colors.primary,
22 | textAlign: "center",
23 | marginTop: 12
24 | }
25 | });
26 |
27 | export default class LoadingView extends React.Component {
28 | render() {
29 | if (this.props.backgroundColor)
30 | var containerStyle = { backgroundColor: this.props.backgroundColor };
31 |
32 | return (
33 |
34 |
35 | {this.props.children}
36 |
37 | );
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Views/PostButton.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | NativeModules,
4 | Text,
5 | TouchableOpacity
6 | } from 'react-native';
7 |
8 | import Actions from 'Social/Actions';
9 |
10 | export default class LogoutButton extends React.Component {
11 | render() {
12 | let style = { marginRight: 10, color: "white" };
13 |
14 | return (
15 | this.onPress()}
19 | >
20 | Post
21 |
22 | );
23 | }
24 |
25 | onPress() {
26 | NativeModules.ImagePickerManager.showImagePicker({
27 | title: "Post Picture"
28 | }, (picture) => {
29 | if (picture.data) {
30 | navigator.geolocation.getCurrentPosition((position) => {
31 | Actions.uploadPost('data:image/jpeg;base64,' + picture.data, position);
32 | }, (error) => {
33 | Actions.uploadPost('data:image/jpeg;base64,' + picture.data, null);
34 | });
35 | }
36 | });
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/index.android.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | */
5 |
6 | import React, {
7 | AppRegistry,
8 | Component,
9 | StyleSheet,
10 | Text,
11 | View
12 | } from 'react-native';
13 |
14 | class Social extends Component {
15 | render() {
16 | return (
17 |
18 |
19 | Welcome to React Native!
20 |
21 |
22 | To get started, edit index.android.js
23 |
24 |
25 | Shake or press menu button for dev menu
26 |
27 |
28 | );
29 | }
30 | }
31 |
32 | const styles = StyleSheet.create({
33 | container: {
34 | flex: 1,
35 | justifyContent: 'center',
36 | alignItems: 'center',
37 | backgroundColor: '#F5FCFF',
38 | },
39 | welcome: {
40 | fontSize: 20,
41 | textAlign: 'center',
42 | margin: 10,
43 | },
44 | instructions: {
45 | textAlign: 'center',
46 | color: '#333333',
47 | marginBottom: 5,
48 | },
49 | });
50 |
51 | AppRegistry.registerComponent('Social', () => Social);
52 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/social/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.social;
2 |
3 | import com.facebook.react.ReactActivity;
4 | import com.facebook.react.ReactPackage;
5 | import com.facebook.react.shell.MainReactPackage;
6 |
7 | import java.util.Arrays;
8 | import java.util.List;
9 |
10 | public class MainActivity extends ReactActivity {
11 |
12 | /**
13 | * Returns the name of the main component registered from JavaScript.
14 | * This is used to schedule rendering of the component.
15 | */
16 | @Override
17 | protected String getMainComponentName() {
18 | return "Social";
19 | }
20 |
21 | /**
22 | * Returns whether dev mode should be enabled.
23 | * This enables e.g. the dev menu.
24 | */
25 | @Override
26 | protected boolean getUseDeveloperSupport() {
27 | return BuildConfig.DEBUG;
28 | }
29 |
30 | /**
31 | * A list of packages used by the app. If the app uses additional views
32 | * or modules besides the default ones, add more packages here.
33 | */
34 | @Override
35 | protected List getPackages() {
36 | return Arrays.asList(
37 | new MainReactPackage()
38 | );
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015, Tuts+
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 |
7 | * Redistributions of source code must retain the above copyright notice, this
8 | list of conditions and the following disclaimer.
9 |
10 | * Redistributions in binary form must reproduce the above copyright notice,
11 | this list of conditions and the following disclaimer in the documentation
12 | and/or other materials provided with the distribution.
13 |
14 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
18 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 |
--------------------------------------------------------------------------------
/Views/PostListView.js:
--------------------------------------------------------------------------------
1 | import React, {
2 | ListView,
3 | RefreshControl
4 | } from 'react-native';
5 |
6 | import Actions from 'Social/Actions';
7 | import DataStore from 'Social/DataStore';
8 | import PostListItem from 'Social/Views/PostListItem';
9 | import StyleVars from 'Social/StyleVars';
10 |
11 | export default class PostListView extends React.Component {
12 | constructor(props) {
13 | super(props);
14 |
15 | this.state = {
16 | dataSource: new ListView.DataSource({ rowHasChanged: (r1, r2) => r1 !== r2 }),
17 | refreshing: false
18 | };
19 | }
20 |
21 | componentDidMount() {
22 | this.stopPostListener = DataStore.listen(this.onListChange.bind(this));
23 | Actions.loadPosts();
24 | }
25 |
26 | componentWillUnmount() {
27 | this.stopPostListener();
28 | }
29 |
30 | onListChange(items) {
31 | this.setState({
32 | dataSource: this.state.dataSource.cloneWithRows(items),
33 | refreshing: false,
34 | });
35 | }
36 |
37 | render() {
38 | return (
39 | }
43 | refreshControl={
44 |
50 | }
51 | />
52 | );
53 | }
54 |
55 | _onRefresh() {
56 | this.setState({ refreshing: true });
57 | Actions.loadPosts();
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/Views/Button.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | StyleSheet,
4 | PropTypes,
5 | Text,
6 | TouchableOpacity,
7 | View
8 | } from 'react-native';
9 |
10 | import StyleVars from 'Social/StyleVars';
11 |
12 | const styles = StyleSheet.create({
13 | button: {
14 | flexDirection: "row",
15 | alignItems: "center",
16 | justifyContent: "center",
17 | borderRadius: 5,
18 | paddingVertical: 9,
19 | paddingHorizontal: 15,
20 | overflow: "hidden",
21 | backgroundColor: StyleVars.Colors.primary
22 | },
23 | buttonText: {
24 | color: "white",
25 | fontFamily: StyleVars.Fonts.general,
26 | fontSize: 14,
27 | fontWeight: "400"
28 | }
29 | });
30 |
31 | class Button extends React.Component {
32 | render() {
33 | let textStyle = [styles.buttonText, this.props.textStyle];
34 |
35 | return (
36 | this.onPress()}
39 | style={[styles.button, this.props.style]}
40 | >
41 | {this.props.children}
42 |
43 | );
44 | }
45 |
46 | onPress() {
47 | if (this.props.enabled) {
48 | this.props.onPress();
49 | }
50 | }
51 | }
52 |
53 | Button.propTypes = {
54 | onPress: PropTypes.func,
55 | style: View.propTypes.style,
56 | textStyle: Text.propTypes.style,
57 | activeOpacity: PropTypes.number,
58 | enabled: PropTypes.bool,
59 | children: PropTypes.string
60 | };
61 |
62 | Button.defaultProps = {
63 | onPress: () => {},
64 | style: {},
65 | textStyle: {},
66 | activeOpacity: 0.8,
67 | enabled: true
68 | };
69 |
70 | export default Button;
71 |
--------------------------------------------------------------------------------
/ios/Social/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | UIAppFonts
6 |
7 | Roboto-Bold.ttf
8 | Roboto-Regular.ttf
9 |
10 | CFBundleDevelopmentRegion
11 | en
12 | CFBundleExecutable
13 | $(EXECUTABLE_NAME)
14 | CFBundleIdentifier
15 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
16 | CFBundleInfoDictionaryVersion
17 | 6.0
18 | CFBundleName
19 | $(PRODUCT_NAME)
20 | CFBundlePackageType
21 | APPL
22 | CFBundleShortVersionString
23 | 1.0
24 | CFBundleSignature
25 | ????
26 | CFBundleVersion
27 | 1
28 | LSRequiresIPhoneOS
29 |
30 | UILaunchStoryboardName
31 | LaunchScreen
32 | UIRequiredDeviceCapabilities
33 |
34 | armv7
35 |
36 | UISupportedInterfaceOrientations
37 |
38 | UIInterfaceOrientationPortrait
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 | NSLocationWhenInUseUsageDescription
45 |
46 | NSAppTransportSecurity
47 |
48 | NSAllowsArbitraryLoads
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # [Build a Social App With React Native][published url]
2 | ## Instructor: [Markus Mühlberger][instructor url]
3 |
4 |
5 | React Native, created by Facebook, lets you write native mobile apps in modern JavaScript that will be transformed into native views specific to your supported platforms. This avoids some of the drawbacks of a web-based mobile applications, which often have poor performance and lack features that users expect from native apps. However, almost everything that can be done in a native app, is possible in JavaScript with React Native. This makes React Native a great way to get into mobile app development without learning a new programming language or switching to a heavy IDE.
6 |
7 | In this course, Envato Tuts+ instructor Markus Mühlberger will show you how to create a social application in React Native. You will learn how to build an app easily with a Firebase backend. You'll also learn some more advanced topics like sophisticated view routing, camera and photo library access, as well as how to use the device's address book.
8 |
9 |
10 | ## Source Files Description
11 |
12 |
13 | This repository contains the completed project. The progress at the end of every lesson is tagged as a revision in the repository, so you can download a snapshot of the project at any point in the project.
14 |
15 |
16 | ## 3rd-Party Content
17 |
18 | Roboto, the custom font used in this project is available for download from [Font Squirrel](https://www.fontsquirrel.com/fonts/roboto). Roboto is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/).
19 |
20 | ------
21 |
22 | These are source files for the Tuts+ course: [Build a Social App With React Native][published url]
23 |
24 | Available on [Tuts+](https://tutsplus.com). Teaching skills to millions worldwide.
25 |
26 | [published url]: https://code.tutsplus.com/courses/build-a-social-app-with-react-native
27 | [instructor url]: https://tutsplus.com/authors/markus-muhlberger
28 |
--------------------------------------------------------------------------------
/Routes.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import Home from 'Social/Screens/Home';
3 | import Login from 'Social/Screens/Login';
4 | import Onboarding from 'Social/Screens/Onboarding';
5 | import Contacts from 'Social/Screens/Contacts';
6 | import LogoutButton from 'Social/Views/LogoutButton';
7 | import ContactsButton from 'Social/Views/ContactsButton';
8 | import OnboardingButton from 'Social/Views/OnboardingButton';
9 | import PostButton from 'Social/Views/PostButton';
10 |
11 | class Routes {
12 | get(route, args) {
13 | if ("undefined" == typeof this[route]) {
14 | console.warn("No route found with name: " + route);
15 | return false;
16 | } else {
17 | return this[route].call(this, args);
18 | }
19 | }
20 |
21 | home() {
22 | return {
23 | name: "home",
24 | title: "Tuts+ Social",
25 | component: Home,
26 | leftButton: LogoutButton,
27 | rightButton: PostButton,
28 | hideNavigationBar: false,
29 | statusBarStyle: "light-content"
30 | }
31 | }
32 |
33 | login() {
34 | return {
35 | name: "login",
36 | title: "Login",
37 | component: Login,
38 | hideNavigationBar: true,
39 | statusBarStyle: "light-content"
40 | }
41 | }
42 |
43 | onboarding(user) {
44 | return {
45 | name: "onboarding",
46 | title: "Welcome",
47 | component: Onboarding,
48 | leftButton: LogoutButton,
49 | rightButton: OnboardingButton,
50 | passProps: { user: user },
51 | hideNavigationBar: false,
52 | statusBarStyle: "light-content"
53 | }
54 | }
55 |
56 | contacts(user) {
57 | return {
58 | name: "contacts",
59 | title: "Add Contacts",
60 | component: Contacts,
61 | leftButton: LogoutButton,
62 | rightButton: ContactsButton,
63 | passProps: { user: user },
64 | hideNavigationBar: false,
65 | statusBarStyle: "light-content"
66 | }
67 | }
68 | }
69 |
70 | export default new Routes()
71 |
--------------------------------------------------------------------------------
/Views/PostListItem.js:
--------------------------------------------------------------------------------
1 | import React, {
2 | Dimensions,
3 | Image,
4 | StyleSheet,
5 | Text,
6 | View
7 | } from 'react-native';
8 | import RNGeocoder from 'react-native-geocoder';
9 |
10 | import StyleVars from 'Social/StyleVars';
11 |
12 | let imageWidth = Dimensions.get('window').width - 20;
13 |
14 | const styles = StyleSheet.create({
15 | postContainer: {
16 | paddingVertical: 10,
17 | backgroundColor: StyleVars.Colors.lightBackground,
18 | borderBottomColor: StyleVars.Colors.darkBackground,
19 | borderBottomWidth: 1
20 | },
21 |
22 | postPicture: {
23 | flex: 1,
24 | width: imageWidth,
25 | height: imageWidth * 2/3,
26 | borderRadius: 10,
27 | marginHorizontal: 10
28 | },
29 |
30 | userName: {
31 | fontSize: 16,
32 | fontWeight: "bold",
33 | fontFamily: StyleVars.Fonts.general,
34 | color: StyleVars.Colors.primary,
35 | marginHorizontal: 10,
36 | marginBottom: 5
37 | }
38 | });
39 |
40 | export default class PostListItem extends React.Component {
41 | constructor(props) {
42 | super(props);
43 | this.state = { geolocation: null };
44 | }
45 |
46 | componentDidMount() {
47 | if (this.props.post.position) {
48 | let position = JSON.parse(this.props.post.position);
49 | RNGeocoder.reverseGeocodeLocation(position.coords, (err, data) => {
50 | if (err) { return; }
51 | this.setState({ geolocation: data[0] });
52 | });
53 | }
54 | }
55 |
56 | render() {
57 | let geolocation = this.state.geolocation ? {this.state.geolocation.locality}, {this.state.geolocation.country} : null;
58 |
59 | return (
60 |
61 | {this.props.post.user}
62 |
67 | {geolocation}
68 |
69 | );
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 |
3 | # We fork some components by platform.
4 | .*/*.web.js
5 | .*/*.android.js
6 |
7 | # Some modules have their own node_modules with overlap
8 | .*/node_modules/node-haste/.*
9 |
10 | # Ugh
11 | .*/node_modules/babel.*
12 | .*/node_modules/babylon.*
13 | .*/node_modules/invariant.*
14 |
15 | # Ignore react and fbjs where there are overlaps, but don't ignore
16 | # anything that react-native relies on
17 | .*/node_modules/fbjs/lib/Map.js
18 | .*/node_modules/fbjs/lib/fetch.js
19 | .*/node_modules/fbjs/lib/ExecutionEnvironment.js
20 | .*/node_modules/fbjs/lib/ErrorUtils.js
21 |
22 | # Flow has a built-in definition for the 'react' module which we prefer to use
23 | # over the currently-untyped source
24 | .*/node_modules/react/react.js
25 | .*/node_modules/react/lib/React.js
26 | .*/node_modules/react/lib/ReactDOM.js
27 |
28 | .*/__mocks__/.*
29 | .*/__tests__/.*
30 |
31 | .*/commoner/test/source/widget/share.js
32 |
33 | # Ignore commoner tests
34 | .*/node_modules/commoner/test/.*
35 |
36 | # See https://github.com/facebook/flow/issues/442
37 | .*/react-tools/node_modules/commoner/lib/reader.js
38 |
39 | # Ignore jest
40 | .*/node_modules/jest-cli/.*
41 |
42 | # Ignore Website
43 | .*/website/.*
44 |
45 | [include]
46 |
47 | [libs]
48 | node_modules/react-native/Libraries/react-native/react-native-interface.js
49 |
50 | [options]
51 | module.system=haste
52 |
53 | esproposal.class_static_fields=enable
54 | esproposal.class_instance_fields=enable
55 |
56 | munge_underscores=true
57 |
58 | module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
59 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\)$' -> 'RelativeImageStub'
60 |
61 | suppress_type=$FlowIssue
62 | suppress_type=$FlowFixMe
63 | suppress_type=$FixMe
64 |
65 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-1]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
66 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-1]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
67 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
68 |
69 | [version]
70 | 0.21.0
71 |
--------------------------------------------------------------------------------
/ApiRequest.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import Firebase from 'firebase';
3 |
4 | const FirebaseURL = 'https://tutsplus-social.firebaseio.com/';
5 |
6 | class ApiRequest {
7 | constructor() {
8 | this.firebase = new Firebase(FirebaseURL);
9 | }
10 |
11 | signup(data) {
12 | return new Promise((next, error) => {
13 | this.firebase.createUser(data)
14 | .then((authData) => {
15 | let userRef = this.firebase.child('profiles').child(authData.uid);
16 | userRef.set({ email: data.email })
17 | .then(() => next(data))
18 | .catch((err) => error(err));
19 | })
20 | .catch((err) => error(err));
21 | });
22 | }
23 |
24 | login(data) {
25 | return new Promise((next, error) => {
26 | let callback = function (err, authData) {
27 | if (err) {
28 | error(err);
29 | } else {
30 | next(authData);
31 | }
32 | };
33 |
34 | if (data && data.email && data.password) {
35 | this.firebase.authWithPassword(data, callback);
36 | } else {
37 | this.firebase.authWithCustomToken(data, callback);
38 | }
39 | });
40 | }
41 |
42 | logout() {
43 | this.firebase.unauth();
44 | }
45 |
46 | loadUser(uid) {
47 | return new Promise((next, error) => {
48 | this.firebase.child('profiles').child(uid).once('value')
49 | .then((snapshot) => next(snapshot.val()))
50 | .catch((err) => error(err));
51 | });
52 | }
53 |
54 | updateUser(uid, payload) {
55 | return new Promise((next, error) => {
56 | let userRef = this.firebase.child('profiles').child(uid);
57 | userRef.update(payload)
58 | .then(() => next(payload))
59 | .catch((err) => error(err))
60 | });
61 | }
62 |
63 | uploadPost(payload) {
64 | return new Promise((next, error) => {
65 | let postRef = this.firebase.child('posts');
66 | postRef.push(payload)
67 | .then(() => next(payload))
68 | .catch((err) => error(err));
69 | });
70 | }
71 |
72 | loadPosts() {
73 | return new Promise((next, error) => {
74 | this.firebase.child('posts').once('value')
75 | .then((snapshot) => next(snapshot.val()))
76 | .catch((err) => error(err));
77 | });
78 | }
79 | }
80 |
81 | export default new ApiRequest();
82 |
--------------------------------------------------------------------------------
/ios/Social/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import "AppDelegate.h"
11 |
12 | #import "RCTRootView.h"
13 |
14 | @implementation AppDelegate
15 |
16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
17 | {
18 | NSURL *jsCodeLocation;
19 |
20 | /**
21 | * Loading JavaScript code - uncomment the one you want.
22 | *
23 | * OPTION 1
24 | * Load from development server. Start the server from the repository root:
25 | *
26 | * $ npm start
27 | *
28 | * To run on device, change `localhost` to the IP address of your computer
29 | * (you can get this by typing `ifconfig` into the terminal and selecting the
30 | * `inet` value under `en0:`) and make sure your computer and iOS device are
31 | * on the same Wi-Fi network.
32 | */
33 |
34 | jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];
35 |
36 | /**
37 | * OPTION 2
38 | * Load from pre-bundled file on disk. The static bundle is automatically
39 | * generated by the "Bundle React Native code and images" build step when
40 | * running the project on an actual device or running the project on the
41 | * simulator in the "Release" build configuration.
42 | */
43 |
44 | // jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
45 |
46 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
47 | moduleName:@"Social"
48 | initialProperties:nil
49 | launchOptions:launchOptions];
50 |
51 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
52 | UIViewController *rootViewController = [UIViewController new];
53 | rootViewController.view = rootView;
54 | self.window.rootViewController = rootViewController;
55 | [self.window makeKeyAndVisible];
56 | return YES;
57 | }
58 |
59 | @end
60 |
--------------------------------------------------------------------------------
/ios/SocialTests/SocialTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 | #import
12 |
13 | #import "RCTLog.h"
14 | #import "RCTRootView.h"
15 |
16 | #define TIMEOUT_SECONDS 240
17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
18 |
19 | @interface SocialTests : XCTestCase
20 |
21 | @end
22 |
23 | @implementation SocialTests
24 |
25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
26 | {
27 | if (test(view)) {
28 | return YES;
29 | }
30 | for (UIView *subview in [view subviews]) {
31 | if ([self findSubviewInView:subview matching:test]) {
32 | return YES;
33 | }
34 | }
35 | return NO;
36 | }
37 |
38 | - (void)testRendersWelcomeScreen
39 | {
40 | UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController];
41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
42 | BOOL foundElement = NO;
43 |
44 | __block NSString *redboxError = nil;
45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
46 | if (level >= RCTLogLevelError) {
47 | redboxError = message;
48 | }
49 | });
50 |
51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
54 |
55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
57 | return YES;
58 | }
59 | return NO;
60 | }];
61 | }
62 |
63 | RCTSetLogFunction(RCTDefaultLogFunction);
64 |
65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
67 | }
68 |
69 |
70 | @end
71 |
--------------------------------------------------------------------------------
/Screens/Home.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | StyleSheet,
4 | Text,
5 | View
6 | } from 'react-native';
7 |
8 | import Actions from 'Social/Actions';
9 | import Button from 'Social/Views/Button';
10 | import DataStore from 'Social/DataStore';
11 | import LoadingView from 'Social/Views/LoadingView';
12 | import PostListView from 'Social/Views/PostListView';
13 | import Routes from 'Social/Routes';
14 | import SharedStyles from 'Social/SharedStyles';
15 | import StyleVars from 'Social/StyleVars';
16 |
17 | const styles = StyleSheet.create({
18 | buttonContainer: {
19 | paddingTop: 96,
20 | alignItems: "center"
21 | },
22 | reloadText: {
23 | textAlign: "center",
24 | marginVertical: 20
25 | },
26 | button: { width: 256 }
27 | });
28 |
29 | export default class Home extends React.Component {
30 | constructor(props) {
31 | super(props);
32 | this.state = {
33 | loaded: false,
34 | failed: false
35 | };
36 | }
37 |
38 | componentWillMount() {
39 | Actions.auth();
40 | }
41 |
42 | componentDidMount() {
43 | Actions.loadUser.completed.listen(this._onLoadUserCompleted.bind(this));
44 | Actions.logout.listen(this._onLogout.bind(this));
45 | }
46 |
47 | render() {
48 | if (this.state.failed) {
49 | return (
50 |
51 |
52 | Could not fetch posts.
53 |
54 |
57 |
58 | );
59 | } else if (this.state.loaded) {
60 | return ;
61 | } else {
62 | return (
63 |
64 | Loading...
65 |
66 | );
67 | }
68 | }
69 |
70 | _retryFetch() {
71 | // TODO: Initiate another fetch from the server
72 | }
73 |
74 | _onLoadUserCompleted(user) {
75 | let currentUser = DataStore.getCurrentUser();
76 |
77 | if (currentUser.onboarded) {
78 | this.setState({ loaded: true });
79 | } else {
80 | this.props.replaceRoute(Routes.onboarding(currentUser));
81 | }
82 | }
83 |
84 | _onLogout() {
85 | this.props.replaceRoute(Routes.login());
86 | }
87 | }
88 |
--------------------------------------------------------------------------------
/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Disabling obfuscation is useful if you collect stack traces from production crashes
20 | # (unless you are using a system that supports de-obfuscate the stack traces).
21 | -dontobfuscate
22 |
23 | # React Native
24 |
25 | # Keep our interfaces so they can be used by other ProGuard rules.
26 | # See http://sourceforge.net/p/proguard/bugs/466/
27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
29 |
30 | # Do not strip any method/class that is annotated with @DoNotStrip
31 | -keep @com.facebook.proguard.annotations.DoNotStrip class *
32 | -keepclassmembers class * {
33 | @com.facebook.proguard.annotations.DoNotStrip *;
34 | }
35 |
36 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
37 | void set*(***);
38 | *** get*();
39 | }
40 |
41 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
42 | -keep class * extends com.facebook.react.bridge.NativeModule { *; }
43 | -keepclassmembers,includedescriptorclasses class * { native ; }
44 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; }
45 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; }
46 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; }
47 |
48 | -dontwarn com.facebook.react.**
49 |
50 | # okhttp
51 |
52 | -keepattributes Signature
53 | -keepattributes *Annotation*
54 | -keep class com.squareup.okhttp.** { *; }
55 | -keep interface com.squareup.okhttp.** { *; }
56 | -dontwarn com.squareup.okhttp.**
57 |
58 | # okio
59 |
60 | -keep class sun.misc.Unsafe { *; }
61 | -dontwarn java.nio.file.*
62 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
63 | -dontwarn okio.**
64 |
65 | # stetho
66 |
67 | -dontwarn com.facebook.stetho.**
68 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/DataStore.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import Reflux from 'reflux';
3 |
4 | import AccessToken from 'Social/AccessToken';
5 | import Actions from 'Social/Actions';
6 | import ApiRequest from 'Social/ApiRequest';
7 |
8 | let currentUser = null;
9 |
10 | export default Reflux.createStore({
11 | listenables: Actions,
12 | init: function () {},
13 |
14 | getCurrentUser() {
15 | return currentUser;
16 | },
17 | setCurrentUser(uid, user) {
18 | currentUser = Object.assign({ uid: uid }, user);
19 | },
20 |
21 | onLogin: function (data) {
22 | ApiRequest.login(data)
23 | .then((authData) => {
24 | AccessToken.set(authData.token)
25 | .then(() => Actions.login.completed(authData))
26 | })
27 | .catch((err) => Actions.login.failed(err))
28 | },
29 | onLoginCompleted: function (data) {
30 | Actions.loadUser(data.uid);
31 | },
32 | onLoginFailed: function (error) {
33 | console.log("Login failed with error: ", error.message);
34 | },
35 |
36 | onSignup: function (data) {
37 | ApiRequest.signup(data)
38 | .then((userData) => Actions.signup.completed(data, userData))
39 | .catch((err) => Actions.signup.failed(err));
40 | },
41 | onSignupCompleted: function (data, user) {
42 | Actions.login(data);
43 | },
44 | onSignupFailed: function (error) {
45 | console.error("Signup failed with error", error.message);
46 | },
47 |
48 | onLoadUser: function (userId) {
49 | ApiRequest.loadUser(userId)
50 | .then((user) => Actions.loadUser.completed(userId, user))
51 | .catch((err) => Actions.loadUser.failed(err));
52 | },
53 | onLoadUserCompleted: function (uid, user) {
54 | this.setCurrentUser(uid, user);
55 | },
56 | onLoadUserFailed: function (error) {
57 | console.error("Loading user failed with error: ", error.message);
58 | },
59 |
60 | onLogout: function () {
61 | ApiRequest.logout();
62 | AccessToken.clear();
63 | },
64 |
65 | onOnboard: function (payload) {
66 | let currentUser = this.getCurrentUser();
67 | ApiRequest.updateUser(currentUser.uid, payload)
68 | .then((user) => Actions.onboard.completed(user))
69 | .catch((err) => Actions.onboard.failed(err))
70 | },
71 |
72 | onUploadPost: function (image, position) {
73 | ApiRequest.uploadPost({
74 | userId: this.getCurrentUser().uid,
75 | user: this.getCurrentUser().name,
76 | picture: image,
77 | createdAt: new Date().toString(),
78 | position: JSON.stringify(position)
79 | })
80 | .then((data) => Actions.uploadPost.completed(data))
81 | .catch((err) => Actions.uploadPost.failed(err));
82 | },
83 |
84 | onUploadPostCompleted: function (newPost) {
85 | if (this.posts) {
86 | this.posts.push(newPost);
87 | this.trigger(this.getTransformedData());
88 | } else {
89 | this._updateList({ new: newPost });
90 | }
91 | },
92 |
93 | onLoadPosts: function () {
94 | ApiRequest.loadPosts()
95 | .then((data) => Actions.loadPosts.completed(data))
96 | .catch((err) => Actions.loadPosts.failed(err));
97 | },
98 |
99 | onLoadPostsCompleted: function (items) {
100 | this._updateList(items);
101 | },
102 |
103 | _updateList: function (items) {
104 | if (!items) { return; }
105 | this.posts = Object.values(items);
106 | this.trigger(this.getTransformedData());
107 | },
108 |
109 | getTransformedData: function () {
110 | let transformedData = this.posts;
111 | return transformedData.sort((a, b) => {
112 | return new Date(b.createdAt) - new Date(a.createdAt);
113 | });
114 | }
115 | });
116 |
--------------------------------------------------------------------------------
/Screens/Onboarding.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | Dimensions,
4 | Image,
5 | NativeModules,
6 | PropTypes,
7 | ScrollView,
8 | StyleSheet,
9 | TextInput,
10 | TouchableOpacity,
11 | View
12 | } from 'react-native';
13 |
14 | import Actions from 'Social/Actions';
15 | import Routes from 'Social/Routes';
16 | import StyleVars from 'Social/StyleVars';
17 |
18 | const styles = StyleSheet.create({
19 | container: {
20 | flex: 1,
21 | alignItems: "center"
22 | },
23 | inputContainer: {
24 | width: Dimensions.get("window").width - 5,
25 | flexDirection: "row",
26 | alignItems: "center",
27 | marginTop: 20,
28 | borderBottomColor: StyleVars.Colors.darkBackground,
29 | borderBottomWidth: 1
30 | },
31 | input: {
32 | flex: 1,
33 | height: 40,
34 | backgroundColor: "white",
35 | color: StyleVars.Colors.primary,
36 | fontFamily: StyleVars.Fonts.general,
37 | fontSize: 16,
38 | padding: 5
39 | },
40 | profilePictureContainer: {
41 | flex: 1,
42 | alignItems: "center",
43 | justifyContent: "center"
44 | },
45 | profilePicture: {
46 | width: 100,
47 | height: 100,
48 | borderRadius: 50,
49 | marginBottom: 20,
50 | backgroundColor: StyleVars.Colors.mediumBackground
51 | }
52 | });
53 |
54 | class Onboarding extends React.Component {
55 | constructor(props) {
56 | super(props);
57 | this.state = {
58 | name: this.props.user.name,
59 | profilePicture: this.props.user.profilePicture
60 | }
61 | }
62 |
63 | componentWillMount() {
64 | Actions.onboard.started.listen(this.onOnboardStarted.bind(this));
65 | Actions.onboard.completed.listen(this.onOnboardCompleted.bind(this));
66 | }
67 |
68 | render() {
69 | return (
70 |
71 |
75 |
76 | this.onPressProfilePicture()}
79 | >
80 |
84 |
85 |
86 |
87 | this.setState({ name: name })}
93 | autoCapitalize="words"
94 | returnKeyType="done"
95 | />
96 |
97 |
98 |
99 | );
100 | }
101 |
102 | onPressProfilePicture() {
103 | NativeModules.ImagePickerManager.showImagePicker({
104 | title: "Set Profile Picture"
105 | }, (picture) => {
106 | if (picture.data) {
107 | this.setState({
108 | profilePicture: {
109 | uri: 'data:image/jpeg;base64,' + picture.data, isStatic: true
110 | }
111 | });
112 | }
113 | });
114 | }
115 |
116 | onOnboardStarted() {
117 | Actions.onboard({
118 | onboarded: true,
119 | name: this.state.name,
120 | profilePicture: this.state.profilePicture
121 | });
122 | }
123 |
124 | onOnboardCompleted() {
125 | this.props.replaceRoute(Routes.contacts(this.props.user));
126 | }
127 | }
128 |
129 | export default Onboarding;
130 |
--------------------------------------------------------------------------------
/ios/Social/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
21 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Screens/Contacts.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | Dimensions,
4 | ListView,
5 | StyleSheet,
6 | Text,
7 | TouchableOpacity,
8 | View
9 | } from 'react-native';
10 | import AddressBook from 'react-native-addressbook';
11 |
12 | import Actions from 'Social/Actions';
13 | import Routes from 'Social/Routes';
14 | import StyleVars from 'Social/StyleVars';
15 |
16 | const styles = StyleSheet.create({
17 | container: {
18 | flex: 1,
19 | alignItems: "center"
20 | },
21 | contactRow: {
22 | flex: 1,
23 | flexDirection: "row",
24 | alignItems: "center",
25 | justifyContent: "space-between",
26 | width: Dimensions.get("window").width,
27 | padding: 5
28 | },
29 | selectedRowIndicatorContainer: {
30 | marginRight: 10,
31 | },
32 | indicator: {
33 | backgroundColor: StyleVars.Colors.secondary,
34 | width: 12,
35 | height: 12,
36 | borderRadius: 6
37 | },
38 | separator: {
39 | height: 1,
40 | width: Dimensions.get("window").width,
41 | backgroundColor: StyleVars.Colors.mediumBackground
42 | },
43 | contactName: {
44 | fontWeight: "600",
45 | fontSize: 16,
46 | color: StyleVars.Colors.primary
47 | },
48 | contactEmail: {
49 | color: StyleVars.Colors.darkBackground
50 | }
51 | });
52 |
53 | export default class Contacts extends React.Component {
54 | constructor(props) {
55 | super(props);
56 | this.state = {
57 | noPermission: false,
58 | selectedRows: {},
59 | dataSource: new ListView.DataSource({
60 | rowHasChanged: (r1, r2) => r1 !== r2
61 | })
62 | }
63 | }
64 |
65 | componentWillMount() {
66 | Actions.addContacts.started.listen(this.onAddContactsStarted.bind(this));
67 | }
68 |
69 | componentDidMount() {
70 | let permissionCallback = (err, permission) => {
71 | if (permission === AddressBook.PERMISSION_DENIED) {
72 | this.setState({ noPermission: true });
73 | } else {
74 | AddressBook.getContacts((err, contacts) => {
75 | let filtered = contacts.filter((c) => c.emailAddresses.length > 0);
76 | this.setState({
77 | dataSource: this.state.dataSource.cloneWithRows(filtered)
78 | });
79 | });
80 | }
81 | }
82 |
83 | AddressBook.checkPermission((err, permission) => {
84 | if (permission === AddressBook.PERMISSION_UNDEFINED) {
85 | AddressBook.requestPermission(permissionCallback);
86 | } else {
87 | permissionCallback(err, permission);
88 | }
89 | });
90 | }
91 |
92 | render() {
93 | if (this.state.noPermission) {
94 | return (
95 |
96 | You didn't give permission to access the contacts.
97 |
98 | );
99 | } else {
100 | return (
101 |
102 | }
105 | renderRow={(row, _, rowId) => this.renderRow(row, rowId)}
106 | />
107 |
108 | );
109 | }
110 | }
111 |
112 | renderRow(row, rowId) {
113 | return (
114 | {
117 | let rows = this.state.selectedRows;
118 | rows[rowId] = !rows[rowId];
119 | this.setState({ selectedRows: rows });
120 | }}
121 | >
122 |
123 |
124 | {row.firstName} {row.lastName}
125 |
126 |
127 | {row.emailAddresses[0].email}
128 |
129 |
130 |
131 | {this.state.selectedRows[rowId] ? : null}
132 |
133 |
134 | );
135 | }
136 |
137 | onAddContactsStarted() {
138 | this.props.replaceRoute(Routes.home());
139 | }
140 | }
141 |
--------------------------------------------------------------------------------
/android/app/react.gradle:
--------------------------------------------------------------------------------
1 | import org.apache.tools.ant.taskdefs.condition.Os
2 |
3 | def config = project.hasProperty("react") ? project.react : [];
4 |
5 | def bundleAssetName = config.bundleAssetName ?: "index.android.bundle"
6 | def entryFile = config.entryFile ?: "index.android.js"
7 |
8 | // because elvis operator
9 | def elvisFile(thing) {
10 | return thing ? file(thing) : null;
11 | }
12 |
13 | def reactRoot = elvisFile(config.root) ?: file("../../")
14 | def inputExcludes = config.inputExcludes ?: ["android/**", "ios/**"]
15 |
16 | void runBefore(String dependentTaskName, Task task) {
17 | Task dependentTask = tasks.findByPath(dependentTaskName);
18 | if (dependentTask != null) {
19 | dependentTask.dependsOn task
20 | }
21 | }
22 |
23 | gradle.projectsEvaluated {
24 | // Grab all build types and product flavors
25 | def buildTypes = android.buildTypes.collect { type -> type.name }
26 | def productFlavors = android.productFlavors.collect { flavor -> flavor.name }
27 |
28 | // When no product flavors defined, use empty
29 | if (!productFlavors) productFlavors.add('')
30 |
31 | productFlavors.each { productFlavorName ->
32 | buildTypes.each { buildTypeName ->
33 | // Create variant and target names
34 | def targetName = "${productFlavorName.capitalize()}${buildTypeName.capitalize()}"
35 | def targetPath = productFlavorName ?
36 | "${productFlavorName}/${buildTypeName}" :
37 | "${buildTypeName}"
38 |
39 | // React js bundle directories
40 | def jsBundleDirConfigName = "jsBundleDir${targetName}"
41 | def jsBundleDir = elvisFile(config."$jsBundleDirConfigName") ?:
42 | file("$buildDir/intermediates/assets/${targetPath}")
43 |
44 | def resourcesDirConfigName = "resourcesDir${targetName}"
45 | def resourcesDir = elvisFile(config."${resourcesDirConfigName}") ?:
46 | file("$buildDir/intermediates/res/merged/${targetPath}")
47 | def jsBundleFile = file("$jsBundleDir/$bundleAssetName")
48 |
49 | // Bundle task name for variant
50 | def bundleJsAndAssetsTaskName = "bundle${targetName}JsAndAssets"
51 |
52 | def currentBundleTask = tasks.create(
53 | name: bundleJsAndAssetsTaskName,
54 | type: Exec) {
55 | group = "react"
56 | description = "bundle JS and assets for ${targetName}."
57 |
58 | // Create dirs if they are not there (e.g. the "clean" task just ran)
59 | doFirst {
60 | jsBundleDir.mkdirs()
61 | resourcesDir.mkdirs()
62 | }
63 |
64 | // Set up inputs and outputs so gradle can cache the result
65 | inputs.files fileTree(dir: reactRoot, excludes: inputExcludes)
66 | outputs.dir jsBundleDir
67 | outputs.dir resourcesDir
68 |
69 | // Set up the call to the react-native cli
70 | workingDir reactRoot
71 |
72 | // Set up dev mode
73 | def devEnabled = !targetName.toLowerCase().contains("release")
74 | if (Os.isFamily(Os.FAMILY_WINDOWS)) {
75 | commandLine "cmd", "/c", "react-native", "bundle", "--platform", "android", "--dev", "${devEnabled}",
76 | "--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir
77 | } else {
78 | commandLine "react-native", "bundle", "--platform", "android", "--dev", "${devEnabled}",
79 | "--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir
80 | }
81 |
82 | enabled config."bundleIn${targetName}" ||
83 | config."bundleIn${buildTypeName.capitalize()}" ?:
84 | targetName.toLowerCase().contains("release")
85 | }
86 |
87 | // Hook bundle${productFlavor}${buildType}JsAndAssets into the android build process
88 | currentBundleTask.dependsOn("merge${targetName}Resources")
89 | currentBundleTask.dependsOn("merge${targetName}Assets")
90 |
91 | runBefore("processArmeabi-v7a${targetName}Resources", currentBundleTask)
92 | runBefore("processX86${targetName}Resources", currentBundleTask)
93 | runBefore("processUniversal${targetName}Resources", currentBundleTask)
94 | runBefore("process${targetName}Resources", currentBundleTask)
95 | }
96 | }
97 | }
98 |
--------------------------------------------------------------------------------
/ios/Social.xcodeproj/xcshareddata/xcschemes/Social.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
47 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
65 |
66 |
75 |
77 |
83 |
84 |
85 |
86 |
87 |
88 |
94 |
96 |
102 |
103 |
104 |
105 |
107 |
108 |
111 |
112 |
113 |
--------------------------------------------------------------------------------
/Views/RootNavigator.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import React, {
3 | Navigator,
4 | StatusBar,
5 | StyleSheet,
6 | Text,
7 | View
8 | } from 'react-native';
9 |
10 | import Routes from 'Social/Routes';
11 | import StyleVars from 'Social/StyleVars';
12 | import SharedStyles from 'Social/SharedStyles';
13 |
14 | const styles = StyleSheet.create({
15 | sceneContainer: {
16 | flex: 1,
17 | paddingTop: Navigator.NavigationBar.Styles.General.TotalNavHeight
18 | },
19 | navBar: {
20 | backgroundColor: StyleVars.Colors.navBarBackground,
21 | borderBottomColor: "rgba(255,255,255,0.5)",
22 | borderBottomWidth: 1
23 | },
24 | buttonStyle: { marginTop: 13 },
25 | titleStyle: { marginTop: 10 }
26 | });
27 |
28 | const NavigationBarRouteMapper = {
29 | LeftButton: function (route, navigator, index, navState) {
30 | return route.leftButton ? (
31 |
36 | ) : null;
37 | },
38 | Title: function (route, navigator, index, navState) {
39 | return route.title ? (
40 | {route.title}
44 | ) : null;
45 | },
46 | RightButton: function (route, navigator, index, navState) {
47 | return route.rightButton ? (
48 |
53 | ) : null;
54 | }
55 | };
56 |
57 | export default class RootNavigator extends React.Component {
58 | constructor(props) {
59 | super(props);
60 | this.state = { hideNavigationBar: false };
61 | }
62 |
63 | componentDidMount() {
64 | this._setupRoute(this._getInitialRoute());
65 | }
66 |
67 | componentWillUnmount() {
68 | if (this._listeners)
69 | this._listeners.forEach((listener) => listener.remove());
70 | }
71 |
72 | onNavWillFocus(route) {
73 | this._setupRoute(route.currentTarget.currentRoute);
74 | }
75 |
76 | render() {
77 | let navigationBar = (
78 |
82 | )
83 |
84 | return (
85 | this._setNavigatorRef(navigator)}
87 | initialRoute={this._getInitialRoute()}
88 | renderScene={(route, navigator) => this.renderScene(route, navigator)}
89 | navigationBar={this.state.hideNavigationBar ? null : navigationBar}
90 | />
91 | );
92 | }
93 |
94 | renderScene(route, navigator) {
95 | let style = route.hideNavigationBar ? { paddingTop: 0 } : {};
96 | return (
97 |
98 | this.back()}
102 | backToHome={() => this.backToHome()}
103 | toRoute={(route, args) => this.toRoute(route, args)}
104 | replaceRoute={(route, args) => this.replaceRoute(route, args)}
105 | />
106 |
107 | )
108 | }
109 |
110 | back() {
111 | this.navigator.pop();
112 | }
113 |
114 | backToHome() {
115 | this.navigator.popToTop();
116 | }
117 |
118 | toRoute(route, args) {
119 | if ("string" != typeof route || (route = Routes.get(route, args))) {
120 | this.navigator.push(route);
121 | }
122 | }
123 |
124 | replaceRoute(route, args) {
125 | if ("string" != typeof route || (route = Routes.get(route, args))) {
126 | this.navigator.replace(route);
127 | }
128 | }
129 |
130 | _getInitialRoute() {
131 | return Routes.home();
132 | }
133 |
134 | _setNavigatorRef(navigator) {
135 | if (navigator !== this.navigator) {
136 | this.navigator = navigator;
137 |
138 | if (navigator) {
139 | this._listeners = [
140 | navigator.navigationContext.addListener("willfocus", this.onNavWillFocus.bind(this))
141 | ];
142 | } else {
143 | if (this._listeners)
144 | this._listeners.forEach((listener) => listener.remove());
145 | }
146 | }
147 | }
148 |
149 | _setupRoute(route) {
150 | if (route) {
151 | let state = {};
152 |
153 | if (route.hideNavigationBar !== undefined && this.state.hideNavigationBar !== route.hideNavigationBar)
154 | state.hideNavigationBar = route.hideNavigationBar;
155 |
156 | if (route.statusBarStyle && this.state.statusBarStyle !== route.statusBarStyle) {
157 | state.statusBarStyle = route.statusBarStyle;
158 | StatusBar.setBarStyle(route.statusBarStyle, true);
159 | StatusBar.setHidden(false, "slide");
160 | }
161 |
162 | this.setState(state);
163 | }
164 | }
165 | }
166 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 |
5 | /**
6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7 | * and bundleReleaseJsAndAssets).
8 | * These basically call `react-native bundle` with the correct arguments during the Android build
9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10 | * bundle directly from the development server. Below you can see all the possible configurations
11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
12 | * `apply from: "react.gradle"` line.
13 | *
14 | * project.ext.react = [
15 | * // the name of the generated asset file containing your JS bundle
16 | * bundleAssetName: "index.android.bundle",
17 | *
18 | * // the entry file for bundle generation
19 | * entryFile: "index.android.js",
20 | *
21 | * // whether to bundle JS and assets in debug mode
22 | * bundleInDebug: false,
23 | *
24 | * // whether to bundle JS and assets in release mode
25 | * bundleInRelease: true,
26 | *
27 | * // whether to bundle JS and assets in another build variant (if configured).
28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29 | * // The configuration property can be in the following formats
30 | * // 'bundleIn${productFlavor}${buildType}'
31 | * // 'bundleIn${buildType}'
32 | * // bundleInFreeDebug: true,
33 | * // bundleInPaidRelease: true,
34 | * // bundleInBeta: true,
35 | *
36 | * // the root of your project, i.e. where "package.json" lives
37 | * root: "../../",
38 | *
39 | * // where to put the JS bundle asset in debug mode
40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
41 | *
42 | * // where to put the JS bundle asset in release mode
43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
44 | *
45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
46 | * // require('./image.png')), in debug mode
47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
48 | *
49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
50 | * // require('./image.png')), in release mode
51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
52 | *
53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
57 | * // for example, you might want to remove it from here.
58 | * inputExcludes: ["android/**", "ios/**"]
59 | * ]
60 | */
61 |
62 | apply from: "react.gradle"
63 |
64 | /**
65 | * Set this to true to create two separate APKs instead of one:
66 | * - An APK that only works on ARM devices
67 | * - An APK that only works on x86 devices
68 | * The advantage is the size of the APK is reduced by about 4MB.
69 | * Upload all the APKs to the Play Store and people will download
70 | * the correct one based on the CPU architecture of their device.
71 | */
72 | def enableSeparateBuildPerCPUArchitecture = false
73 |
74 | /**
75 | * Run Proguard to shrink the Java bytecode in release builds.
76 | */
77 | def enableProguardInReleaseBuilds = false
78 |
79 | android {
80 | compileSdkVersion 23
81 | buildToolsVersion "23.0.1"
82 |
83 | defaultConfig {
84 | applicationId "com.social"
85 | minSdkVersion 16
86 | targetSdkVersion 22
87 | versionCode 1
88 | versionName "1.0"
89 | ndk {
90 | abiFilters "armeabi-v7a", "x86"
91 | }
92 | }
93 | splits {
94 | abi {
95 | reset()
96 | enable enableSeparateBuildPerCPUArchitecture
97 | universalApk false // If true, also generate a universal APK
98 | include "armeabi-v7a", "x86"
99 | }
100 | }
101 | buildTypes {
102 | release {
103 | minifyEnabled enableProguardInReleaseBuilds
104 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
105 | }
106 | }
107 | // applicationVariants are e.g. debug, release
108 | applicationVariants.all { variant ->
109 | variant.outputs.each { output ->
110 | // For each separate APK per architecture, set a unique version code as described here:
111 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
112 | def versionCodes = ["armeabi-v7a":1, "x86":2]
113 | def abi = output.getFilter(OutputFile.ABI)
114 | if (abi != null) { // null for the universal-debug, universal-release variants
115 | output.versionCodeOverride =
116 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
117 | }
118 | }
119 | }
120 | }
121 |
122 | dependencies {
123 | compile fileTree(dir: "libs", include: ["*.jar"])
124 | compile "com.android.support:appcompat-v7:23.0.1"
125 | compile "com.facebook.react:react-native:+" // From node_modules
126 | }
127 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # For Cygwin, ensure paths are in UNIX format before anything is touched.
46 | if $cygwin ; then
47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48 | fi
49 |
50 | # Attempt to set APP_HOME
51 | # Resolve links: $0 may be a link
52 | PRG="$0"
53 | # Need this for relative symlinks.
54 | while [ -h "$PRG" ] ; do
55 | ls=`ls -ld "$PRG"`
56 | link=`expr "$ls" : '.*-> \(.*\)$'`
57 | if expr "$link" : '/.*' > /dev/null; then
58 | PRG="$link"
59 | else
60 | PRG=`dirname "$PRG"`"/$link"
61 | fi
62 | done
63 | SAVED="`pwd`"
64 | cd "`dirname \"$PRG\"`/" >&-
65 | APP_HOME="`pwd -P`"
66 | cd "$SAVED" >&-
67 |
68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 |
70 | # Determine the Java command to use to start the JVM.
71 | if [ -n "$JAVA_HOME" ] ; then
72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73 | # IBM's JDK on AIX uses strange locations for the executables
74 | JAVACMD="$JAVA_HOME/jre/sh/java"
75 | else
76 | JAVACMD="$JAVA_HOME/bin/java"
77 | fi
78 | if [ ! -x "$JAVACMD" ] ; then
79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80 |
81 | Please set the JAVA_HOME variable in your environment to match the
82 | location of your Java installation."
83 | fi
84 | else
85 | JAVACMD="java"
86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87 |
88 | Please set the JAVA_HOME variable in your environment to match the
89 | location of your Java installation."
90 | fi
91 |
92 | # Increase the maximum file descriptors if we can.
93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94 | MAX_FD_LIMIT=`ulimit -H -n`
95 | if [ $? -eq 0 ] ; then
96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97 | MAX_FD="$MAX_FD_LIMIT"
98 | fi
99 | ulimit -n $MAX_FD
100 | if [ $? -ne 0 ] ; then
101 | warn "Could not set maximum file descriptor limit: $MAX_FD"
102 | fi
103 | else
104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105 | fi
106 | fi
107 |
108 | # For Darwin, add options to specify how the application appears in the dock
109 | if $darwin; then
110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111 | fi
112 |
113 | # For Cygwin, switch paths to Windows format before running java
114 | if $cygwin ; then
115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158 | function splitJvmOpts() {
159 | JVM_OPTS=("$@")
160 | }
161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163 |
164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
165 |
--------------------------------------------------------------------------------
/Screens/Login.js:
--------------------------------------------------------------------------------
1 | import React, {
2 | Dimensions,
3 | Image,
4 | ScrollView,
5 | StyleSheet,
6 | Text,
7 | TextInput,
8 | TouchableOpacity,
9 | View
10 | } from 'react-native';
11 | import Reflux from 'reflux';
12 |
13 | import Actions from 'Social/Actions';
14 | import DataStore from 'Social/DataStore';
15 | import Button from 'Social/Views/Button';
16 | import Routes from 'Social/Routes';
17 | import StyleVars from 'Social/StyleVars';
18 |
19 | const windowWidth = Dimensions.get("window").width;
20 | const windowHeight = Dimensions.get("window").height;
21 |
22 | const styles = StyleSheet.create({
23 | loginButtonContainer: {
24 | marginTop: 5,
25 | width: windowWidth * 0.8,
26 | flexDirection: "row",
27 | justifyContent: "center",
28 | alignItems: "center"
29 | },
30 | loginButton: {
31 | width: windowWidth * 0.8,
32 | paddingVertical: 12,
33 | backgroundColor: "rgba(255,255,255,0.25)"
34 | },
35 | container: {
36 | flex: 1,
37 | backgroundColor: StyleVars.Colors.primary
38 | },
39 | scrollView: {
40 | position: "absolute",
41 | top: 0,
42 | left: 0,
43 | right: 0,
44 | bottom: 0,
45 | flex: 1,
46 | backgroundColor: StyleVars.Colors.primary,
47 | overflow: "visible"
48 | },
49 | innerContainer: {
50 | flex: 1,
51 | flexDirection: "column",
52 | alignItems: "center",
53 | justifyContent: "center",
54 | height: windowHeight,
55 | width: windowWidth,
56 | backgroundColor: StyleVars.Colors.primary
57 | },
58 | inputContainer: {
59 | width: windowWidth * 0.8,
60 | flexDirection: "row",
61 | alignItems: "center",
62 | marginBottom: 20,
63 | borderBottomColor: "rgba(255,255,255,0.75)",
64 | borderBottomWidth: 1
65 | },
66 | input: {
67 | flex: 1,
68 | height: 40,
69 | backgroundColor: StyleVars.Colors.primary,
70 | color: "white",
71 | fontFamily: StyleVars.Fonts.general,
72 | fontSize: 16,
73 | padding: 5
74 | },
75 | tpLogo: {
76 | width: windowWidth * 0.25,
77 | height: windowWidth * 0.25,
78 | tintColor: StyleVars.Colors.secondary
79 | },
80 | socialText: {
81 | color: "white",
82 | fontSize: 30,
83 | marginTop: 8,
84 | fontWeight: "600",
85 | fontFamily: StyleVars.Fonts.logo,
86 | marginBottom: 15
87 | },
88 | horizontalLine: {
89 | flex: 1,
90 | height: 1,
91 | marginTop: 2,
92 | marginHorizontal: 10,
93 | backgroundColor: "rgba(255,255,255, 0.2)"
94 | },
95 | footer: {
96 | position: "absolute",
97 | bottom: 0,
98 | left: 0,
99 | right: 0,
100 | height: 48,
101 | alignItems: "center",
102 | paddingVertical: 15,
103 | backgroundColor: "rgba(255,255,255,0.1)",
104 | borderTopWidth: 1,
105 | borderTopColor: "rgba(255,255,255,0.5)"
106 | },
107 | footerText: {
108 | color: "white",
109 | fontFamily: StyleVars.Fonts.general,
110 | fontSize: 14
111 | },
112 | footerActionText: {
113 | fontWeight: "600"
114 | }
115 | });
116 |
117 | export default class Login extends React.Component {
118 | constructor(props) {
119 | super(props);
120 | this.state = { isSignup: false };
121 |
122 | this.email = null;
123 | this.password = null;
124 | this.passwordConfirmation = null;
125 | }
126 |
127 | componentDidMount() {
128 | Actions.loadUser.completed.listen(this.onLoadUserCompleted.bind(this));
129 | }
130 |
131 | render() {
132 | let footerText = this.state.isSignup ? (
133 |
134 | Already signed up? Login.
135 |
136 | ) : (
137 |
138 | Don't have an account? Sign Up.
139 |
140 | );
141 |
142 | return (
143 |
144 |
151 |
152 |
153 | SOCIAL
154 | {this.renderForm()}
155 |
156 |
157 | this.changeSignup()}>
158 | {footerText}
159 |
160 |
161 |
162 | );
163 | }
164 |
165 | renderForm() {
166 | let passwordConfirmationField = this.state.isSignup ? (
167 |
168 | this._passwordConfirmationRef = ref}
170 | placeholder="Password Confirmation"
171 | placeholderTextColor="rgba(255,255,255,0.75)"
172 | secureTextEntry={true}
173 | selectionColor="white"
174 | style={styles.input}
175 | autoCapitalize="none"
176 | autoCorrect={false}
177 | onChangeText={(password) => this.passwordConfirmation = password}
178 | returnKeyType="go"
179 | onSubmitEditing={() => this.submitForm()}
180 | />
181 |
182 | ) : null;
183 |
184 | return (
185 |
186 |
187 | this.email = email}
197 | returnKeyType="next"
198 | onSubmitEditing={() => this._passwordRef.focus()}
199 | />
200 |
201 |
202 | this._passwordRef = ref}
204 | placeholder="Password"
205 | placeholderTextColor="rgba(255,255,255,0.75)"
206 | secureTextEntry={true}
207 | selectionColor="white"
208 | style={styles.input}
209 | autoCapitalize="none"
210 | autoCorrect={false}
211 | onChangeText={(password) => this.password = password}
212 | returnKeyType={this.state.isSignup ? "next" : "go"}
213 | onSubmitEditing={() => this.state.isSignup ? this._passwordConfirmationRef.focus() : this.submitForm()}
214 | />
215 |
216 | {passwordConfirmationField}
217 |
218 |
225 |
226 |
227 | );
228 | }
229 |
230 | submitForm() {
231 | if (this.state.isSignup) {
232 | if (!this.email || !this.password || !this.passwordConfirmation)
233 | return console.error("Missing input fields");
234 | if (this.password !== this.passwordConfirmation)
235 | return console.error("Passwords don't match");
236 |
237 | Actions.signup({
238 | email: this.email,
239 | password: this.password
240 | });
241 | } else {
242 | Actions.login({
243 | email: this.email,
244 | password: this.password
245 | });
246 | }
247 | }
248 |
249 | changeSignup() {
250 | this.setState({ isSignup: !this.state.isSignup });
251 | }
252 |
253 | onLoadUserCompleted(user) {
254 | if (user.onboarded) {
255 | this.props.replaceRoute(Routes.home());
256 | } else {
257 | this.props.replaceRoute(Routes.onboarding(user));
258 | }
259 | }
260 | }
261 |
--------------------------------------------------------------------------------
/ios/Social.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15 | 00E356F31AD99517003FC87E /* SocialTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* SocialTests.m */; };
16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
23 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
24 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
25 | A73DC91B1CB1A74400E67BE3 /* libRNImagePicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A73DC91A1CB1A73B00E67BE3 /* libRNImagePicker.a */; };
26 | A759588F1CAFEA6700E5312E /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A759588D1CAFEA6700E5312E /* Roboto-Bold.ttf */; };
27 | A75958901CAFEA6700E5312E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A759588E1CAFEA6700E5312E /* Roboto-Regular.ttf */; };
28 | A79E5EBD1CB1BD8E008071F8 /* libRNGeocoder.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A79E5EBB1CB1BD86008071F8 /* libRNGeocoder.a */; };
29 | A7D31DE31CB1BF2A0087427A /* libRCTAddressBook.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A7D31DD61CB1BF240087427A /* libRCTAddressBook.a */; };
30 | /* End PBXBuildFile section */
31 |
32 | /* Begin PBXContainerItemProxy section */
33 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
34 | isa = PBXContainerItemProxy;
35 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
36 | proxyType = 2;
37 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
38 | remoteInfo = RCTActionSheet;
39 | };
40 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
41 | isa = PBXContainerItemProxy;
42 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
43 | proxyType = 2;
44 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
45 | remoteInfo = RCTGeolocation;
46 | };
47 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
48 | isa = PBXContainerItemProxy;
49 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
50 | proxyType = 2;
51 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
52 | remoteInfo = RCTImage;
53 | };
54 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
55 | isa = PBXContainerItemProxy;
56 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
57 | proxyType = 2;
58 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
59 | remoteInfo = RCTNetwork;
60 | };
61 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
62 | isa = PBXContainerItemProxy;
63 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
64 | proxyType = 2;
65 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
66 | remoteInfo = RCTVibration;
67 | };
68 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
69 | isa = PBXContainerItemProxy;
70 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
71 | proxyType = 1;
72 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
73 | remoteInfo = Social;
74 | };
75 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
76 | isa = PBXContainerItemProxy;
77 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
78 | proxyType = 2;
79 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
80 | remoteInfo = RCTSettings;
81 | };
82 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
83 | isa = PBXContainerItemProxy;
84 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
85 | proxyType = 2;
86 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
87 | remoteInfo = RCTWebSocket;
88 | };
89 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
90 | isa = PBXContainerItemProxy;
91 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
92 | proxyType = 2;
93 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
94 | remoteInfo = React;
95 | };
96 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
97 | isa = PBXContainerItemProxy;
98 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
99 | proxyType = 2;
100 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
101 | remoteInfo = RCTLinking;
102 | };
103 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
104 | isa = PBXContainerItemProxy;
105 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
106 | proxyType = 2;
107 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
108 | remoteInfo = RCTText;
109 | };
110 | A73DC9191CB1A73B00E67BE3 /* PBXContainerItemProxy */ = {
111 | isa = PBXContainerItemProxy;
112 | containerPortal = A73DC9151CB1A73B00E67BE3 /* RNImagePicker.xcodeproj */;
113 | proxyType = 2;
114 | remoteGlobalIDString = 014A3B5C1C6CF33500B6D375;
115 | remoteInfo = RNImagePicker;
116 | };
117 | A79E5EBA1CB1BD86008071F8 /* PBXContainerItemProxy */ = {
118 | isa = PBXContainerItemProxy;
119 | containerPortal = A79E5EAA1CB1BD86008071F8 /* RNGeocoder.xcodeproj */;
120 | proxyType = 2;
121 | remoteGlobalIDString = BF8FCF941BFFB184000FCD37;
122 | remoteInfo = RNGeocoder;
123 | };
124 | A7D31DD51CB1BF240087427A /* PBXContainerItemProxy */ = {
125 | isa = PBXContainerItemProxy;
126 | containerPortal = A7D31DCF1CB1BF240087427A /* RCTAddressBook.xcodeproj */;
127 | proxyType = 2;
128 | remoteGlobalIDString = 145CC5701AED80100006342E;
129 | remoteInfo = RCTAddressBook;
130 | };
131 | A7D31DD71CB1BF240087427A /* PBXContainerItemProxy */ = {
132 | isa = PBXContainerItemProxy;
133 | containerPortal = A7D31DCF1CB1BF240087427A /* RCTAddressBook.xcodeproj */;
134 | proxyType = 2;
135 | remoteGlobalIDString = 145CC57B1AED80100006342E;
136 | remoteInfo = RCTAddressBookTests;
137 | };
138 | /* End PBXContainerItemProxy section */
139 |
140 | /* Begin PBXFileReference section */
141 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
142 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
143 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
144 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
145 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
146 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
147 | 00E356EE1AD99517003FC87E /* SocialTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SocialTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
148 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
149 | 00E356F21AD99517003FC87E /* SocialTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SocialTests.m; sourceTree = ""; };
150 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
151 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
152 | 13B07F961A680F5B00A75B9A /* Social.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Social.app; sourceTree = BUILT_PRODUCTS_DIR; };
153 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Social/AppDelegate.h; sourceTree = ""; };
154 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Social/AppDelegate.m; sourceTree = ""; };
155 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
156 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Social/Images.xcassets; sourceTree = ""; };
157 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Social/Info.plist; sourceTree = ""; };
158 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Social/main.m; sourceTree = ""; };
159 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
160 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
161 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
162 | A73DC9151CB1A73B00E67BE3 /* RNImagePicker.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RNImagePicker.xcodeproj; path = "../node_modules/react-native-image-picker/ios/RNImagePicker.xcodeproj"; sourceTree = ""; };
163 | A759588D1CAFEA6700E5312E /* Roboto-Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Roboto-Bold.ttf"; sourceTree = ""; };
164 | A759588E1CAFEA6700E5312E /* Roboto-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Roboto-Regular.ttf"; sourceTree = ""; };
165 | A79E5EAA1CB1BD86008071F8 /* RNGeocoder.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RNGeocoder.xcodeproj; path = "../node_modules/react-native-geocoder/RNGeocoder.xcodeproj"; sourceTree = ""; };
166 | A7D31DCF1CB1BF240087427A /* RCTAddressBook.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAddressBook.xcodeproj; path = "../node_modules/react-native-addressbook/RCTAddressBook.xcodeproj"; sourceTree = ""; };
167 | /* End PBXFileReference section */
168 |
169 | /* Begin PBXFrameworksBuildPhase section */
170 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
171 | isa = PBXFrameworksBuildPhase;
172 | buildActionMask = 2147483647;
173 | files = (
174 | );
175 | runOnlyForDeploymentPostprocessing = 0;
176 | };
177 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
178 | isa = PBXFrameworksBuildPhase;
179 | buildActionMask = 2147483647;
180 | files = (
181 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
182 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
183 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
184 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
185 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
186 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
187 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
188 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
189 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
190 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
191 | A73DC91B1CB1A74400E67BE3 /* libRNImagePicker.a in Frameworks */,
192 | A7D31DE31CB1BF2A0087427A /* libRCTAddressBook.a in Frameworks */,
193 | A79E5EBD1CB1BD8E008071F8 /* libRNGeocoder.a in Frameworks */,
194 | );
195 | runOnlyForDeploymentPostprocessing = 0;
196 | };
197 | /* End PBXFrameworksBuildPhase section */
198 |
199 | /* Begin PBXGroup section */
200 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
201 | isa = PBXGroup;
202 | children = (
203 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
204 | );
205 | name = Products;
206 | sourceTree = "";
207 | };
208 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
209 | isa = PBXGroup;
210 | children = (
211 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
212 | );
213 | name = Products;
214 | sourceTree = "";
215 | };
216 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
217 | isa = PBXGroup;
218 | children = (
219 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
220 | );
221 | name = Products;
222 | sourceTree = "";
223 | };
224 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
225 | isa = PBXGroup;
226 | children = (
227 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
228 | );
229 | name = Products;
230 | sourceTree = "";
231 | };
232 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
233 | isa = PBXGroup;
234 | children = (
235 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
236 | );
237 | name = Products;
238 | sourceTree = "";
239 | };
240 | 00E356EF1AD99517003FC87E /* SocialTests */ = {
241 | isa = PBXGroup;
242 | children = (
243 | 00E356F21AD99517003FC87E /* SocialTests.m */,
244 | 00E356F01AD99517003FC87E /* Supporting Files */,
245 | );
246 | path = SocialTests;
247 | sourceTree = "";
248 | };
249 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
250 | isa = PBXGroup;
251 | children = (
252 | 00E356F11AD99517003FC87E /* Info.plist */,
253 | );
254 | name = "Supporting Files";
255 | sourceTree = "";
256 | };
257 | 139105B71AF99BAD00B5F7CC /* Products */ = {
258 | isa = PBXGroup;
259 | children = (
260 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
261 | );
262 | name = Products;
263 | sourceTree = "";
264 | };
265 | 139FDEE71B06529A00C62182 /* Products */ = {
266 | isa = PBXGroup;
267 | children = (
268 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
269 | );
270 | name = Products;
271 | sourceTree = "";
272 | };
273 | 13B07FAE1A68108700A75B9A /* Social */ = {
274 | isa = PBXGroup;
275 | children = (
276 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
277 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
278 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
279 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
280 | 13B07FB61A68108700A75B9A /* Info.plist */,
281 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
282 | 13B07FB71A68108700A75B9A /* main.m */,
283 | );
284 | name = Social;
285 | sourceTree = "";
286 | };
287 | 146834001AC3E56700842450 /* Products */ = {
288 | isa = PBXGroup;
289 | children = (
290 | 146834041AC3E56700842450 /* libReact.a */,
291 | );
292 | name = Products;
293 | sourceTree = "";
294 | };
295 | 78C398B11ACF4ADC00677621 /* Products */ = {
296 | isa = PBXGroup;
297 | children = (
298 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
299 | );
300 | name = Products;
301 | sourceTree = "";
302 | };
303 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
304 | isa = PBXGroup;
305 | children = (
306 | A79E5EAA1CB1BD86008071F8 /* RNGeocoder.xcodeproj */,
307 | A7D31DCF1CB1BF240087427A /* RCTAddressBook.xcodeproj */,
308 | A73DC9151CB1A73B00E67BE3 /* RNImagePicker.xcodeproj */,
309 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
310 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
311 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
312 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
313 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
314 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
315 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
316 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
317 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
318 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
319 | );
320 | name = Libraries;
321 | sourceTree = "";
322 | };
323 | 832341B11AAA6A8300B99B32 /* Products */ = {
324 | isa = PBXGroup;
325 | children = (
326 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
327 | );
328 | name = Products;
329 | sourceTree = "";
330 | };
331 | 83CBB9F61A601CBA00E9B192 = {
332 | isa = PBXGroup;
333 | children = (
334 | A759588D1CAFEA6700E5312E /* Roboto-Bold.ttf */,
335 | A759588E1CAFEA6700E5312E /* Roboto-Regular.ttf */,
336 | 13B07FAE1A68108700A75B9A /* Social */,
337 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
338 | 00E356EF1AD99517003FC87E /* SocialTests */,
339 | 83CBBA001A601CBA00E9B192 /* Products */,
340 | );
341 | indentWidth = 2;
342 | sourceTree = "";
343 | tabWidth = 2;
344 | };
345 | 83CBBA001A601CBA00E9B192 /* Products */ = {
346 | isa = PBXGroup;
347 | children = (
348 | 13B07F961A680F5B00A75B9A /* Social.app */,
349 | 00E356EE1AD99517003FC87E /* SocialTests.xctest */,
350 | );
351 | name = Products;
352 | sourceTree = "";
353 | };
354 | A73DC9161CB1A73B00E67BE3 /* Products */ = {
355 | isa = PBXGroup;
356 | children = (
357 | A73DC91A1CB1A73B00E67BE3 /* libRNImagePicker.a */,
358 | );
359 | name = Products;
360 | sourceTree = "";
361 | };
362 | A79E5EAB1CB1BD86008071F8 /* Products */ = {
363 | isa = PBXGroup;
364 | children = (
365 | A79E5EBB1CB1BD86008071F8 /* libRNGeocoder.a */,
366 | );
367 | name = Products;
368 | sourceTree = "";
369 | };
370 | A7D31DD01CB1BF240087427A /* Products */ = {
371 | isa = PBXGroup;
372 | children = (
373 | A7D31DD61CB1BF240087427A /* libRCTAddressBook.a */,
374 | A7D31DD81CB1BF240087427A /* RCTAddressBookTests.xctest */,
375 | );
376 | name = Products;
377 | sourceTree = "";
378 | };
379 | /* End PBXGroup section */
380 |
381 | /* Begin PBXNativeTarget section */
382 | 00E356ED1AD99517003FC87E /* SocialTests */ = {
383 | isa = PBXNativeTarget;
384 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "SocialTests" */;
385 | buildPhases = (
386 | 00E356EA1AD99517003FC87E /* Sources */,
387 | 00E356EB1AD99517003FC87E /* Frameworks */,
388 | 00E356EC1AD99517003FC87E /* Resources */,
389 | );
390 | buildRules = (
391 | );
392 | dependencies = (
393 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
394 | );
395 | name = SocialTests;
396 | productName = SocialTests;
397 | productReference = 00E356EE1AD99517003FC87E /* SocialTests.xctest */;
398 | productType = "com.apple.product-type.bundle.unit-test";
399 | };
400 | 13B07F861A680F5B00A75B9A /* Social */ = {
401 | isa = PBXNativeTarget;
402 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Social" */;
403 | buildPhases = (
404 | 13B07F871A680F5B00A75B9A /* Sources */,
405 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
406 | 13B07F8E1A680F5B00A75B9A /* Resources */,
407 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
408 | );
409 | buildRules = (
410 | );
411 | dependencies = (
412 | );
413 | name = Social;
414 | productName = "Hello World";
415 | productReference = 13B07F961A680F5B00A75B9A /* Social.app */;
416 | productType = "com.apple.product-type.application";
417 | };
418 | /* End PBXNativeTarget section */
419 |
420 | /* Begin PBXProject section */
421 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
422 | isa = PBXProject;
423 | attributes = {
424 | LastUpgradeCheck = 0610;
425 | ORGANIZATIONNAME = Facebook;
426 | TargetAttributes = {
427 | 00E356ED1AD99517003FC87E = {
428 | CreatedOnToolsVersion = 6.2;
429 | TestTargetID = 13B07F861A680F5B00A75B9A;
430 | };
431 | };
432 | };
433 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Social" */;
434 | compatibilityVersion = "Xcode 3.2";
435 | developmentRegion = English;
436 | hasScannedForEncodings = 0;
437 | knownRegions = (
438 | en,
439 | Base,
440 | );
441 | mainGroup = 83CBB9F61A601CBA00E9B192;
442 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
443 | projectDirPath = "";
444 | projectReferences = (
445 | {
446 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
447 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
448 | },
449 | {
450 | ProductGroup = A7D31DD01CB1BF240087427A /* Products */;
451 | ProjectRef = A7D31DCF1CB1BF240087427A /* RCTAddressBook.xcodeproj */;
452 | },
453 | {
454 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
455 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
456 | },
457 | {
458 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
459 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
460 | },
461 | {
462 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
463 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
464 | },
465 | {
466 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
467 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
468 | },
469 | {
470 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
471 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
472 | },
473 | {
474 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
475 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
476 | },
477 | {
478 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
479 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
480 | },
481 | {
482 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
483 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
484 | },
485 | {
486 | ProductGroup = 146834001AC3E56700842450 /* Products */;
487 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
488 | },
489 | {
490 | ProductGroup = A79E5EAB1CB1BD86008071F8 /* Products */;
491 | ProjectRef = A79E5EAA1CB1BD86008071F8 /* RNGeocoder.xcodeproj */;
492 | },
493 | {
494 | ProductGroup = A73DC9161CB1A73B00E67BE3 /* Products */;
495 | ProjectRef = A73DC9151CB1A73B00E67BE3 /* RNImagePicker.xcodeproj */;
496 | },
497 | );
498 | projectRoot = "";
499 | targets = (
500 | 13B07F861A680F5B00A75B9A /* Social */,
501 | 00E356ED1AD99517003FC87E /* SocialTests */,
502 | );
503 | };
504 | /* End PBXProject section */
505 |
506 | /* Begin PBXReferenceProxy section */
507 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
508 | isa = PBXReferenceProxy;
509 | fileType = archive.ar;
510 | path = libRCTActionSheet.a;
511 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
512 | sourceTree = BUILT_PRODUCTS_DIR;
513 | };
514 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
515 | isa = PBXReferenceProxy;
516 | fileType = archive.ar;
517 | path = libRCTGeolocation.a;
518 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
519 | sourceTree = BUILT_PRODUCTS_DIR;
520 | };
521 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
522 | isa = PBXReferenceProxy;
523 | fileType = archive.ar;
524 | path = libRCTImage.a;
525 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
526 | sourceTree = BUILT_PRODUCTS_DIR;
527 | };
528 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
529 | isa = PBXReferenceProxy;
530 | fileType = archive.ar;
531 | path = libRCTNetwork.a;
532 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
533 | sourceTree = BUILT_PRODUCTS_DIR;
534 | };
535 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
536 | isa = PBXReferenceProxy;
537 | fileType = archive.ar;
538 | path = libRCTVibration.a;
539 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
540 | sourceTree = BUILT_PRODUCTS_DIR;
541 | };
542 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
543 | isa = PBXReferenceProxy;
544 | fileType = archive.ar;
545 | path = libRCTSettings.a;
546 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
547 | sourceTree = BUILT_PRODUCTS_DIR;
548 | };
549 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
550 | isa = PBXReferenceProxy;
551 | fileType = archive.ar;
552 | path = libRCTWebSocket.a;
553 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
554 | sourceTree = BUILT_PRODUCTS_DIR;
555 | };
556 | 146834041AC3E56700842450 /* libReact.a */ = {
557 | isa = PBXReferenceProxy;
558 | fileType = archive.ar;
559 | path = libReact.a;
560 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
561 | sourceTree = BUILT_PRODUCTS_DIR;
562 | };
563 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
564 | isa = PBXReferenceProxy;
565 | fileType = archive.ar;
566 | path = libRCTLinking.a;
567 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
568 | sourceTree = BUILT_PRODUCTS_DIR;
569 | };
570 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
571 | isa = PBXReferenceProxy;
572 | fileType = archive.ar;
573 | path = libRCTText.a;
574 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
575 | sourceTree = BUILT_PRODUCTS_DIR;
576 | };
577 | A73DC91A1CB1A73B00E67BE3 /* libRNImagePicker.a */ = {
578 | isa = PBXReferenceProxy;
579 | fileType = archive.ar;
580 | path = libRNImagePicker.a;
581 | remoteRef = A73DC9191CB1A73B00E67BE3 /* PBXContainerItemProxy */;
582 | sourceTree = BUILT_PRODUCTS_DIR;
583 | };
584 | A79E5EBB1CB1BD86008071F8 /* libRNGeocoder.a */ = {
585 | isa = PBXReferenceProxy;
586 | fileType = archive.ar;
587 | path = libRNGeocoder.a;
588 | remoteRef = A79E5EBA1CB1BD86008071F8 /* PBXContainerItemProxy */;
589 | sourceTree = BUILT_PRODUCTS_DIR;
590 | };
591 | A7D31DD61CB1BF240087427A /* libRCTAddressBook.a */ = {
592 | isa = PBXReferenceProxy;
593 | fileType = archive.ar;
594 | path = libRCTAddressBook.a;
595 | remoteRef = A7D31DD51CB1BF240087427A /* PBXContainerItemProxy */;
596 | sourceTree = BUILT_PRODUCTS_DIR;
597 | };
598 | A7D31DD81CB1BF240087427A /* RCTAddressBookTests.xctest */ = {
599 | isa = PBXReferenceProxy;
600 | fileType = wrapper.cfbundle;
601 | path = RCTAddressBookTests.xctest;
602 | remoteRef = A7D31DD71CB1BF240087427A /* PBXContainerItemProxy */;
603 | sourceTree = BUILT_PRODUCTS_DIR;
604 | };
605 | /* End PBXReferenceProxy section */
606 |
607 | /* Begin PBXResourcesBuildPhase section */
608 | 00E356EC1AD99517003FC87E /* Resources */ = {
609 | isa = PBXResourcesBuildPhase;
610 | buildActionMask = 2147483647;
611 | files = (
612 | );
613 | runOnlyForDeploymentPostprocessing = 0;
614 | };
615 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
616 | isa = PBXResourcesBuildPhase;
617 | buildActionMask = 2147483647;
618 | files = (
619 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
620 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
621 | A75958901CAFEA6700E5312E /* Roboto-Regular.ttf in Resources */,
622 | A759588F1CAFEA6700E5312E /* Roboto-Bold.ttf in Resources */,
623 | );
624 | runOnlyForDeploymentPostprocessing = 0;
625 | };
626 | /* End PBXResourcesBuildPhase section */
627 |
628 | /* Begin PBXShellScriptBuildPhase section */
629 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
630 | isa = PBXShellScriptBuildPhase;
631 | buildActionMask = 2147483647;
632 | files = (
633 | );
634 | inputPaths = (
635 | );
636 | name = "Bundle React Native code and images";
637 | outputPaths = (
638 | );
639 | runOnlyForDeploymentPostprocessing = 0;
640 | shellPath = /bin/sh;
641 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
642 | };
643 | /* End PBXShellScriptBuildPhase section */
644 |
645 | /* Begin PBXSourcesBuildPhase section */
646 | 00E356EA1AD99517003FC87E /* Sources */ = {
647 | isa = PBXSourcesBuildPhase;
648 | buildActionMask = 2147483647;
649 | files = (
650 | 00E356F31AD99517003FC87E /* SocialTests.m in Sources */,
651 | );
652 | runOnlyForDeploymentPostprocessing = 0;
653 | };
654 | 13B07F871A680F5B00A75B9A /* Sources */ = {
655 | isa = PBXSourcesBuildPhase;
656 | buildActionMask = 2147483647;
657 | files = (
658 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
659 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
660 | );
661 | runOnlyForDeploymentPostprocessing = 0;
662 | };
663 | /* End PBXSourcesBuildPhase section */
664 |
665 | /* Begin PBXTargetDependency section */
666 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
667 | isa = PBXTargetDependency;
668 | target = 13B07F861A680F5B00A75B9A /* Social */;
669 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
670 | };
671 | /* End PBXTargetDependency section */
672 |
673 | /* Begin PBXVariantGroup section */
674 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
675 | isa = PBXVariantGroup;
676 | children = (
677 | 13B07FB21A68108700A75B9A /* Base */,
678 | );
679 | name = LaunchScreen.xib;
680 | path = Social;
681 | sourceTree = "";
682 | };
683 | /* End PBXVariantGroup section */
684 |
685 | /* Begin XCBuildConfiguration section */
686 | 00E356F61AD99517003FC87E /* Debug */ = {
687 | isa = XCBuildConfiguration;
688 | buildSettings = {
689 | BUNDLE_LOADER = "$(TEST_HOST)";
690 | FRAMEWORK_SEARCH_PATHS = (
691 | "$(SDKROOT)/Developer/Library/Frameworks",
692 | "$(inherited)",
693 | );
694 | GCC_PREPROCESSOR_DEFINITIONS = (
695 | "DEBUG=1",
696 | "$(inherited)",
697 | );
698 | INFOPLIST_FILE = SocialTests/Info.plist;
699 | IPHONEOS_DEPLOYMENT_TARGET = 8.2;
700 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
701 | PRODUCT_NAME = "$(TARGET_NAME)";
702 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Social.app/Social";
703 | };
704 | name = Debug;
705 | };
706 | 00E356F71AD99517003FC87E /* Release */ = {
707 | isa = XCBuildConfiguration;
708 | buildSettings = {
709 | BUNDLE_LOADER = "$(TEST_HOST)";
710 | COPY_PHASE_STRIP = NO;
711 | FRAMEWORK_SEARCH_PATHS = (
712 | "$(SDKROOT)/Developer/Library/Frameworks",
713 | "$(inherited)",
714 | );
715 | INFOPLIST_FILE = SocialTests/Info.plist;
716 | IPHONEOS_DEPLOYMENT_TARGET = 8.2;
717 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
718 | PRODUCT_NAME = "$(TARGET_NAME)";
719 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Social.app/Social";
720 | };
721 | name = Release;
722 | };
723 | 13B07F941A680F5B00A75B9A /* Debug */ = {
724 | isa = XCBuildConfiguration;
725 | buildSettings = {
726 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
727 | DEAD_CODE_STRIPPING = NO;
728 | HEADER_SEARCH_PATHS = (
729 | "$(inherited)",
730 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
731 | "$(SRCROOT)/../node_modules/react-native/React/**",
732 | );
733 | INFOPLIST_FILE = Social/Info.plist;
734 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
735 | OTHER_LDFLAGS = "-ObjC";
736 | PRODUCT_NAME = Social;
737 | };
738 | name = Debug;
739 | };
740 | 13B07F951A680F5B00A75B9A /* Release */ = {
741 | isa = XCBuildConfiguration;
742 | buildSettings = {
743 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
744 | HEADER_SEARCH_PATHS = (
745 | "$(inherited)",
746 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
747 | "$(SRCROOT)/../node_modules/react-native/React/**",
748 | );
749 | INFOPLIST_FILE = Social/Info.plist;
750 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
751 | OTHER_LDFLAGS = "-ObjC";
752 | PRODUCT_NAME = Social;
753 | };
754 | name = Release;
755 | };
756 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
757 | isa = XCBuildConfiguration;
758 | buildSettings = {
759 | ALWAYS_SEARCH_USER_PATHS = NO;
760 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
761 | CLANG_CXX_LIBRARY = "libc++";
762 | CLANG_ENABLE_MODULES = YES;
763 | CLANG_ENABLE_OBJC_ARC = YES;
764 | CLANG_WARN_BOOL_CONVERSION = YES;
765 | CLANG_WARN_CONSTANT_CONVERSION = YES;
766 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
767 | CLANG_WARN_EMPTY_BODY = YES;
768 | CLANG_WARN_ENUM_CONVERSION = YES;
769 | CLANG_WARN_INT_CONVERSION = YES;
770 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
771 | CLANG_WARN_UNREACHABLE_CODE = YES;
772 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
773 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
774 | COPY_PHASE_STRIP = NO;
775 | ENABLE_STRICT_OBJC_MSGSEND = YES;
776 | GCC_C_LANGUAGE_STANDARD = gnu99;
777 | GCC_DYNAMIC_NO_PIC = NO;
778 | GCC_OPTIMIZATION_LEVEL = 0;
779 | GCC_PREPROCESSOR_DEFINITIONS = (
780 | "DEBUG=1",
781 | "$(inherited)",
782 | );
783 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
784 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
785 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
786 | GCC_WARN_UNDECLARED_SELECTOR = YES;
787 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
788 | GCC_WARN_UNUSED_FUNCTION = YES;
789 | GCC_WARN_UNUSED_VARIABLE = YES;
790 | HEADER_SEARCH_PATHS = (
791 | "$(inherited)",
792 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
793 | "$(SRCROOT)/../node_modules/react-native/React/**",
794 | );
795 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
796 | MTL_ENABLE_DEBUG_INFO = YES;
797 | ONLY_ACTIVE_ARCH = YES;
798 | SDKROOT = iphoneos;
799 | };
800 | name = Debug;
801 | };
802 | 83CBBA211A601CBA00E9B192 /* Release */ = {
803 | isa = XCBuildConfiguration;
804 | buildSettings = {
805 | ALWAYS_SEARCH_USER_PATHS = NO;
806 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
807 | CLANG_CXX_LIBRARY = "libc++";
808 | CLANG_ENABLE_MODULES = YES;
809 | CLANG_ENABLE_OBJC_ARC = YES;
810 | CLANG_WARN_BOOL_CONVERSION = YES;
811 | CLANG_WARN_CONSTANT_CONVERSION = YES;
812 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
813 | CLANG_WARN_EMPTY_BODY = YES;
814 | CLANG_WARN_ENUM_CONVERSION = YES;
815 | CLANG_WARN_INT_CONVERSION = YES;
816 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
817 | CLANG_WARN_UNREACHABLE_CODE = YES;
818 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
819 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
820 | COPY_PHASE_STRIP = YES;
821 | ENABLE_NS_ASSERTIONS = NO;
822 | ENABLE_STRICT_OBJC_MSGSEND = YES;
823 | GCC_C_LANGUAGE_STANDARD = gnu99;
824 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
825 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
826 | GCC_WARN_UNDECLARED_SELECTOR = YES;
827 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
828 | GCC_WARN_UNUSED_FUNCTION = YES;
829 | GCC_WARN_UNUSED_VARIABLE = YES;
830 | HEADER_SEARCH_PATHS = (
831 | "$(inherited)",
832 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
833 | "$(SRCROOT)/../node_modules/react-native/React/**",
834 | );
835 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
836 | MTL_ENABLE_DEBUG_INFO = NO;
837 | SDKROOT = iphoneos;
838 | VALIDATE_PRODUCT = YES;
839 | };
840 | name = Release;
841 | };
842 | /* End XCBuildConfiguration section */
843 |
844 | /* Begin XCConfigurationList section */
845 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "SocialTests" */ = {
846 | isa = XCConfigurationList;
847 | buildConfigurations = (
848 | 00E356F61AD99517003FC87E /* Debug */,
849 | 00E356F71AD99517003FC87E /* Release */,
850 | );
851 | defaultConfigurationIsVisible = 0;
852 | defaultConfigurationName = Release;
853 | };
854 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Social" */ = {
855 | isa = XCConfigurationList;
856 | buildConfigurations = (
857 | 13B07F941A680F5B00A75B9A /* Debug */,
858 | 13B07F951A680F5B00A75B9A /* Release */,
859 | );
860 | defaultConfigurationIsVisible = 0;
861 | defaultConfigurationName = Release;
862 | };
863 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Social" */ = {
864 | isa = XCConfigurationList;
865 | buildConfigurations = (
866 | 83CBBA201A601CBA00E9B192 /* Debug */,
867 | 83CBBA211A601CBA00E9B192 /* Release */,
868 | );
869 | defaultConfigurationIsVisible = 0;
870 | defaultConfigurationName = Release;
871 | };
872 | /* End XCConfigurationList section */
873 | };
874 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
875 | }
876 |
--------------------------------------------------------------------------------