├── .watchmanconfig ├── src ├── translations │ ├── ru.json │ ├── en.json │ └── index.js ├── components │ ├── StyledButton.js │ ├── Images │ │ ├── checked.png │ │ ├── checked@2x.png │ │ └── checked@3x.png │ ├── BackgroundView.js │ ├── LoadingOverlay.js │ ├── index.js │ ├── TextInput.js │ ├── StyledText.js │ ├── CollapsibleView.js │ ├── GridRow.js │ ├── TopNavigatorView.js │ ├── RadioGroup.js │ ├── Dropdown.js │ └── PhotoPickerView.js ├── modules │ ├── chat │ │ ├── components │ │ │ ├── CustomAudioView.js │ │ │ ├── CustomMapView.js │ │ │ ├── MessageTypes.js │ │ │ ├── index.js │ │ │ └── CustomView.js │ │ ├── data │ │ │ ├── old_messages.js │ │ │ └── messages.js │ │ └── Chat.js │ ├── AppView.js │ ├── AppViewContainer.js │ ├── navigation │ │ ├── Navigator.js │ │ ├── ModalNavigator.js │ │ ├── AuthNavigator.js │ │ └── MainTabNavigator.js │ ├── AppState.js │ ├── profile │ │ ├── components │ │ │ ├── SectionTitleItem.js │ │ │ ├── NumberPickerListItem.js │ │ │ ├── ItemPickerListItem.js │ │ │ ├── NumberRangePickerListItem.js │ │ │ └── ListItem.js │ │ ├── Profile.js │ │ └── UploadPhoto.js │ ├── term │ │ └── Terms.js │ ├── auth │ │ └── Auth.js │ ├── shared │ │ └── PhotoModal.js │ └── lock-code │ │ └── LockCode.js ├── config │ ├── index.js │ ├── unitSystems.js │ └── api.js ├── helpers │ ├── encrypt.js │ ├── calculateConstrainedDimensions.js │ ├── toast.js │ ├── calculatePortraitDimension.js │ ├── index.js │ ├── alert.js │ └── validator.js ├── styles │ ├── fonts.js │ ├── common.js │ ├── colors.js │ └── index.js ├── middlewares │ ├── index.js │ ├── requestMiddleware.js │ └── requestFormUrlEncodeMiddleware.js ├── actions │ ├── LockCodeActions.js │ ├── AppActions.js │ ├── CommentActions.js │ ├── GalleryActions.js │ └── PublicUserActions.js ├── reducers │ ├── LockCodeReducer.js │ ├── AppReducer.js │ ├── ChatReducer.js │ ├── CommentReducer.js │ └── GalleryReducer.js ├── redux │ ├── store.js │ └── reducer.js └── socket-manager │ └── SocketActions.js ├── .gitattributes ├── app.json ├── babel.config.js ├── assets ├── images │ ├── edit.png │ ├── lock.png │ ├── play.png │ ├── plus.png │ ├── send.png │ ├── time.png │ ├── block.png │ ├── camera.png │ ├── close.png │ ├── eyeoff.png │ ├── eyeon.png │ ├── locate.png │ ├── mic_on.png │ ├── minus.png │ ├── pause.png │ ├── record.png │ ├── splash.jpg │ ├── splash.png │ ├── boneoffcb.png │ ├── boneoncb.png │ ├── bonestock.jpg │ ├── checked.png │ ├── dot_chat.png │ ├── download.png │ ├── filteroff.png │ ├── filteron.png │ ├── forward.png │ ├── gallery.png │ ├── location.png │ ├── mic_off.png │ ├── plus_pic.png │ ├── rating_on.png │ ├── searchoff.png │ ├── searchon.png │ ├── settings.png │ ├── tab_bone.png │ ├── tab_chat.png │ ├── voicecall.png │ ├── boneprofile.png │ ├── brokenbone.png │ ├── chatprofile.png │ ├── checked@2x.png │ ├── checked@3x.png │ ├── locationoff.png │ ├── locationon.png │ ├── rating_off.png │ ├── status_away.png │ ├── tab_profile.png │ ├── three_dots.png │ ├── boneoffcb_gray.png │ ├── boneprofileon.png │ ├── bubble_gray.9.png │ ├── bubble_mine.9.png │ ├── chat_wallpaper.jpg │ ├── defaultImage.png │ ├── forward_white.png │ ├── report_profile.png │ ├── role_profile.png │ ├── status_offline.png │ ├── status_online.png │ ├── switch_camera.png │ ├── video_cam_off.png │ ├── video_cam_on.png │ ├── bubble_someone.9.png │ ├── icons │ │ ├── arrow-back.png │ │ ├── arrow-back@2x.png │ │ └── arrow-back@3x.png │ ├── rating_small_off.png │ ├── rating_small_on.png │ ├── bubble_mine_seen.9.png │ ├── lookingfors │ │ ├── 420_off.png │ │ ├── 420_on.png │ │ ├── bear_on.png │ │ ├── drag_on.png │ │ ├── duo_off.png │ │ ├── duo_on.png │ │ ├── pig_off.png │ │ ├── pig_on.png │ │ ├── rice_on.png │ │ ├── snm_off.png │ │ ├── snm_on.png │ │ ├── trio_on.png │ │ ├── xl_off.png │ │ ├── xl_on.png │ │ ├── bear_off.png │ │ ├── drag_off.png │ │ ├── glory_off.png │ │ ├── glory_on.png │ │ ├── muscle_on.png │ │ ├── quatro_on.png │ │ ├── rice_off.png │ │ ├── sauna_off.png │ │ ├── sauna_on.png │ │ ├── trio_off.png │ │ ├── twink_off.png │ │ ├── twink_on.png │ │ ├── camaction_on.png │ │ ├── muscle_off.png │ │ ├── quatro_off.png │ │ ├── service_off.png │ │ ├── service_on.png │ │ ├── camaction_off.png │ │ ├── quatroplus_off.png │ │ ├── quatroplus_on.png │ │ ├── transformation_on.png │ │ └── transformation_off.png │ ├── tab_bone_selected.png │ ├── tab_chat_selected.png │ ├── bone_profile_default.jpg │ ├── bubble_mine_deliverr.9.png │ └── bubble_someone_black.9.png └── fonts │ ├── Lato-Bold.ttf │ ├── Lato-Light.ttf │ ├── Lato-Thin.ttf │ ├── Lato-Italic.ttf │ ├── Lato-Medium.ttf │ ├── Lato-Regular.ttf │ ├── aller_std_bd.ttf │ ├── aller_std_it.ttf │ ├── aller_std_lt.ttf │ ├── aller_std_rg.ttf │ ├── Lato-BoldItalic.ttf │ ├── Lato-Semibold.ttf │ ├── aller_std_bd_it.ttf │ ├── aller_std_lt_it.ttf │ ├── Lato-LightItalic.ttf │ ├── aller_display_std_rg.ttf │ ├── helvetica_ltstd_bold.otf │ ├── proxima_nova_alt_bold.otf │ ├── proxima_nova_alt_light.otf │ ├── proxima_nova_alt_thin.otf │ ├── proxima_nova_alt_regular.otf │ └── proxima_nova_alt_semibold.otf ├── android ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ └── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── Entypo.ttf │ │ │ │ ├── Zocial.ttf │ │ │ │ ├── AntDesign.ttf │ │ │ │ ├── EvilIcons.ttf │ │ │ │ ├── Feather.ttf │ │ │ │ ├── Ionicons.ttf │ │ │ │ ├── Lato-Bold.ttf │ │ │ │ ├── Lato-Thin.ttf │ │ │ │ ├── Octicons.ttf │ │ │ │ ├── FontAwesome.ttf │ │ │ │ ├── Foundation.ttf │ │ │ │ ├── Lato-Italic.ttf │ │ │ │ ├── Lato-Light.ttf │ │ │ │ ├── Lato-Medium.ttf │ │ │ │ ├── Lato-Regular.ttf │ │ │ │ ├── Lato-Semibold.ttf │ │ │ │ ├── MaterialIcons.ttf │ │ │ │ ├── aller_std_bd.ttf │ │ │ │ ├── aller_std_it.ttf │ │ │ │ ├── aller_std_lt.ttf │ │ │ │ ├── aller_std_rg.ttf │ │ │ │ ├── Lato-BoldItalic.ttf │ │ │ │ ├── Lato-LightItalic.ttf │ │ │ │ ├── SimpleLineIcons.ttf │ │ │ │ ├── aller_std_bd_it.ttf │ │ │ │ ├── aller_std_lt_it.ttf │ │ │ │ ├── FontAwesome5_Brands.ttf │ │ │ │ ├── FontAwesome5_Solid.ttf │ │ │ │ ├── FontAwesome5_Regular.ttf │ │ │ │ ├── aller_display_std_rg.ttf │ │ │ │ ├── helvetica_ltstd_bold.otf │ │ │ │ ├── proxima_nova_alt_bold.otf │ │ │ │ ├── proxima_nova_alt_thin.otf │ │ │ │ ├── MaterialCommunityIcons.ttf │ │ │ │ ├── proxima_nova_alt_light.otf │ │ │ │ ├── proxima_nova_alt_regular.otf │ │ │ │ └── proxima_nova_alt_semibold.otf │ │ │ ├── java │ │ │ └── com │ │ │ │ └── reactnativestarter │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── build_defs.bzl │ ├── proguard-rules.pro │ ├── google-services.json │ └── BUCK ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── keystores │ ├── debug.keystore.properties │ └── BUCK ├── gradle.properties ├── build.gradle ├── gradlew.bat └── settings.gradle ├── ios ├── Resources │ ├── Lato-Bold.ttf │ ├── Lato-Thin.ttf │ ├── Lato-Italic.ttf │ ├── Lato-Light.ttf │ ├── Lato-Medium.ttf │ ├── Lato-Regular.ttf │ ├── Lato-Semibold.ttf │ ├── aller_std_bd.ttf │ ├── aller_std_it.ttf │ ├── aller_std_lt.ttf │ ├── aller_std_rg.ttf │ ├── Lato-BoldItalic.ttf │ ├── Lato-LightItalic.ttf │ ├── aller_std_bd_it.ttf │ ├── aller_std_lt_it.ttf │ ├── aller_display_std_rg.ttf │ ├── helvetica_ltstd_bold.otf │ ├── proxima_nova_alt_bold.otf │ ├── proxima_nova_alt_thin.otf │ ├── proxima_nova_alt_light.otf │ ├── proxima_nova_alt_regular.otf │ └── proxima_nova_alt_semibold.otf ├── ReactNativeStarter │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── splash.imageset │ │ │ ├── splash.jpg │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── ItunesArtwork@2x.png │ │ │ └── Icon-App-83.5x83.5@2x.png │ ├── Resources │ │ ├── Lato-Bold.ttf │ │ ├── Lato-Light.ttf │ │ ├── Lato-Thin.ttf │ │ ├── Lato-Italic.ttf │ │ ├── Lato-Medium.ttf │ │ ├── Lato-Regular.ttf │ │ ├── aller_std_bd.ttf │ │ ├── aller_std_it.ttf │ │ ├── aller_std_lt.ttf │ │ ├── aller_std_rg.ttf │ │ ├── Lato-BoldItalic.ttf │ │ ├── Lato-Semibold.ttf │ │ ├── aller_std_bd_it.ttf │ │ ├── aller_std_lt_it.ttf │ │ ├── Lato-LightItalic.ttf │ │ ├── aller_display_std_rg.ttf │ │ ├── helvetica_ltstd_bold.otf │ │ ├── proxima_nova_alt_bold.otf │ │ ├── proxima_nova_alt_light.otf │ │ ├── proxima_nova_alt_thin.otf │ │ ├── proxima_nova_alt_regular.otf │ │ └── proxima_nova_alt_semibold.otf │ ├── ReactNativeStarter.entitlements │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ └── Base.lproj │ │ └── LaunchScreen.xib ├── Pods │ └── Local Podspecs │ │ └── RNSha256.podspec.json ├── ReactNativeStarterTests │ ├── Info.plist │ └── ReactNativeStarterTests.m ├── ReactNativeStarter-tvOSTests │ └── Info.plist └── ReactNativeStarter-tvOS │ └── Info.plist ├── .buckconfig ├── .prettierrc ├── README.md ├── jest-setup.js ├── .eslintrc ├── index.js ├── App.js ├── .vscode └── launch.json ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── dangerfile.js ├── .flowconfig └── plopfile.js /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /src/translations/ru.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /src/components/StyledButton.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/translations/en.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /src/modules/chat/components/CustomAudioView.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/modules/chat/components/CustomMapView.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReactNativeStarter", 3 | "displayName": "Bone" 4 | } -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ["module:metro-react-native-babel-preset"] 3 | } 4 | -------------------------------------------------------------------------------- /assets/images/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/edit.png -------------------------------------------------------------------------------- /assets/images/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lock.png -------------------------------------------------------------------------------- /assets/images/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/play.png -------------------------------------------------------------------------------- /assets/images/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/plus.png -------------------------------------------------------------------------------- /assets/images/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/send.png -------------------------------------------------------------------------------- /assets/images/time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/time.png -------------------------------------------------------------------------------- /assets/images/block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/block.png -------------------------------------------------------------------------------- /assets/images/camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/camera.png -------------------------------------------------------------------------------- /assets/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/close.png -------------------------------------------------------------------------------- /assets/images/eyeoff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/eyeoff.png -------------------------------------------------------------------------------- /assets/images/eyeon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/eyeon.png -------------------------------------------------------------------------------- /assets/images/locate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/locate.png -------------------------------------------------------------------------------- /assets/images/mic_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/mic_on.png -------------------------------------------------------------------------------- /assets/images/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/minus.png -------------------------------------------------------------------------------- /assets/images/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/pause.png -------------------------------------------------------------------------------- /assets/images/record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/record.png -------------------------------------------------------------------------------- /assets/images/splash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/splash.jpg -------------------------------------------------------------------------------- /assets/images/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/splash.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Bone 3 | 4 | -------------------------------------------------------------------------------- /assets/fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/Lato-Light.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/Lato-Thin.ttf -------------------------------------------------------------------------------- /assets/images/boneoffcb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/boneoffcb.png -------------------------------------------------------------------------------- /assets/images/boneoncb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/boneoncb.png -------------------------------------------------------------------------------- /assets/images/bonestock.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/bonestock.jpg -------------------------------------------------------------------------------- /assets/images/checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/checked.png -------------------------------------------------------------------------------- /assets/images/dot_chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/dot_chat.png -------------------------------------------------------------------------------- /assets/images/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/download.png -------------------------------------------------------------------------------- /assets/images/filteroff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/filteroff.png -------------------------------------------------------------------------------- /assets/images/filteron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/filteron.png -------------------------------------------------------------------------------- /assets/images/forward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/forward.png -------------------------------------------------------------------------------- /assets/images/gallery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/gallery.png -------------------------------------------------------------------------------- /assets/images/location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/location.png -------------------------------------------------------------------------------- /assets/images/mic_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/mic_off.png -------------------------------------------------------------------------------- /assets/images/plus_pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/plus_pic.png -------------------------------------------------------------------------------- /assets/images/rating_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/rating_on.png -------------------------------------------------------------------------------- /assets/images/searchoff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/searchoff.png -------------------------------------------------------------------------------- /assets/images/searchon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/searchon.png -------------------------------------------------------------------------------- /assets/images/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/settings.png -------------------------------------------------------------------------------- /assets/images/tab_bone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/tab_bone.png -------------------------------------------------------------------------------- /assets/images/tab_chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/tab_chat.png -------------------------------------------------------------------------------- /assets/images/voicecall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/voicecall.png -------------------------------------------------------------------------------- /ios/Resources/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/Lato-Bold.ttf -------------------------------------------------------------------------------- /ios/Resources/Lato-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/Lato-Thin.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/Lato-Italic.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/Lato-Medium.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/aller_std_bd.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/aller_std_bd.ttf -------------------------------------------------------------------------------- /assets/fonts/aller_std_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/aller_std_it.ttf -------------------------------------------------------------------------------- /assets/fonts/aller_std_lt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/aller_std_lt.ttf -------------------------------------------------------------------------------- /assets/fonts/aller_std_rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/aller_std_rg.ttf -------------------------------------------------------------------------------- /assets/images/boneprofile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/boneprofile.png -------------------------------------------------------------------------------- /assets/images/brokenbone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/brokenbone.png -------------------------------------------------------------------------------- /assets/images/chatprofile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/chatprofile.png -------------------------------------------------------------------------------- /assets/images/checked@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/checked@2x.png -------------------------------------------------------------------------------- /assets/images/checked@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/checked@3x.png -------------------------------------------------------------------------------- /assets/images/locationoff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/locationoff.png -------------------------------------------------------------------------------- /assets/images/locationon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/locationon.png -------------------------------------------------------------------------------- /assets/images/rating_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/rating_off.png -------------------------------------------------------------------------------- /assets/images/status_away.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/status_away.png -------------------------------------------------------------------------------- /assets/images/tab_profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/tab_profile.png -------------------------------------------------------------------------------- /assets/images/three_dots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/three_dots.png -------------------------------------------------------------------------------- /ios/Resources/Lato-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/Lato-Italic.ttf -------------------------------------------------------------------------------- /ios/Resources/Lato-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/Lato-Light.ttf -------------------------------------------------------------------------------- /ios/Resources/Lato-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/Lato-Medium.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/Lato-BoldItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/Lato-Semibold.ttf -------------------------------------------------------------------------------- /assets/fonts/aller_std_bd_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/aller_std_bd_it.ttf -------------------------------------------------------------------------------- /assets/fonts/aller_std_lt_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/aller_std_lt_it.ttf -------------------------------------------------------------------------------- /assets/images/boneoffcb_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/boneoffcb_gray.png -------------------------------------------------------------------------------- /assets/images/boneprofileon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/boneprofileon.png -------------------------------------------------------------------------------- /assets/images/bubble_gray.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/bubble_gray.9.png -------------------------------------------------------------------------------- /assets/images/bubble_mine.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/bubble_mine.9.png -------------------------------------------------------------------------------- /assets/images/chat_wallpaper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/chat_wallpaper.jpg -------------------------------------------------------------------------------- /assets/images/defaultImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/defaultImage.png -------------------------------------------------------------------------------- /assets/images/forward_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/forward_white.png -------------------------------------------------------------------------------- /assets/images/report_profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/report_profile.png -------------------------------------------------------------------------------- /assets/images/role_profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/role_profile.png -------------------------------------------------------------------------------- /assets/images/status_offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/status_offline.png -------------------------------------------------------------------------------- /assets/images/status_online.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/status_online.png -------------------------------------------------------------------------------- /assets/images/switch_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/switch_camera.png -------------------------------------------------------------------------------- /assets/images/video_cam_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/video_cam_off.png -------------------------------------------------------------------------------- /assets/images/video_cam_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/video_cam_on.png -------------------------------------------------------------------------------- /ios/Resources/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/Lato-Regular.ttf -------------------------------------------------------------------------------- /ios/Resources/Lato-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/Lato-Semibold.ttf -------------------------------------------------------------------------------- /ios/Resources/aller_std_bd.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/aller_std_bd.ttf -------------------------------------------------------------------------------- /ios/Resources/aller_std_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/aller_std_it.ttf -------------------------------------------------------------------------------- /ios/Resources/aller_std_lt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/aller_std_lt.ttf -------------------------------------------------------------------------------- /ios/Resources/aller_std_rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/aller_std_rg.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/Lato-LightItalic.ttf -------------------------------------------------------------------------------- /assets/images/bubble_someone.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/bubble_someone.9.png -------------------------------------------------------------------------------- /assets/images/icons/arrow-back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/icons/arrow-back.png -------------------------------------------------------------------------------- /assets/images/rating_small_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/rating_small_off.png -------------------------------------------------------------------------------- /assets/images/rating_small_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/rating_small_on.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ios/Resources/Lato-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/Lato-BoldItalic.ttf -------------------------------------------------------------------------------- /ios/Resources/Lato-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/Lato-LightItalic.ttf -------------------------------------------------------------------------------- /ios/Resources/aller_std_bd_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/aller_std_bd_it.ttf -------------------------------------------------------------------------------- /ios/Resources/aller_std_lt_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/aller_std_lt_it.ttf -------------------------------------------------------------------------------- /src/components/Images/checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/src/components/Images/checked.png -------------------------------------------------------------------------------- /assets/fonts/aller_display_std_rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/aller_display_std_rg.ttf -------------------------------------------------------------------------------- /assets/fonts/helvetica_ltstd_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/helvetica_ltstd_bold.otf -------------------------------------------------------------------------------- /assets/images/bubble_mine_seen.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/bubble_mine_seen.9.png -------------------------------------------------------------------------------- /assets/images/icons/arrow-back@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/icons/arrow-back@2x.png -------------------------------------------------------------------------------- /assets/images/icons/arrow-back@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/icons/arrow-back@3x.png -------------------------------------------------------------------------------- /assets/images/lookingfors/420_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/420_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/420_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/420_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/bear_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/bear_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/drag_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/drag_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/duo_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/duo_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/duo_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/duo_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/pig_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/pig_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/pig_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/pig_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/rice_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/rice_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/snm_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/snm_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/snm_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/snm_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/trio_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/trio_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/xl_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/xl_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/xl_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/xl_on.png -------------------------------------------------------------------------------- /assets/images/tab_bone_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/tab_bone_selected.png -------------------------------------------------------------------------------- /assets/images/tab_chat_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/tab_chat_selected.png -------------------------------------------------------------------------------- /src/components/Images/checked@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/src/components/Images/checked@2x.png -------------------------------------------------------------------------------- /src/components/Images/checked@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/src/components/Images/checked@3x.png -------------------------------------------------------------------------------- /assets/fonts/proxima_nova_alt_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/proxima_nova_alt_bold.otf -------------------------------------------------------------------------------- /assets/fonts/proxima_nova_alt_light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/proxima_nova_alt_light.otf -------------------------------------------------------------------------------- /assets/fonts/proxima_nova_alt_thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/proxima_nova_alt_thin.otf -------------------------------------------------------------------------------- /assets/images/bone_profile_default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/bone_profile_default.jpg -------------------------------------------------------------------------------- /assets/images/lookingfors/bear_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/bear_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/drag_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/drag_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/glory_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/glory_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/glory_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/glory_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/muscle_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/muscle_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/quatro_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/quatro_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/rice_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/rice_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/sauna_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/sauna_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/sauna_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/sauna_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/trio_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/trio_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/twink_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/twink_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/twink_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/twink_on.png -------------------------------------------------------------------------------- /ios/Resources/aller_display_std_rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/aller_display_std_rg.ttf -------------------------------------------------------------------------------- /ios/Resources/helvetica_ltstd_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/helvetica_ltstd_bold.otf -------------------------------------------------------------------------------- /ios/Resources/proxima_nova_alt_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/proxima_nova_alt_bold.otf -------------------------------------------------------------------------------- /ios/Resources/proxima_nova_alt_thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/proxima_nova_alt_thin.otf -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /assets/fonts/proxima_nova_alt_regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/proxima_nova_alt_regular.otf -------------------------------------------------------------------------------- /assets/fonts/proxima_nova_alt_semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/fonts/proxima_nova_alt_semibold.otf -------------------------------------------------------------------------------- /assets/images/bubble_mine_deliverr.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/bubble_mine_deliverr.9.png -------------------------------------------------------------------------------- /assets/images/bubble_someone_black.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/bubble_someone_black.9.png -------------------------------------------------------------------------------- /assets/images/lookingfors/camaction_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/camaction_on.png -------------------------------------------------------------------------------- /assets/images/lookingfors/muscle_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/muscle_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/quatro_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/quatro_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/service_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/service_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/service_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/service_on.png -------------------------------------------------------------------------------- /ios/Resources/proxima_nova_alt_light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/proxima_nova_alt_light.otf -------------------------------------------------------------------------------- /ios/Resources/proxima_nova_alt_regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/proxima_nova_alt_regular.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /assets/images/lookingfors/camaction_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/camaction_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/quatroplus_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/quatroplus_off.png -------------------------------------------------------------------------------- /assets/images/lookingfors/quatroplus_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/quatroplus_on.png -------------------------------------------------------------------------------- /ios/Resources/proxima_nova_alt_semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/Resources/proxima_nova_alt_semibold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/AntDesign.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/AntDesign.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Feather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Feather.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Lato-Thin.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /assets/images/lookingfors/transformation_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/transformation_on.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/Lato-Bold.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/Lato-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/Lato-Light.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/Lato-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/Lato-Thin.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Lato-Italic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Lato-Light.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Lato-Medium.ttf -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /assets/images/lookingfors/transformation_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/assets/images/lookingfors/transformation_off.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/Lato-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/Lato-Italic.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/Lato-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/Lato-Medium.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/Lato-Regular.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/aller_std_bd.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/aller_std_bd.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/aller_std_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/aller_std_it.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/aller_std_lt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/aller_std_lt.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/aller_std_rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/aller_std_rg.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Lato-Semibold.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/aller_std_bd.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/aller_std_bd.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/aller_std_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/aller_std_it.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/aller_std_lt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/aller_std_lt.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/aller_std_rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/aller_std_rg.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/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/dingdev88/react_native_dating_app/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/Lato-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/Lato-BoldItalic.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/Lato-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/Lato-Semibold.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/aller_std_bd_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/aller_std_bd_it.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/aller_std_lt_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/aller_std_lt_it.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Lato-BoldItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/Lato-LightItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/aller_std_bd_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/aller_std_bd_it.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/aller_std_lt_it.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/aller_std_lt_it.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/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/dingdev88/react_native_dating_app/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/Lato-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/Lato-LightItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/aller_display_std_rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/aller_display_std_rg.ttf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/helvetica_ltstd_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/helvetica_ltstd_bold.otf -------------------------------------------------------------------------------- /src/config/index.js: -------------------------------------------------------------------------------- 1 | import api from './api' 2 | import terms from './terms' 3 | import unitSystems from './unitSystems' 4 | 5 | export { 6 | api, 7 | terms, 8 | unitSystems 9 | } -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/aller_display_std_rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/aller_display_std_rg.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/helvetica_ltstd_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/helvetica_ltstd_bold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/proxima_nova_alt_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/proxima_nova_alt_bold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/proxima_nova_alt_thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/proxima_nova_alt_thin.otf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/proxima_nova_alt_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/proxima_nova_alt_bold.otf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/proxima_nova_alt_light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/proxima_nova_alt_light.otf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/proxima_nova_alt_thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/proxima_nova_alt_thin.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/proxima_nova_alt_light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/proxima_nova_alt_light.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/proxima_nova_alt_regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/proxima_nova_alt_regular.otf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/proxima_nova_alt_regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/proxima_nova_alt_regular.otf -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Resources/proxima_nova_alt_semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Resources/proxima_nova_alt_semibold.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/proxima_nova_alt_semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/android/app/src/main/assets/fonts/proxima_nova_alt_semibold.otf -------------------------------------------------------------------------------- /src/helpers/encrypt.js: -------------------------------------------------------------------------------- 1 | import { sha256 } from 'react-native-sha256'; 2 | 3 | export function sha256Hash(message, cb) { 4 | sha256(message).then( hash => { 5 | cb(hash) 6 | }) 7 | } -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/splash.imageset/splash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/splash.imageset/splash.jpg -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /src/modules/chat/components/MessageTypes.js: -------------------------------------------------------------------------------- 1 | export const MESSAGE_TYPE_TEXT = 0; 2 | export const MESSAGE_TYPE_IMAGE = 1; 3 | export const MESSAGE_TYPE_LOCATION = 2; 4 | export const MESSAGE_TYPE_VOICE = 2; -------------------------------------------------------------------------------- /src/config/unitSystems.js: -------------------------------------------------------------------------------- 1 | 2 | export default [ 3 | { 4 | id: 1, 5 | name: 'Metric' 6 | }, 7 | { 8 | id:2, 9 | name: 'Imperial' 10 | } 11 | ] 12 | 13 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "all", 3 | "semi": true, 4 | "singleQuote": true, 5 | "bracketSpacing": true, 6 | "jsxBracketSameLine": false, 7 | "tabWidth": 2, 8 | "parser": "flow" 9 | } 10 | -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png -------------------------------------------------------------------------------- /src/styles/fonts.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | export default { 3 | primaryLight: 'Proxima Nova Alt', 4 | primaryRegular: 'Proxima Nova Alt', 5 | primaryBold: 'Proxima Nova Alt', 6 | primarySemiBold: 'Proxima Nova Alt', 7 | }; 8 | -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingdev88/react_native_dating_app/HEAD/ios/ReactNativeStarter/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /src/middlewares/index.js: -------------------------------------------------------------------------------- 1 | import request from './requestMiddleware'; 2 | import requestFormUrlEncode from './requestFormUrlEncodeMiddleware'; 3 | import thunk from 'redux-thunk'; 4 | 5 | export default [ request, requestFormUrlEncode, thunk ]; -------------------------------------------------------------------------------- /src/modules/AppView.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | import Navigator from './navigation/Navigator'; 4 | 5 | export default function AppView() { 6 | return {}} uriPrefix="/app" />; 7 | } 8 | -------------------------------------------------------------------------------- /src/config/api.js: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | baseURL: 'http://34.219.223.44:2368', 4 | base: 'http://34.219.223.44', 5 | twilioURL: 'http://34.219.223.44:2368/api/twilio/token', 6 | socketURL: 'http://34.219.223.44:2368/socket' 7 | 8 | } 9 | -------------------------------------------------------------------------------- /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-4.7-all.zip 6 | -------------------------------------------------------------------------------- /ios/ReactNativeStarter/ReactNativeStarter.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/styles/common.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet, StatusBar, Platform } from 'react-native'; 2 | 3 | import colors from './colors'; 4 | 5 | export default StyleSheet.create({ 6 | safeArea: { 7 | flex: 1, 8 | backgroundColor: colors.white, 9 | paddingTop: Platform.select({ ios: 0, android: StatusBar.currentHeight }), 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /src/helpers/calculateConstrainedDimensions.js: -------------------------------------------------------------------------------- 1 | export default function calculateConstrainedDimensions(sourceWidthHeight, maxWidthHeight) { 2 | var ratio = Math.min(maxWidthHeight.width / sourceWidthHeight.width, maxWidthHeight.height / sourceWidthHeight.height); 3 | 4 | return { width: sourceWidthHeight.width*ratio, height: sourceWidthHeight.height*ratio }; 5 | } -------------------------------------------------------------------------------- /src/actions/LockCodeActions.js: -------------------------------------------------------------------------------- 1 | import { api } from '../config'; 2 | import * as ACTION_TYPES from './ActionTypes'; 3 | 4 | export function enableLock(lockCode) { 5 | 6 | return { 7 | type: ACTION_TYPES.ENABLE_LOCK, 8 | lockCode 9 | } 10 | } 11 | export function disableLock() { 12 | return { 13 | type: ACTION_TYPES.DISABLE_LOCK 14 | } 15 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Dating App on React Native

2 |

Function

3 | 10 | -------------------------------------------------------------------------------- /src/modules/chat/components/index.js: -------------------------------------------------------------------------------- 1 | import CustomActions from './CustomActions'; 2 | import CustomView from './CustomView'; 3 | import ChatRoomList from './ChatRoomList'; 4 | import ComposerContainer from './ComposerContainer'; 5 | import MessagesHolder from './MessagesHolder'; 6 | export { 7 | CustomActions, 8 | CustomView, 9 | ChatRoomList, 10 | ComposerContainer, 11 | MessagesHolder 12 | } -------------------------------------------------------------------------------- /ios/ReactNativeStarter/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (nonatomic, strong) UIWindow *window; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /src/helpers/toast.js: -------------------------------------------------------------------------------- 1 | import Toast from 'react-native-root-toast'; 2 | export function showToast(message, time){ 3 | 4 | // Add a Toast on screen. 5 | let toast = Toast.show(message, { 6 | duration: time== 'long' ? Toast.durations.LONG : Toast.durations.SHORT, 7 | position: Toast.positions.BOTTOM, 8 | shadow: true, 9 | animation: true, 10 | hideOnPress: true, 11 | delay: 0, 12 | }); 13 | } 14 | -------------------------------------------------------------------------------- /src/actions/AppActions.js: -------------------------------------------------------------------------------- 1 | import { api } from '../config'; 2 | import * as ACTION_TYPES from './ActionTypes'; 3 | import { AsyncStorage } from 'react-native'; 4 | import RNFetchBlob from 'rn-fetch-blob'; 5 | 6 | export function getModifiables(userId) { 7 | 8 | return { 9 | type: ACTION_TYPES.GET_MODIFIABLES, 10 | request: { 11 | url: `${api.baseURL}/api/user/modifiables/${userId}`, 12 | }, 13 | } 14 | } -------------------------------------------------------------------------------- /ios/ReactNativeStarter/Images.xcassets/splash.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "splash.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /jest-setup.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable no-undef,import/no-extraneous-dependencies */ 2 | import { NativeModules } from 'react-native'; 3 | import Enzyme from 'enzyme'; 4 | import Adapter from 'enzyme-adapter-react-16'; 5 | 6 | Enzyme.configure({ adapter: new Adapter() }); 7 | 8 | NativeModules.StatusBarManager = { getHeight: jest.fn() }; 9 | 10 | jest.mock('react-native-languages', () => ({ 11 | RNLanguages: { 12 | language: 'en', 13 | languages: ['en'] 14 | } 15 | })); 16 | -------------------------------------------------------------------------------- /ios/ReactNativeStarter/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/translations/index.js: -------------------------------------------------------------------------------- 1 | import * as RNLocalize from 'react-native-localize'; 2 | import i18n from 'i18n-js'; 3 | 4 | import en from './en.json'; 5 | import ru from './ru.json'; 6 | 7 | const translations = { en, ru }; 8 | 9 | const { languageTag } = RNLocalize.findBestAvailableLanguage( 10 | Object.keys(translations), 11 | ) || { languageTag: 'en' }; 12 | 13 | i18n.locale = languageTag; 14 | i18n.fallbacks = true; 15 | i18n.translations = translations; 16 | 17 | export default i18n; 18 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/reactnativestarter/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.reactnativestarter; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "ReactNativeStarter"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/helpers/calculatePortraitDimension.js: -------------------------------------------------------------------------------- 1 | import { 2 | Dimensions 3 | } from 'react-native'; 4 | export default function calculatePortraitDimension() { 5 | var { 6 | width: deviceWidth, 7 | height: deviceHeight 8 | } = Dimensions.get('window'); 9 | 10 | var portraitWidth = deviceWidth < deviceHeight ? deviceWidth : deviceHeight; 11 | var portraitHeight = deviceWidth < deviceHeight ? deviceHeight: deviceWidth; 12 | return { width: portraitWidth, height: portraitHeight}; 13 | 14 | } -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["airbnb", "prettier"], 3 | "plugins": ["react", "jsx-a11y", "import"], 4 | "parser": "babel-eslint", 5 | "rules": { 6 | "react/jsx-filename-extension": "off", 7 | "react/destructuring-assignment": "off", 8 | "no-use-before-define": "off", 9 | "react/prop-types": "off", 10 | "no-case-declarations": "off", 11 | "global-require": "off", 12 | "no-underscore-dangle": "off", 13 | "react/jsx-one-expression-per-line": "off", 14 | "react/require-default-props": "off" 15 | } 16 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | * @lint-ignore-every XPLATJSCOPYRIGHT1 4 | */ 5 | 6 | import {AppRegistry} from 'react-native'; 7 | import App from './App'; 8 | import {name as appName} from './app.json'; 9 | import {setCustomText, setCustomTextInput} from 'react-native-global-props'; 10 | 11 | const customTextProps = { 12 | style: { 13 | fontFamily: 'Proxima Nova Alt' 14 | } 15 | }; 16 | setCustomTextInput(customTextProps) 17 | setCustomText(customTextProps); 18 | 19 | AppRegistry.registerComponent(appName, () => App); 20 | -------------------------------------------------------------------------------- /src/reducers/LockCodeReducer.js: -------------------------------------------------------------------------------- 1 | import * as ACTION_TYPES from '../actions/ActionTypes'; 2 | 3 | const INITIAL_STATE = { 4 | locked: false, 5 | lockCode: '' 6 | }; 7 | 8 | export default (state = INITIAL_STATE, action) => { 9 | switch (action.type) { 10 | case ACTION_TYPES.ENABLE_LOCK: 11 | return {lockCode: action.lockCode, locked: true} 12 | case ACTION_TYPES.DISABLE_LOCK: 13 | return {lockCode: '', locked: false} 14 | default: 15 | return state; 16 | } 17 | }; 18 | -------------------------------------------------------------------------------- /src/modules/AppViewContainer.js: -------------------------------------------------------------------------------- 1 | import { compose, lifecycle } from 'recompose'; 2 | import { Platform, UIManager, StatusBar } from 'react-native'; 3 | 4 | import AppView from './AppView'; 5 | 6 | export default compose( 7 | lifecycle({ 8 | componentWillMount() { 9 | StatusBar.setBarStyle('light-content'); 10 | if (Platform.OS === 'android') { 11 | // eslint-disable-next-line no-unused-expressions 12 | UIManager.setLayoutAnimationEnabledExperimental && 13 | UIManager.setLayoutAnimationEnabledExperimental(true); 14 | } 15 | }, 16 | }), 17 | )(AppView); 18 | -------------------------------------------------------------------------------- /src/modules/navigation/Navigator.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { connect } from 'react-redux'; 3 | 4 | import AuthNavigator from './AuthNavigator'; 5 | import ModalNavigator from './ModalNavigator'; 6 | 7 | class NavigatorView extends React.Component { 8 | 9 | render () { 10 | const { auth } = this.props; 11 | if(auth.user && auth.token) 12 | return 13 | else 14 | return 15 | } 16 | } 17 | 18 | const mapStateToProps = (state) => ({ app: state.app, auth: state.auth }); 19 | 20 | export default connect(mapStateToProps)(NavigatorView); -------------------------------------------------------------------------------- /ios/Pods/Local Podspecs/RNSha256.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RNSha256", 3 | "version": "1.3.6", 4 | "summary": "Native sha256 react-native", 5 | "authors": "Hagen Huebel (hhuebel@itinance.com)", 6 | "homepage": "https://github.com/itinance/react-native-sha256", 7 | "license": "MIT", 8 | "platforms": { 9 | "ios": "8.0" 10 | }, 11 | "source": { 12 | "git": "https://github.com/itinance/react-native-sha256.git", 13 | "tag": "1.3.6" 14 | }, 15 | "source_files": "ios/**/*.{h,m,swift}", 16 | "preserve_paths": "**/*.js", 17 | "dependencies": { 18 | "React": [ 19 | 20 | ] 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/helpers/index.js: -------------------------------------------------------------------------------- 1 | 2 | import calculateConstrainedDimensions from './calculateConstrainedDimensions'; 3 | import calculatePortraitDimension from './calculatePortraitDimension'; 4 | import { showAlert, showAlertWithCallback, showAlertWithQuestionCallback } from './alert'; 5 | import { emailValidate, passwordValidate } from './validator'; 6 | import { showToast } from './toast'; 7 | import { sha256Hash } from './encrypt'; 8 | 9 | export { 10 | calculatePortraitDimension, 11 | calculateConstrainedDimensions, 12 | showAlert, 13 | showAlertWithCallback, 14 | emailValidate, 15 | passwordValidate, 16 | sha256Hash, 17 | showToast, 18 | showAlertWithQuestionCallback 19 | } -------------------------------------------------------------------------------- /android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] 15 | lib_deps.append(":" + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/modules/AppState.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | type AppStateType = { 3 | isFirstOpen: boolean, 4 | }; 5 | 6 | type ActionType = { 7 | type: string, 8 | payload?: any, 9 | }; 10 | 11 | export const initialState: AppStateType = { 12 | isFirstOpen: true, 13 | }; 14 | 15 | export const SET_FIRST_OPEN = 'AppState/SET_FIRST_OPEN'; 16 | 17 | export function setAppOpened(): ActionType { 18 | return { 19 | type: SET_FIRST_OPEN, 20 | }; 21 | } 22 | 23 | export default function AppStateReducer( 24 | state: AppStateType = initialState, 25 | action: ActionType, 26 | ): AppStateType { 27 | switch (action.type) { 28 | case SET_FIRST_OPEN: 29 | return { 30 | ...state, 31 | isFirstOpen: false, 32 | }; 33 | default: 34 | return state; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/helpers/alert.js: -------------------------------------------------------------------------------- 1 | import {Alert} from 'react-native'; 2 | export function showAlert(title, message){ 3 | setTimeout(()=> { 4 | Alert.alert(title, message); 5 | }, 200) 6 | } 7 | 8 | export function showAlertWithCallback(title, message, cb) { 9 | setTimeout(()=> { 10 | Alert.alert(title, message, [{text: 'OK', onPress:cb}]); 11 | }, 200) 12 | } 13 | export function showAlertWithQuestionCallback(title, message, cb) { 14 | setTimeout(()=> { 15 | Alert.alert(title, message, [{text: 'YES', onPress:cb},{text: 'NO'}]); 16 | }, 200) 17 | } 18 | 19 | export function confirmAlertWithCallback(title, message, cb) { 20 | setTimeout(()=> { 21 | Alert.alert(title, message, [{text: 'OK', onPress:cb}, {text: 'Cancel', onPress: () => false, style: 'cancel'}]); 22 | }, 200) 23 | } -------------------------------------------------------------------------------- /src/reducers/AppReducer.js: -------------------------------------------------------------------------------- 1 | import * as ACTION_TYPES from '../actions/ActionTypes'; 2 | 3 | const INITIAL_STATE = { 4 | isLoading: false, 5 | success: false, 6 | error: null, 7 | modifiables: null 8 | }; 9 | 10 | export default (state = INITIAL_STATE, action) => { 11 | switch (action.type) { 12 | case ACTION_TYPES.GET_MODIFIABLES: 13 | return { ...state, isLoading: true, success: false, error: null }; 14 | case ACTION_TYPES.GET_MODIFIABLES_SUCCESS: 15 | return { ...state, isLoading: false, success: true, error: null, modifiables: action.data.data.modifiables }; 16 | case ACTION_TYPES.GET_MODIFIABLES_FAILURE: 17 | return { ...state, isLoading: false, error: 'An error occured', success: false }; 18 | 19 | default: 20 | return state; 21 | } 22 | }; 23 | -------------------------------------------------------------------------------- /ios/ReactNativeStarterTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 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 | -------------------------------------------------------------------------------- /src/helpers/validator.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var tester = /^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/; 4 | exports.emailValidate = function(email) 5 | { 6 | if (!email) 7 | return false; 8 | 9 | if(email.length>254) 10 | return false; 11 | 12 | var valid = tester.test(email); 13 | if(!valid) 14 | return false; 15 | 16 | // Further checking of some things regex can't handle 17 | var parts = email.split("@"); 18 | if(parts[0].length>64) 19 | return false; 20 | 21 | var domainParts = parts[1].split("."); 22 | if(domainParts.some(function(part) { return part.length>63; })) 23 | return false; 24 | 25 | return true; 26 | } 27 | 28 | exports.passwordValidate = function(password) 29 | { 30 | if (password.length < 6) 31 | return false; 32 | return true; 33 | } -------------------------------------------------------------------------------- /src/reducers/ChatReducer.js: -------------------------------------------------------------------------------- 1 | import * as ACTION_TYPES from '../actions/ActionTypes'; 2 | 3 | const INITIAL_STATE = { 4 | isLoading: false, 5 | success: false, 6 | error: null, 7 | chatrooms: [] 8 | }; 9 | 10 | export default (state = INITIAL_STATE, action) => { 11 | switch (action.type) { 12 | case ACTION_TYPES.GET_CHATROOM_LIST: 13 | return { ...state, isLoading: true, success: false, error: null, currentAction: action.type }; 14 | case ACTION_TYPES.GET_CHATROOM_LIST_SUCCESS: 15 | return { ...state, isLoading: false, success: true, error: null, chatrooms: action.data.data.chatroom, currentAction: action.type }; 16 | case ACTION_TYPES.GET_CHATROOM_LIST_FAILURE: 17 | return { ...state, isLoading: false, error: 'An error occured', success: false, currentAction: action.type }; 18 | default: 19 | return state; 20 | } 21 | }; 22 | -------------------------------------------------------------------------------- /src/styles/colors.js: -------------------------------------------------------------------------------- 1 | const blueVersion = { 2 | primary: '#f7f7f7', 3 | primaryLight: '#f7f7f7', 4 | primaryGradientStart: '#f7f7f7', 5 | primaryGradientEnd: '#f7f7f7', 6 | secondaryGradientStart: '#97211e', 7 | secondaryGradientEnd: '#97211e', 8 | profileGradientStart: '#54CBF6', 9 | profileGradientEnd: '#49D2D0', 10 | secondary: '#97211e', 11 | grey: '#acacac', 12 | gray: '#5f5f5f', 13 | lightGray2: '#c1c0c1', 14 | darkGray: '#1f1f21', 15 | lightGray: '#9b9b9b', 16 | lightGray3: '#cbcacb', 17 | white: '#f7f7f7', 18 | transparentWhite: 'rgba(255,255,255, 0.6)', 19 | blue: '#5A81F7', 20 | bluish: '#F1F1F7', 21 | black: '#171716', 22 | green: '#6DD0A3', 23 | yellow: '#ffc247', 24 | redLight: '#97211e', 25 | transparentBlack: 'rgba(0,0,0, 0.6)', 26 | red: '#831818', 27 | darkBackground: '#272727' 28 | }; 29 | 30 | export default blueVersion; 31 | -------------------------------------------------------------------------------- /ios/ReactNativeStarter-tvOSTests/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 | -------------------------------------------------------------------------------- /src/modules/chat/data/old_messages.js: -------------------------------------------------------------------------------- 1 | module.exports = [ 2 | { 3 | _id: Math.round(Math.random() * 1000000), 4 | text: "Yeah, let's do this!", 5 | createdAt: new Date(Date.UTC(2016, 7, 30, 17, 19, 0)), 6 | user: { 7 | _id: 2, 8 | name: 'User', 9 | }, 10 | }, 11 | { 12 | _id: Math.round(Math.random() * 1000000), 13 | text: 14 | 'I was thinking about having lunch with you tonight. What do you think?', 15 | createdAt: new Date(Date.UTC(2016, 7, 30, 17, 21, 0)), 16 | user: { 17 | _id: 1, 18 | name: 'Developer', 19 | }, 20 | }, 21 | { 22 | _id: Math.round(Math.random() * 1000000), 23 | text: 'How about 8pm at Starbucks?', 24 | createdAt: new Date(Date.UTC(2016, 7, 30, 17, 20, 0)), 25 | user: { 26 | _id: 1, 27 | name: 'Developer', 28 | }, 29 | }, 30 | ]; 31 | -------------------------------------------------------------------------------- /src/redux/store.js: -------------------------------------------------------------------------------- 1 | import { applyMiddleware, createStore, compose } from 'redux'; 2 | import { persistStore } from 'redux-persist'; 3 | 4 | import middlewares from '../middlewares'; 5 | import { createLogger } from 'redux-logger'; 6 | import reducer from './reducer'; 7 | 8 | const enhancers = [ 9 | applyMiddleware( 10 | ...middlewares, 11 | createLogger({ 12 | collapsed: true, 13 | // eslint-disable-next-line no-undef 14 | predicate: () => __DEV__, 15 | }), 16 | ), 17 | ]; 18 | 19 | /* eslint-disable no-undef */ 20 | const composeEnhancers = 21 | (__DEV__ && 22 | typeof window !== 'undefined' && 23 | window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) || 24 | compose; 25 | /* eslint-enable no-undef */ 26 | 27 | const enhancer = composeEnhancers(...enhancers); 28 | 29 | export const store = createStore(reducer, {}, enhancer); 30 | export const persistor = persistStore(store); 31 | -------------------------------------------------------------------------------- /src/components/BackgroundView.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { View, StyleSheet, ImageBackground } from 'react-native'; 3 | import { connect } from 'react-redux'; 4 | import ImageView from './ImageView'; 5 | 6 | class BackgroundView extends Component { 7 | render = () => { 8 | return ( 9 | 15 | 16 | ); 17 | }; 18 | } 19 | 20 | const styles = StyleSheet.create({ 21 | background: { 22 | position: 'absolute', 23 | left: 0, 24 | right: 0, 25 | top: 0, 26 | bottom: 0, 27 | }, 28 | }); 29 | 30 | const mapStateToProps = (state) => { 31 | const { app } = state; 32 | 33 | return { app }; 34 | }; 35 | 36 | export default connect(mapStateToProps)(BackgroundView); 37 | -------------------------------------------------------------------------------- /src/modules/navigation/ModalNavigator.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Image, TouchableOpacity,View } from 'react-native'; 3 | import { createAppContainer, createStackNavigator } from 'react-navigation'; 4 | 5 | import MainNavigator from './MainNavigator'; 6 | import PhotoModal from '../shared/PhotoModal'; 7 | 8 | const modalNavigator = createStackNavigator( 9 | { 10 | Main: { 11 | screen: MainNavigator, 12 | navigationOptions: { 13 | header: null, 14 | }, 15 | }, 16 | PhotoModal:{ 17 | screen: PhotoModal, 18 | navigationOptions: { 19 | header: null, 20 | }, 21 | } 22 | 23 | }, 24 | { 25 | mode: 'modal', 26 | transparentCard: true, 27 | 28 | transitionConfig : () => ({ 29 | containerStyle: { 30 | backgroundColor: 'transparent', 31 | } 32 | }), 33 | }, 34 | ); 35 | 36 | export default createAppContainer(modalNavigator); 37 | -------------------------------------------------------------------------------- /src/components/LoadingOverlay.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { View, StyleSheet, ImageBackground, ActivityIndicator } from 'react-native'; 3 | import { connect } from 'react-redux'; 4 | 5 | class LoadingOverlay extends Component { 6 | 7 | render = () => { 8 | const { visible } = this.props; 9 | if(!visible) 10 | return null; 11 | return ( 12 | 13 | 14 | 15 | 16 | ); 17 | }; 18 | } 19 | 20 | const styles = StyleSheet.create({ 21 | background: { 22 | position: 'absolute', 23 | left: 0, 24 | right: 0, 25 | top: 0, 26 | bottom: 0, 27 | zIndex: 1, 28 | justifyContent: 'center', 29 | alignItems:'center' 30 | }, 31 | }); 32 | 33 | const mapStateToProps = (state) => { 34 | const { app } = state; 35 | 36 | return { app }; 37 | }; 38 | 39 | export default LoadingOverlay; 40 | -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | import { Provider } from 'react-redux'; 2 | import React from 'react'; 3 | import { View, ActivityIndicator, StyleSheet } from 'react-native'; 4 | import { PersistGate } from 'redux-persist/integration/react'; 5 | import { colors } from './src/styles'; 6 | 7 | import { store, persistor } from './src/redux/store'; 8 | 9 | import AppView from './src/modules/AppViewContainer'; 10 | 11 | export default function App() { 12 | return ( 13 | 14 | 17 | 18 | 19 | } 20 | persistor={persistor} 21 | > 22 | 23 | 24 | 25 | ); 26 | } 27 | 28 | const styles = StyleSheet.create({ 29 | container: { 30 | flex: 1, 31 | justifyContent: 'center', 32 | alignItems: 'center', 33 | backgroundColor: 'white', 34 | }, 35 | }); 36 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "Debug Android", 9 | "program": "${workspaceRoot}/.vscode/launchReactNative.js", 10 | "type": "reactnative", 11 | "request": "launch", 12 | "platform": "android", 13 | "sourceMaps": true, 14 | "outDir": "${workspaceRoot}/.vscode/.react" 15 | }, 16 | { 17 | "name": "Debug iOS", 18 | "program": "${workspaceRoot}/.vscode/launchReactNative.js", 19 | "type": "reactnative", 20 | "request": "launch", 21 | "platform": "ios", 22 | "sourceMaps": true, 23 | "outDir": "${workspaceRoot}/.vscode/.react" 24 | } 25 | 26 | ] 27 | } -------------------------------------------------------------------------------- /.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/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | 58 | jest_coverage -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## [2.0.0] 4 | 5 | It's a huge update that doesn't have a backward compability with the 1.x version because we totally rebuilt the RNS from the ground. 6 | 7 | ### New Features 8 | 9 | - Removed Expo and transitioned to native projects, because of lots of restrictions that expo adds to your projects. 10 | - Added Plop generator for easy deveopment. 11 | - Added support for unit testing with Jest and Enzyme. 12 | - Added support for e2e testing with Detox. 13 | - New modular architecture that will help you speed up the applications development. 14 | - Lots of performance improvements in comparison with v1.0.0 15 | - Removed eslint styling rules in favour of prettier. 16 | - Added new documentation at https://docs.reactnativestarter.com/ 17 | - CI/CD compatibale project 18 | - Lots of new fixes and improvements 19 | 20 | ## [1.1.0] 21 | 22 | ### Fixed 23 | 24 | - Navigation header issue 25 | 26 | ### Updated 27 | 28 | - Updated React Navigation to version 3.0.0 29 | - Updated all the libraries to latest versions 30 | - Added Prettier 31 | -------------------------------------------------------------------------------- /src/components/index.js: -------------------------------------------------------------------------------- 1 | // ## Generator Components Imports 2 | import Button from './Button'; 3 | import RadioGroup from './RadioGroup'; 4 | import Dropdown from './Dropdown'; 5 | import GridRow from './GridRow'; 6 | import TextInput from './TextInput'; 7 | import SegmentedControl from './SegmentedControl'; 8 | import BackgroundView from './BackgroundView'; 9 | import IconizedTextInput from './IconizedTextInput'; 10 | import LoadingOverlay from './LoadingOverlay'; 11 | import ImageView from './ImageView'; 12 | import CollapsibleView from './CollapsibleView'; 13 | import TopNavigatorView from './TopNavigatorView'; 14 | import PhotoPickerView from './PhotoPickerView'; 15 | import StyledButton from './StyledButton'; 16 | 17 | export { 18 | // ## Generator Components Exports 19 | Button, 20 | RadioGroup, 21 | Dropdown, 22 | GridRow, 23 | TextInput, 24 | SegmentedControl, 25 | BackgroundView, 26 | IconizedTextInput, 27 | LoadingOverlay, 28 | ImageView, 29 | CollapsibleView, 30 | TopNavigatorView, 31 | PhotoPickerView, 32 | StyledButton 33 | }; 34 | -------------------------------------------------------------------------------- /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 | MYAPP_RELEASE_STORE_FILE=bone-release-key.keystore 21 | MYAPP_RELEASE_KEY_ALIAS=bone-key-alias 22 | MYAPP_RELEASE_STORE_PASSWORD=123456 23 | MYAPP_RELEASE_KEY_PASSWORD=123456 -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Futurice 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /android/app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "904794305606", 4 | "firebase_url": "https://boneandroid-da1c2.firebaseio.com", 5 | "project_id": "boneandroid-da1c2", 6 | "storage_bucket": "boneandroid-da1c2.appspot.com" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1:904794305606:android:81fc8d9eb864e9d4", 12 | "android_client_info": { 13 | "package_name": "com.bone" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "904794305606-524nl76s6v0559rbsiuua6nvsmevat1i.apps.googleusercontent.com", 19 | "client_type": 3 20 | } 21 | ], 22 | "api_key": [ 23 | { 24 | "current_key": "AIzaSyCvFwT8aDWFmuA2D6XKlIo3d4vE8fQZgRE" 25 | } 26 | ], 27 | "services": { 28 | "analytics_service": { 29 | "status": 1 30 | }, 31 | "appinvite_service": { 32 | "status": 1, 33 | "other_platform_oauth_client": [] 34 | }, 35 | "ads_service": { 36 | "status": 2 37 | } 38 | } 39 | } 40 | ], 41 | "configuration_version": "1" 42 | } -------------------------------------------------------------------------------- /src/modules/profile/components/SectionTitleItem.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | } from 'react-native'; 7 | 8 | import PropTypes from 'prop-types'; 9 | import { colors } from '../../../styles'; 10 | 11 | export default class SectionTitleItem extends React.Component { 12 | render () { 13 | const { title } = this.props; 14 | return ( 15 | 16 | {title} 17 | 18 | ) 19 | } 20 | 21 | } 22 | 23 | SectionTitleItem.proptypes = { 24 | title: PropTypes.object.isRequired, 25 | }; 26 | 27 | const styles = StyleSheet.create({ 28 | itemContainerStyle: { 29 | height: 32, 30 | backgroundColor: 'black', 31 | marginRight: 16, 32 | marginLeft: 16, 33 | alignSelf: 'stretch', 34 | flexDirection: 'row', 35 | alignItems: 'center', 36 | borderBottomWidth: 1, 37 | borderBottomColor: colors.darkGray 38 | }, 39 | title: { 40 | fontSize: 17, 41 | fontWeight: 'bold', 42 | color: 'white' 43 | } 44 | 45 | }); 46 | -------------------------------------------------------------------------------- /src/actions/CommentActions.js: -------------------------------------------------------------------------------- 1 | import { api } from '../config'; 2 | import * as ACTION_TYPES from './ActionTypes'; 3 | 4 | export function postComment(fromUserId, toUserId, comment) { 5 | let body = { 6 | review: comment 7 | } 8 | return { 9 | type: ACTION_TYPES.POST_COMMENT, 10 | request: { 11 | url: `${api.baseURL}/api/review/${fromUserId}/submit/${toUserId}`, 12 | method: 'post', 13 | body: JSON.stringify(body) 14 | }, 15 | } 16 | } 17 | 18 | export function confirmComment(fromUserId, toUserId, approved) { 19 | let body = { 20 | isAccepted: approved? "true" : "false" 21 | } 22 | return { 23 | type: ACTION_TYPES.CONFIRM_COMMENT, 24 | request: { 25 | url: `${api.baseURL}/api/review/${fromUserId}/confirm/${toUserId}`, 26 | method: 'post', 27 | body: JSON.stringify(body) 28 | }, 29 | 30 | } 31 | } 32 | 33 | export function getAcceptedComments(userId) { 34 | return { 35 | type: ACTION_TYPES.GET_ACCEPTED_COMMENTS, 36 | request: { 37 | url: `${api.baseURL}/api/review/${userId}/acceptedReviews` 38 | 39 | }, 40 | userId 41 | 42 | } 43 | } -------------------------------------------------------------------------------- /dangerfile.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable import/no-extraneous-dependencies */ 2 | import { markdown, message, danger, fail, warn } from 'danger'; 3 | import includes from 'lodash/includes'; 4 | 5 | const modifiedMD = danger.git.modified_files.join('\n- '); 6 | message(`Changed Files in this PR: \n - ${modifiedMD}`); 7 | 8 | if (danger.github.pr.body.length < 10) { 9 | fail('This pull request needs an description.'); 10 | } 11 | 12 | const packageChanged = includes(danger.git.modified_files, 'package.json'); 13 | const lockfileChanged = includes(danger.git.modified_files, 'yarn.lock'); 14 | if (packageChanged && !lockfileChanged) { 15 | const msg = 'Changes were made to package.json, but not to yarn.lock'; 16 | const idea = 'Perhaps you need to run `yarn install`?'; 17 | warn(`${msg} - ${idea}`); 18 | } 19 | 20 | const bigPRThreshold = 600; 21 | if (danger.github.pr.additions + danger.github.pr.deletions > bigPRThreshold) { 22 | warn(`:exclamation: Big PR`); 23 | markdown( 24 | `Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.` 25 | ); 26 | } 27 | 28 | if (danger.github.pr.assignee === null) { 29 | fail( 30 | 'Please assign someone to merge this PR, and optionally include people who should review.' 31 | ); 32 | } 33 | -------------------------------------------------------------------------------- /src/modules/term/Terms.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | WebView, 6 | ScrollView 7 | } from 'react-native'; 8 | 9 | import { fonts, colors } from '../../styles'; 10 | import { Button, BackgroundView } from '../../components'; 11 | import { getStatusBarHeight, getBottomSpace } from 'react-native-iphone-x-helper'; 12 | import { terms } from '../../config' 13 | import HTML from 'react-native-render-html'; 14 | 15 | export default class Terms extends React.Component { 16 | 17 | componentDidMount() { 18 | } 19 | 20 | render() { 21 | return ( 22 | 23 | 24 |

${terms}

`}} /> 25 |
26 | 27 |
28 | ); 29 | } 30 | } 31 | 32 | const styles = StyleSheet.create({ 33 | container: { 34 | flex: 1, 35 | marginBottom: getBottomSpace(), 36 | }, 37 | background: { 38 | flex: 1, 39 | backgroundColor: 'black' 40 | }, 41 | text:{ 42 | fontSize: 14, 43 | color: '#fff', 44 | margin: 16, 45 | }, 46 | 47 | }); 48 | -------------------------------------------------------------------------------- /src/socket-manager/SocketActions.js: -------------------------------------------------------------------------------- 1 | export const CONNECT = 'connect'; 2 | export const RECONNECT = 'reconnect'; 3 | export const DISCONNECT = 'disconnect'; 4 | 5 | export const GET_STATUS = "getStatus"; 6 | export const PRIVATE_MESSAGE= 'privateMessage'; 7 | export const PRIVATE_MESSAGE_SENT = 'privateMessageSent'; 8 | export const GROUP_CHAT_MESSAGE = 'groupChatMessage'; 9 | export const GROUP_CHAT_MESSAGE_SENT = 'groupChatMessageSent'; 10 | export const TYPING= 'typing'; 11 | export const TYPING_STOPPED = 'typingStopped'; 12 | export const MESSAGE_STATUS_SENT = 'messageStatusSent'; 13 | export const MESSAGE_STATUS_DELIVERED= 'messageStatusDeliveried'; 14 | export const MESSAGE_STATUS_READ= 'messageStatusRead'; 15 | export const MESSAGE_DELETE = 'messageDelete'; 16 | 17 | export const LOGIN_SIGNUP = 'loginsignup' 18 | 19 | export const MESSAGE_STATUS_UPDATE = 'messageStatusUpdate' 20 | 21 | export const GET_CHATS_ONLINE_STATUS = 'getChatsOnlineStatus' 22 | export const MULTIPLE_MESSAGES = 'multipleMessages' 23 | 24 | export const INITIALIZE_UNAVAILABLE_IDS_LIST= 'initializeUnavailableIdsList' 25 | export const UPDATE_UNAVAILABLE_IDS_LIST = 'updateUnavailableIdsList' 26 | 27 | export const SET_USER_WAY = 'setUserAway' 28 | export const SET_USER_OFFLINE = 'setUserOffline' 29 | 30 | export const VOICE_CALL = 'videoCall' 31 | export const VOICE_CALL_OFF = 'videoCallOff' 32 | export const REJECT_CALL = 'rejectCall' 33 | -------------------------------------------------------------------------------- /src/redux/reducer.js: -------------------------------------------------------------------------------- 1 | import { combineReducers } from 'redux'; 2 | import { persistReducer } from 'redux-persist'; 3 | import storage from 'redux-persist/lib/storage'; 4 | // ## Generator Reducer Imports 5 | import app from '../reducers/AppReducer'; 6 | import auth from '../reducers/AuthReducer'; 7 | import users from '../reducers/UserReducer'; 8 | import publicUser from '../reducers/PublicUserReducer'; 9 | import gallery from '../reducers/GalleryReducer'; 10 | import comment from '../reducers/CommentReducer'; 11 | import lockCode from '../reducers/LockCodeReducer'; 12 | import chat from '../reducers/ChatReducer'; 13 | 14 | const authPersistConfig = { 15 | key: 'auth', 16 | storage: storage, 17 | blacklist: ['isLoading'], 18 | }; 19 | 20 | const usersPersistConfig = { 21 | key: 'users', 22 | storage: storage, 23 | blacklist: ['isLoading', 'success', 'error', 'searchUsers'], 24 | }; 25 | 26 | const lockCodePersistConfig = { 27 | key: 'lockCode', 28 | storage: storage, 29 | blacklist: [] 30 | } 31 | 32 | export default combineReducers({ 33 | // ## Generator Reducers 34 | app: persistReducer(getNormalConfig('app', []), app), 35 | auth: persistReducer(authPersistConfig, auth), 36 | users, 37 | publicUser, 38 | gallery, 39 | comment, 40 | lockCode: persistReducer(lockCodePersistConfig, lockCode), 41 | chat 42 | }); 43 | 44 | 45 | function getNormalConfig(name, blackList) { 46 | return { 47 | key: name, 48 | storage: storage, 49 | blacklist: blackList, 50 | 51 | }; 52 | } -------------------------------------------------------------------------------- /src/components/TextInput.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { View, Platform, StyleSheet, TextInput } from 'react-native'; 3 | 4 | import { fonts, colors } from '../styles'; 5 | 6 | const RNSTextInput = props => { 7 | const finalStyle = [ 8 | styles.default, 9 | props.type === 'bordered' && styles.bordered, 10 | props.dark && styles.dark, 11 | props.style && props.style, 12 | ]; 13 | 14 | return ( 15 | 16 | 22 | {Platform.OS === 'ios' && ( 23 | 24 | )} 25 | 26 | ); 27 | }; 28 | 29 | const HEIGHT = 40; 30 | 31 | const styles = StyleSheet.create({ 32 | default: { 33 | height: HEIGHT, 34 | color: 'white', 35 | fontFamily: fonts.primaryRegular, 36 | ...Platform.select({ 37 | android: { 38 | paddingLeft: 5, 39 | opacity: 0.9, 40 | }, 41 | }), 42 | }, 43 | bordered: { 44 | borderWidth: 0.5, 45 | borderColor: colors.lightGray, 46 | borderRadius: 20, 47 | paddingHorizontal: 20, 48 | }, 49 | dark: { 50 | color: colors.gray, 51 | }, 52 | primary: { 53 | borderRadius: HEIGHT / 2, 54 | backgroundColor: 'transparent', 55 | }, 56 | }); 57 | 58 | export default RNSTextInput; 59 | -------------------------------------------------------------------------------- /src/reducers/CommentReducer.js: -------------------------------------------------------------------------------- 1 | import * as ACTION_TYPES from '../actions/ActionTypes'; 2 | 3 | const INITIAL_STATE = { 4 | isLoading: false, 5 | success: false, 6 | error: null, 7 | comments: [], 8 | userId: null 9 | }; 10 | 11 | export default (state = INITIAL_STATE, action) => { 12 | switch (action.type) { 13 | case ACTION_TYPES.POST_COMMENT: 14 | return { ...state, isLoading: true, success: false, error: null , currentAction: action.type}; 15 | case ACTION_TYPES.POST_COMMENT_SUCCESS: 16 | return { ...state, isLoading: false, success: true, error: null, currentAction: action.type}; 17 | case ACTION_TYPES.POST_COMMENT_FAILURE: 18 | return { ...state, isLoading: false, error: 'You have already commented on this profile.', success: false, currentAction: action.type}; 19 | 20 | case ACTION_TYPES.GET_ACCEPTED_COMMENTS: 21 | return { ...state, isLoading: true, success: false, error: null , currentAction: action.type}; 22 | case ACTION_TYPES.GET_ACCEPTED_COMMENTS_SUCCESS: 23 | return { ...state, isLoading: false, success: true, error: null, currentAction: action.type, comments: action.data.data.reviews, userId: action.userId}; 24 | case ACTION_TYPES.GET_ACCEPTED_COMMENTS_FAILURE: 25 | return { ...state, isLoading: false, error: 'An error occured', success: false, currentAction: action.type}; 26 | 27 | default: 28 | return state; 29 | } 30 | }; 31 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.reactnativestarter", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.reactnativestarter", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "28.0.3" 6 | minSdkVersion = 16 7 | compileSdkVersion = 28 8 | targetSdkVersion = 27 9 | supportLibVersion = "28.0.0" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | } 15 | dependencies { 16 | classpath 'com.android.tools.build:gradle:3.2.1' 17 | classpath 'com.google.gms:google-services:4.2.0' 18 | // NOTE: Do not place your application dependencies here; they belong 19 | // in the individual module build.gradle files 20 | } 21 | } 22 | 23 | allprojects { 24 | repositories { 25 | mavenLocal() 26 | google() 27 | jcenter() 28 | maven { 29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 30 | url "$rootDir/../node_modules/react-native/android" 31 | } 32 | 33 | maven { url 'https://maven.google.com' } 34 | maven { url "https://jitpack.io" } 35 | } 36 | } 37 | 38 | subprojects { 39 | afterEvaluate {project -> 40 | if (project.hasProperty("android")) { 41 | android { 42 | compileSdkVersion 28 43 | buildToolsVersion "28.0.3" 44 | } 45 | } 46 | } 47 | } 48 | 49 | task wrapper(type: Wrapper) { 50 | gradleVersion = '4.7' 51 | distributionUrl = distributionUrl.replace("bin", "all") 52 | } 53 | -------------------------------------------------------------------------------- /src/modules/chat/data/messages.js: -------------------------------------------------------------------------------- 1 | module.exports = [ 2 | { 3 | _id: Math.round(Math.random() * 1000000), 4 | text: 'Do you want to build a cool app?', 5 | createdAt: new Date(Date.UTC(2016, 10, 30, 17, 20, 0)), 6 | user: { 7 | _id: 2, 8 | avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/ladylexy/128.jpg', 9 | name: 'User', 10 | }, 11 | deliveryStatus: 3 12 | }, 13 | { 14 | _id: Math.round(Math.random() * 1000000), 15 | text: "Me too. I'm here now", 16 | createdAt: new Date(Date.UTC(2016, 9, 30, 17, 20, 0)), 17 | user: { 18 | _id: 1, 19 | avatar: '', 20 | name: 'Developer', 21 | }, 22 | sent: true, 23 | received: true, 24 | location: { 25 | latitude: 48.864601, 26 | longitude: 2.398704, 27 | }, 28 | deliveryStatus: 2 29 | }, 30 | { 31 | _id: Math.round(Math.random() * 1000000), 32 | text: 'Doing great!', 33 | createdAt: new Date(Date.UTC(2016, 8, 30, 17, 20, 0)), 34 | user: { 35 | _id: 1, 36 | avatar: '', 37 | name: 'User', 38 | }, 39 | deliveryStatus: 1 40 | }, 41 | { 42 | _id: Math.round(Math.random() * 1000000), 43 | text: "Sup man, how're you doing?", 44 | createdAt: new Date(Date.UTC(2016, 7, 30, 17, 20, 0)), 45 | user: { 46 | _id: 1, 47 | avatar: '', 48 | name: 'Developer', 49 | }, 50 | sent: true, 51 | received: true, 52 | deliveryStatus: 0 53 | }, 54 | ]; 55 | -------------------------------------------------------------------------------- /ios/ReactNativeStarter/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | 13 | @implementation AppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | NSURL *jsCodeLocation; 18 | 19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 20 | 21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 22 | moduleName:@"ReactNativeStarter" 23 | initialProperties:nil 24 | launchOptions:launchOptions]; 25 | rootView.backgroundColor = [UIColor blackColor]; 26 | 27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 28 | UIViewController *rootViewController = [UIViewController new]; 29 | rootViewController.view = rootView; 30 | self.window.rootViewController = rootViewController; 31 | [self.window makeKeyAndVisible]; 32 | 33 | /*for (NSString* family in [UIFont familyNames]) 34 | { 35 | NSLog(@"%@", family); 36 | for (NSString* name in [UIFont fontNamesForFamilyName: family]) 37 | { 38 | NSLog(@" %@", name); 39 | } 40 | }*/ 41 | return YES; 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /src/reducers/GalleryReducer.js: -------------------------------------------------------------------------------- 1 | import * as ACTION_TYPES from '../actions/ActionTypes'; 2 | 3 | 4 | const INITIAL_STATE = { 5 | isLoading: false, 6 | success: false, 7 | error: null, 8 | gallery: [], 9 | }; 10 | 11 | export default (state = INITIAL_STATE, action) => { 12 | switch (action.type) { 13 | case ACTION_TYPES.GET_GALLERY: 14 | return { ...state, isLoading: true, success: false, error: null }; 15 | case ACTION_TYPES.GET_GALLERY_SUCCESS: 16 | return { ...state, isLoading: false, success: true, error: null, gallery: action.data.data.gallery}; 17 | case ACTION_TYPES.GET_GALLERY_FAILURE: 18 | return { ...state, isLoading: false, error: 'An error occured', success: false }; 19 | 20 | case ACTION_TYPES.ADD_IMAGE_GALLERY: 21 | return { ...state, isLoading: true, success: false, error: null }; 22 | case ACTION_TYPES.ADD_IMAGE_GALLERY_SUCCESS: 23 | return { ...state, isLoading: false, success: true, error: null, gallery: action.data.gallery }; 24 | case ACTION_TYPES.ADD_IMAGE_GALLERY_FAILURE: 25 | return { ...state, isLoading: false, error: 'An error occured', success: false }; 26 | 27 | case ACTION_TYPES.DELETE_IMAGE_GALLERY: 28 | return { ...state, isLoading: true, success: false, error: null }; 29 | case ACTION_TYPES.DELETE_IMAGE_GALLERY_SUCCESS: 30 | return { ...state, isLoading: false, success: true, error: null, gallery: action.data.data.gallery }; 31 | case ACTION_TYPES.DELETE_IMAGE_GALLERY_FAILURE: 32 | return { ...state, isLoading: false, error: 'An error occured', success: false }; 33 | default: 34 | return state; 35 | } 36 | }; 37 | -------------------------------------------------------------------------------- /src/modules/auth/Auth.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | Platform, 6 | } from 'react-native'; 7 | 8 | import { fonts, colors } from '../../styles'; 9 | import { Button, BackgroundView } from '../../components'; 10 | import { getStatusBarHeight, getBottomSpace } from 'react-native-iphone-x-helper'; 11 | 12 | 13 | export default class Auth extends React.Component { 14 | 15 | componentDidMount() { 16 | } 17 | 18 | render() { 19 | return ( 20 | 21 | 22 | 23 | 24 |