├── .babelrc ├── .buckconfig ├── .editorconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .prettierrc ├── .vscode └── settings.json ├── .watchmanconfig ├── README.md ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ ├── appcenter-config.json │ │ └── fonts │ │ │ ├── FontAwesome.ttf │ │ │ ├── Lato-Bold.ttf │ │ │ ├── Lato-Light.ttf │ │ │ ├── Lato-Regular.ttf │ │ │ ├── Lato-Thin.ttf │ │ │ ├── MaterialIcons.ttf │ │ │ └── SimpleLineIcons.ttf │ │ ├── java │ │ └── io │ │ │ └── apla │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── drawable-hdpi │ │ └── screen.png │ │ ├── drawable-land-hdpi │ │ └── screen.png │ │ ├── drawable-land-ldpi │ │ └── screen.png │ │ ├── drawable-land-mdpi │ │ └── screen.png │ │ ├── drawable-land-xhdpi │ │ └── screen.png │ │ ├── drawable-land-xxhdpi │ │ └── screen.png │ │ ├── drawable-land-xxxhdpi │ │ └── screen.png │ │ ├── drawable-land │ │ └── screen.png │ │ ├── drawable-ldpi │ │ └── screen.png │ │ ├── drawable-mdpi │ │ └── screen.png │ │ ├── drawable-xhdpi │ │ └── screen.png │ │ ├── drawable-xxhdpi │ │ └── screen.png │ │ ├── drawable-xxxhdpi │ │ └── screen.png │ │ ├── drawable │ │ ├── icon.png │ │ ├── screen.png │ │ └── splashscreen.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties ├── settings.gradle └── variables.gradle.template ├── app.json ├── assets ├── fonts │ ├── Lato-Bold.ttf │ ├── Lato-Light.ttf │ ├── Lato-Regular.ttf │ └── Lato-Thin.ttf └── images │ ├── BgGreen.png │ ├── bg.png │ ├── logo.svg │ ├── logo │ ├── logo.png │ ├── logo@2x.png │ ├── logo@3x.png │ ├── logo_black.png │ ├── logo_black@2x.png │ └── logo_black@3x.png │ └── newBg.png ├── config.json ├── deploy.sh ├── docs └── Styles.md ├── index.js ├── ios ├── Apla.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── Apla-tvOS.xcscheme │ │ └── Apla.xcscheme ├── Apla │ ├── Apla.entitlements │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── 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-57x57@1x.png │ │ │ ├── Icon-App-57x57@2x.png │ │ │ ├── Icon-App-60x60@1x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-72x72@1x.png │ │ │ ├── Icon-App-72x72@2x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-76x76@3x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ ├── Icon-Small-50x50@1x.png │ │ │ ├── Icon-Small-50x50@2x.png │ │ │ └── ItunesArtwork@2x.png │ │ ├── Contents.json │ │ └── LaunchImage.launchimage │ │ │ ├── 1125x2436_land.png │ │ │ ├── 640x960_portrait.png │ │ │ ├── Contents.json │ │ │ ├── LaunchImage-1242@3x~iphone6s-landscape_2208x1242.png │ │ │ ├── LaunchImage-1242@3x~iphone6s-portrait_1242x2208.png │ │ │ ├── LaunchImage-568h@2x~iphone_640x1136.png │ │ │ ├── LaunchImage-750@2x~iphone6-landscape_1334x750.png │ │ │ ├── LaunchImage-750@2x~iphone6-portrait_750x1334.png │ │ │ ├── LaunchImage-Landscape@2x~ipad_2048x1496.png │ │ │ ├── LaunchImage-Landscape@2x~ipad_2048x1536.png │ │ │ ├── LaunchImage-Landscape~ipad_1024x748.png │ │ │ ├── LaunchImage-Landscape~ipad_1024x768.png │ │ │ ├── LaunchImage-Portrait@2x~ipad_1536x2008.png │ │ │ ├── LaunchImage-Portrait@2x~ipad_1536x2048.png │ │ │ ├── LaunchImage-Portrait~ipad_768x1024.png │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage~ipad.png │ │ │ ├── LaunchImage~iphone_640x960.png │ │ │ └── iphoneX.png │ ├── Info.plist │ └── main.m ├── AplaTests │ ├── AplaTests.m │ └── Info.plist ├── LaunchScreen.storyboard ├── Podfile └── Podfile.lock ├── package.json ├── src ├── components │ ├── AccountList │ │ ├── Avatar.tsx │ │ ├── CreateAccountButton.tsx │ │ ├── Row.tsx │ │ ├── index.tsx │ │ └── styles.ts │ ├── Alert │ │ ├── index.tsx │ │ └── styles.ts │ ├── AnimatedDrawer │ │ ├── index.tsx │ │ └── styles.ts │ ├── AppVersion │ │ ├── index.tsx │ │ └── styles.ts │ ├── BackButton │ │ ├── index.tsx │ │ └── styles.ts │ ├── BackupAccountModal │ │ ├── index.tsx │ │ └── styles.ts │ ├── BacupAccountButton │ │ ├── index.tsx │ │ └── styles.ts │ ├── ChangePasswordButton │ │ ├── index.tsx │ │ └── styles.ts │ ├── DrawerButton │ │ └── index.tsx │ ├── DrawerContent │ │ ├── index.tsx │ │ └── styles.ts │ ├── Footer │ │ ├── index.tsx │ │ └── styles.ts │ ├── HomeButton │ │ ├── index.tsx │ │ └── styles.ts │ ├── ImportAccountForm │ │ ├── index.tsx │ │ └── styles.ts │ ├── IntlProvider │ │ └── index.tsx │ ├── LogoutButton │ │ ├── index.tsx │ │ └── styles.ts │ ├── MainBackgroundImage │ │ ├── index.tsx │ │ └── styles.ts │ ├── Mask │ │ └── index.tsx │ ├── Menu │ │ ├── Item.tsx │ │ ├── index.tsx │ │ └── styles.ts │ ├── MenuGrid │ │ ├── Item.tsx │ │ ├── index.tsx │ │ └── styles.ts │ ├── Modal │ │ ├── index.tsx │ │ └── styles.ts │ ├── NestedContractSigningModal │ │ ├── Row.tsx │ │ ├── index.tsx │ │ └── styles.ts │ ├── NotificationsIcon │ │ ├── index.tsx │ │ └── styles.ts │ ├── NotificationsPage │ │ ├── index.tsx │ │ └── styles.ts │ ├── Page │ │ ├── index.tsx │ │ └── styles.ts │ ├── PageTitle │ │ ├── index.tsx │ │ └── styles.ts │ ├── Protypo │ │ ├── Button.style.ts │ │ ├── Button.tsx │ │ ├── DBFind.tsx │ │ ├── Data.tsx │ │ ├── Div.tsx │ │ ├── Em.tsx │ │ ├── Forlist.tsx │ │ ├── Form.tsx │ │ ├── Image.style.ts │ │ ├── Image.tsx │ │ ├── Input.style.ts │ │ ├── Input.tsx │ │ ├── InputError.tsx │ │ ├── InputImage.tsx │ │ ├── Label.style.ts │ │ ├── Label.tsx │ │ ├── LinkPage.tsx │ │ ├── P.tsx │ │ ├── Protypo.tsx │ │ ├── RadioGroup.style.ts │ │ ├── RadioGroup.tsx │ │ ├── Select.style.ts │ │ ├── Select.tsx │ │ ├── Span.tsx │ │ ├── Strong.tsx │ │ ├── Table.style.ts │ │ ├── Table.tsx │ │ ├── Text.style.ts │ │ ├── Text.tsx │ │ ├── Title.tsx │ │ ├── constants.ts │ │ ├── index.ts │ │ ├── protypoContainerStyles.ts │ │ ├── styles │ │ │ ├── alert.ts │ │ │ ├── bg.ts │ │ │ ├── button.ts │ │ │ ├── div.ts │ │ │ ├── grid.ts │ │ │ ├── index.ts │ │ │ ├── panel.ts │ │ │ ├── text.ts │ │ │ └── theme.ts │ │ └── utils │ │ │ ├── DataSource.ts │ │ │ ├── Validators.ts │ │ │ ├── common.ts │ │ │ └── rules.ts │ ├── RefreshButton │ │ ├── index.tsx │ │ └── styles.ts │ ├── RemoveAccountButton │ │ ├── index.tsx │ │ └── styles.ts │ ├── RevertHistroyButton │ │ └── index.tsx │ ├── RoleSelectForm │ │ ├── index.tsx │ │ └── styles.ts │ ├── Scanner │ │ ├── ScannerFrame.tsx │ │ ├── index.tsx │ │ └── styles.ts │ ├── SelectAuthTypeModal │ │ ├── index.tsx │ │ └── styles.ts │ ├── SignInForm │ │ ├── index.tsx │ │ └── styles.ts │ ├── SignUpConfirmForm │ │ ├── index.tsx │ │ └── styles.ts │ ├── SignUpForm │ │ ├── index.tsx │ │ └── styles.ts │ ├── SignUpWarning │ │ ├── index.tsx │ │ └── styles.ts │ ├── StaticProtypo │ │ ├── index.tsx │ │ ├── pages │ │ │ └── InvitePage │ │ │ │ ├── index.tsx │ │ │ │ └── styles.ts │ │ └── styles.ts │ ├── StatusBar │ │ └── index.tsx │ ├── StatusIcon │ │ ├── index.tsx │ │ └── styles.ts │ ├── TouchId │ │ ├── index.tsx │ │ └── styles.ts │ ├── Transactions │ │ ├── index.tsx │ │ └── styles.ts │ ├── ValidatePasswordForm │ │ ├── index.tsx │ │ └── styles.ts │ ├── ui │ │ ├── Button │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Field │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Input │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── InputDate │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── InputHidden │ │ │ └── index.tsx │ │ ├── InputImage │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Logo │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Text │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ └── theme.ts │ └── utils │ │ ├── BackgroundImageHoc │ │ ├── index.tsx │ │ └── styles.ts │ │ ├── KeyboardAwareScrollView │ │ ├── index.tsx │ │ └── styles.ts │ │ └── icon.ts ├── config.ts ├── constants.ts ├── containers │ ├── AccountList │ │ ├── AccountListContainer.ts │ │ └── RowContainer.ts │ ├── AlertContainer.ts │ ├── AnimatedDrawerContainer.ts │ ├── BackButtonContainer.ts │ ├── BackupAccountButtonContainer.ts │ ├── ChangePasswordButtonContainer.ts │ ├── DrawerButtonContainer.ts │ ├── DrawerContentContainer.ts │ ├── ExportSeedButtonContainer.ts │ ├── GenerateSeedButtonContainer.ts │ ├── HomeButtonContainer.ts │ ├── HomePageContainer.ts │ ├── ImportAccountFormContainer.ts │ ├── ImportSeedButtonContainer.ts │ ├── IntlProviderContainer.ts │ ├── LogoutButtonContainer.ts │ ├── MainBackgroundImageContainer.ts │ ├── MenuContainer.ts │ ├── MenuGridContainer.ts │ ├── ModalsContainer.ts │ ├── NavigationContainer.ts │ ├── NotificationsIconContainer.ts │ ├── PageContainer.ts │ ├── PageTitleContainer.ts │ ├── PendingButtonContainer.ts │ ├── Protypo │ │ ├── ButtonContainer.ts │ │ ├── DivContainer.ts │ │ ├── ImageContainer.ts │ │ ├── LinkPageContainer.ts │ │ ├── ProtypoContainer.ts │ │ └── TitleContainer.ts │ ├── RefreshButtonContainer.ts │ ├── RemoveAccountButtonContainer.ts │ ├── RevertHistroyButtonContainer.ts │ ├── ScannerContainer.ts │ ├── SignUpWarningContainer.ts │ ├── SingInFormContainer.ts │ ├── SingUpConfirmFormContainer.ts │ ├── SingUpFormContainer.ts │ ├── StaticProtypoContainer.ts │ ├── StatusBarContainer.ts │ ├── StatusIconContainer.ts │ ├── TouchIdContainer.ts │ └── TransactionsContainer.ts ├── fullNodes.ts ├── index.tsx ├── modules │ ├── account │ │ ├── actions.ts │ │ ├── index.ts │ │ ├── reducer.ts │ │ └── selectors.ts │ ├── application │ │ ├── __tests__ │ │ │ └── saga.ts │ │ ├── actions.ts │ │ ├── index.ts │ │ ├── reducer.ts │ │ ├── saga.ts │ │ └── selectors.ts │ ├── auth │ │ ├── __tests__ │ │ │ └── saga.ts │ │ ├── actions.ts │ │ ├── index.ts │ │ ├── reducer.ts │ │ ├── saga.ts │ │ └── selectors.ts │ ├── ecosystem │ │ ├── actions.ts │ │ ├── index.ts │ │ ├── reducer.ts │ │ ├── saga.ts │ │ └── selectors.ts │ ├── index.ts │ ├── navigator │ │ ├── __mocks__ │ │ │ └── reducer.ts │ │ ├── actions.ts │ │ ├── index.ts │ │ ├── reducer.ts │ │ └── selectors.ts │ ├── nodes │ │ ├── actions.ts │ │ ├── index.ts │ │ ├── reducer.ts │ │ ├── saga.ts │ │ └── selectors.ts │ ├── notifications │ │ ├── __tests__ │ │ │ └── saga.ts │ │ ├── actions.ts │ │ ├── index.ts │ │ ├── reducer.ts │ │ ├── saga.ts │ │ └── selectors.ts │ ├── page │ │ ├── actions.ts │ │ ├── index.ts │ │ ├── reducer.ts │ │ ├── saga.ts │ │ └── selectors.ts │ ├── sagas │ │ ├── __mocks__ │ │ │ └── utils.ts │ │ ├── __tests__ │ │ │ ├── accounts.ts │ │ │ ├── changePassword.ts │ │ │ ├── compositeContracts.ts │ │ │ ├── ecosystem.ts │ │ │ ├── hardwareBackButton.ts │ │ │ ├── navigation.ts │ │ │ ├── page.ts │ │ │ ├── privateKey.ts │ │ │ ├── sagaHelpers.ts │ │ │ └── scanner.ts │ │ ├── account.ts │ │ ├── appState.ts │ │ ├── appcenter.ts │ │ ├── backupAccount.ts │ │ ├── changePassword.ts │ │ ├── ecosystem.ts │ │ ├── hardwareBackButton.ts │ │ ├── index.ts │ │ ├── linking.ts │ │ ├── navigation.ts │ │ ├── network.ts │ │ ├── page.ts │ │ ├── privateKey.ts │ │ ├── routes.ts │ │ ├── sagaHelpers.ts │ │ ├── scanner.ts │ │ ├── seed.ts │ │ └── utils.ts │ ├── store.ts │ └── transaction │ │ ├── __tests__ │ │ └── saga.ts │ │ ├── actions.ts │ │ ├── index.ts │ │ ├── reducer.ts │ │ ├── saga.ts │ │ └── selectors.ts ├── navigatorConfig.ts ├── screens │ ├── AccountSelectScreen │ │ ├── index.tsx │ │ └── styles.ts │ ├── ActivateAccScreen │ │ ├── index.tsx │ │ └── styles.ts │ ├── AuthSuccessfulScreen │ │ ├── index.tsx │ │ └── styles.ts │ ├── AuthTypeScreen │ │ ├── index.tsx │ │ └── styles.ts │ ├── HomeScreen │ │ ├── index.tsx │ │ └── styles.ts │ ├── ImportAccountScreen │ │ └── index.tsx │ ├── LandingScreen │ │ ├── index.tsx │ │ └── styles.ts │ ├── PageScreen │ │ ├── index.tsx │ │ └── styles.ts │ ├── ScannerScreen │ │ ├── index.tsx │ │ └── styles.ts │ ├── SignInScreen │ │ ├── index.tsx │ │ └── styles.ts │ ├── SignUpConfirmScreen │ │ └── index.tsx │ ├── SignUpScreen │ │ └── index.tsx │ ├── SignUpWarningScreen │ │ ├── index.tsx │ │ └── styles.tsx │ └── SubMenuScreen │ │ ├── index.tsx │ │ └── styles.ts ├── types │ ├── Protypo.d.ts │ ├── account.d.ts │ ├── auth.d.ts │ ├── centrifuge.d.ts │ ├── index.d.ts │ └── reducers.d.ts └── utils │ ├── __mocks__ │ └── common.ts │ ├── __tests__ │ └── common.ts │ ├── api.ts │ ├── common.ts │ ├── keyring.ts │ ├── link.ts │ ├── transactions │ ├── contract │ │ ├── field │ │ │ ├── boolean.ts │ │ │ ├── file.ts │ │ │ ├── float.ts │ │ │ ├── index.ts │ │ │ ├── integer.ts │ │ │ ├── money.ts │ │ │ ├── string.ts │ │ │ └── stringCollection.ts │ │ └── index.ts │ ├── convert.ts │ ├── crypto │ │ ├── crc64.ts │ │ └── index.ts │ └── schema │ │ ├── defaultSchema.ts │ │ └── index.ts │ └── translations │ ├── en-US.ts │ ├── index.ts │ └── ru-RU.ts ├── test-setup.js ├── tsconfig.json ├── tslint.json └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["module:metro-react-native-babel-preset"], 3 | "plugins": [ 4 | [ 5 | "module-resolver", 6 | { 7 | "alias": { 8 | "modules": "./lib/modules", 9 | "components": "./lib/components", 10 | "containers": "./lib/containers", 11 | "screens": "./lib/screens", 12 | "sagas": "./lib/sagas", 13 | "utils": "./lib/utils", 14 | "config": "./lib/config" 15 | } 16 | } 17 | ] 18 | ], 19 | "env": { 20 | "production": { 21 | "plugins": ["transform-remove-console"] 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # editorconfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | end_of_line = lf 9 | charset = utf-8 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | indent_style = space 13 | indent_size = 2 14 | 15 | [*.js] 16 | indent_style = space 17 | indent_size = 2 18 | 19 | [*.{css,scss}] 20 | indent_style = space 21 | indent_size = 2 22 | 23 | [*.html] 24 | indent_style = space 25 | indent_size = 2 26 | 27 | [*.{diff,md}] 28 | trim_trailing_whitespace = false 29 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.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 | *.xcworkspace 25 | Pods 26 | AppCenter-Config.plist 27 | 28 | # Android/IntelliJ 29 | # 30 | build/ 31 | .idea 32 | .gradle 33 | google-services.json 34 | local.properties 35 | variables.gradle 36 | *.iml 37 | 38 | # node.js 39 | # 40 | node_modules/ 41 | npm-debug.log 42 | yarn-error.log 43 | 44 | # BUCK 45 | buck-out/ 46 | \.buckd/ 47 | *.keystore 48 | 49 | # fastlane 50 | # 51 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 52 | # screenshots whenever they are needed. 53 | # For more information about the recommended setup visit: 54 | # https://docs.fastlane.tools/best-practices/source-control/ 55 | 56 | */fastlane/report.xml 57 | */fastlane/Preview.html 58 | */fastlane/screenshots 59 | 60 | # TypeScript 61 | # 62 | lib/ 63 | 64 | # Jest 65 | # 66 | .jest/ 67 | # Bundle artifact 68 | *.jsbundle 69 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 140, 3 | "tabWidth": 2, 4 | "useTabs": false, 5 | "semi": true, 6 | "singleQuote": true, 7 | "trailingComma": "all" 8 | } 9 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "eslint.enable": false, 3 | "search.exclude": { 4 | "**/node_modules": true, 5 | "**/bower_components": true, 6 | "**/lib": true 7 | }, 8 | "typescript.tsdk": "node_modules/typescript/lib", 9 | "tslint.enable": true, 10 | "typescript.autoImportSuggestions.enabled": true, 11 | "java.configuration.updateBuildConfiguration": "disabled", 12 | "editor.tabSize": 2, 13 | } 14 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /android/app/src/main/assets/appcenter-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "app_secret": "5951d6e2-7bdc-4a15-9322-b21cd43bcdb1" 3 | } -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/assets/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/assets/fonts/Lato-Light.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/assets/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Lato-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/assets/fonts/Lato-Thin.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/java/io/apla/MainActivity.java: -------------------------------------------------------------------------------- 1 | package io.apla; 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 "Apla"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-hdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-land-hdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-land-hdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-land-ldpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-land-ldpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-land-mdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-land-mdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-land-xhdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-land-xhdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-land-xxhdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-land-xxhdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-land-xxxhdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-land-xxxhdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-land/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-land/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-ldpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-ldpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-mdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-xhdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-xxhdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable-xxxhdpi/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable/icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/drawable/screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/splashscreen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ALWAYS_SEND 3 | ALWAYS_SEND 4 | Apla 5 | 6 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /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.4-all.zip 6 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/variables.gradle.template: -------------------------------------------------------------------------------- 1 | ext { 2 | MYAPP_CODEPUSH_KEY = '' 3 | MYAPP_RELEASE_STORE_FILE = '' 4 | MYAPP_RELEASE_KEY_ALIAS = '' 5 | MYAPP_RELEASE_STORE_PASSWORD = '' 6 | MYAPP_RELEASE_KEY_PASSWORD = '' 7 | } 8 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Apla", 3 | "displayName": "Apla" 4 | } -------------------------------------------------------------------------------- /assets/fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/fonts/Lato-Light.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/Lato-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/fonts/Lato-Thin.ttf -------------------------------------------------------------------------------- /assets/images/BgGreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/images/BgGreen.png -------------------------------------------------------------------------------- /assets/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/images/bg.png -------------------------------------------------------------------------------- /assets/images/logo/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/images/logo/logo.png -------------------------------------------------------------------------------- /assets/images/logo/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/images/logo/logo@2x.png -------------------------------------------------------------------------------- /assets/images/logo/logo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/images/logo/logo@3x.png -------------------------------------------------------------------------------- /assets/images/logo/logo_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/images/logo/logo_black.png -------------------------------------------------------------------------------- /assets/images/logo/logo_black@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/images/logo/logo_black@2x.png -------------------------------------------------------------------------------- /assets/images/logo/logo_black@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/images/logo/logo_black@3x.png -------------------------------------------------------------------------------- /assets/images/newBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/assets/images/newBg.png -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- 1 | { 2 | "secret": "127.0.0.1", 3 | "web": true, 4 | "admin_password": "password", 5 | "admin_secret": "test", 6 | "namespaces": [ 7 | { 8 | "name": "public", 9 | "anonymous": true, 10 | "publish": true, 11 | "watch": true, 12 | "presence": true, 13 | "join_leave": true, 14 | "history_size": 10, 15 | "history_lifetime": 30, 16 | "recover": true 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | appcenter apps set-current str16071985/Apla 4 | 5 | appcenter codepush release-react 6 | 7 | appcenter apps set-current str16071985/Apla-Android 8 | 9 | appcenter codepush release-react 10 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import 'babel-polyfill'; 2 | import 'intl'; // polyfill for Intl API 3 | import './lib/index'; 4 | -------------------------------------------------------------------------------- /ios/Apla/Apla.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | com.apple.developer.icloud-container-identifiers 8 | 9 | iCloud.aplaContainer 10 | 11 | com.apple.developer.icloud-services 12 | 13 | CloudDocuments 14 | 15 | com.apple.developer.ubiquity-container-identifiers 16 | 17 | iCloud.aplaContainer 18 | 19 | com.apple.developer.ubiquity-kvstore-identifier 20 | $(TeamIdentifierPrefix)$(CFBundleIdentifier) 21 | 22 | 23 | -------------------------------------------------------------------------------- /ios/Apla/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 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 | -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/1125x2436_land.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/1125x2436_land.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/640x960_portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/640x960_portrait.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-1242@3x~iphone6s-landscape_2208x1242.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-1242@3x~iphone6s-landscape_2208x1242.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-1242@3x~iphone6s-portrait_1242x2208.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-1242@3x~iphone6s-portrait_1242x2208.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-568h@2x~iphone_640x1136.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-568h@2x~iphone_640x1136.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-750@2x~iphone6-landscape_1334x750.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-750@2x~iphone6-landscape_1334x750.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-750@2x~iphone6-portrait_750x1334.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-750@2x~iphone6-portrait_750x1334.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Landscape@2x~ipad_2048x1496.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Landscape@2x~ipad_2048x1496.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Landscape@2x~ipad_2048x1536.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Landscape@2x~ipad_2048x1536.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Landscape~ipad_1024x748.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Landscape~ipad_1024x748.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Landscape~ipad_1024x768.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Landscape~ipad_1024x768.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Portrait@2x~ipad_1536x2008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Portrait@2x~ipad_1536x2008.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Portrait@2x~ipad_1536x2048.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Portrait@2x~ipad_1536x2048.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Portrait~ipad_768x1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage-Portrait~ipad_768x1024.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage~ipad.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage~iphone_640x960.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/LaunchImage~iphone_640x960.png -------------------------------------------------------------------------------- /ios/Apla/Images.xcassets/LaunchImage.launchimage/iphoneX.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GenesisKernel/genesis-reactnative/21c63dafac8cf3d898de6c8d66e8fff757ac460b/ios/Apla/Images.xcassets/LaunchImage.launchimage/iphoneX.png -------------------------------------------------------------------------------- /ios/Apla/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 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 | -------------------------------------------------------------------------------- /ios/AplaTests/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 | -------------------------------------------------------------------------------- /ios/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/components/AccountList/CreateAccountButton.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import { View, TouchableOpacity } from 'react-native'; 3 | import { Icon } from 'react-native-elements'; 4 | 5 | import Text from 'components/ui/Text'; 6 | 7 | import styles from './styles'; 8 | 9 | export default class CreateAccountButton extends React.Component<{onPress: () => void}> { 10 | 11 | public render() { 12 | return ( 13 | 17 | 19 | 22 | 23 | 24 | 25 | ); 26 | } 27 | } -------------------------------------------------------------------------------- /src/components/Alert/styles.ts: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from 'react-native'; 2 | 3 | const styles = StyleSheet.create({ 4 | dialog: { 5 | margin: 20 6 | }, 7 | dialogTitle: { 8 | color: '#000' 9 | }, 10 | dialogContent: { 11 | flex: 1, 12 | padding: 15, 13 | justifyContent: 'space-between' 14 | }, 15 | dialogActions: { 16 | flexDirection: 'row', 17 | justifyContent: 'center' 18 | }, 19 | dialogButtonStyle: { 20 | flex: 0, 21 | marginVertical: 0, 22 | padding: 0, 23 | paddingTop: 10, 24 | minWidth: 100 25 | }, 26 | dialogCancelButtonStyle: { 27 | marginHorizontal: 10, 28 | backgroundColor: '#f05050' 29 | }, 30 | dialogConfirmButtonStyle: { 31 | marginHorizontal: 10 32 | }, 33 | }); 34 | 35 | export default styles; 36 | -------------------------------------------------------------------------------- /src/components/AnimatedDrawer/styles.ts: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from 'react-native'; 2 | 3 | export default StyleSheet.create({ 4 | animatedWrapper: { 5 | flex: 1, 6 | backgroundColor: '#fff', 7 | overflow: 'hidden' 8 | }, 9 | }); -------------------------------------------------------------------------------- /src/components/AppVersion/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as CodePush from 'react-native-code-push'; 3 | import { View } from 'react-native'; 4 | 5 | import Text from 'components/ui/Text'; 6 | import styles from './styles'; 7 | 8 | class AppVersion extends React.PureComponent<{}, { version: string }> { 9 | state = { 10 | version: '0' 11 | } 12 | 13 | public componentDidMount() { 14 | CodePush.getUpdateMetadata() // @TODO: Maybe we can move it to the store 15 | .then((update: any) => { 16 | if (!update) { 17 | return; 18 | } 19 | this.setState({ version: `${update.appVersion} (${update.label})` }); 20 | }) 21 | .catch(e => console.log(e)); 22 | } 23 | 24 | public render() { 25 | return {this.state.version}; 26 | } 27 | } 28 | 29 | export default AppVersion; 30 | -------------------------------------------------------------------------------- /src/components/AppVersion/styles.ts: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from 'react-native'; 2 | import { Colors, FontSizes } from 'components/ui/theme'; 3 | 4 | export default StyleSheet.create({ 5 | text: { 6 | color: Colors.grey, 7 | fontSize: FontSizes.smallCommonSize 8 | } 9 | }); 10 | -------------------------------------------------------------------------------- /src/components/BackButton/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import { Icon } from 'react-native-elements'; 3 | import { Colors } from 'components/ui/theme'; 4 | import { actions } from 'modules/page'; 5 | import styles from './styles'; 6 | 7 | interface IBackButton { 8 | historyItems: actions.IPagePayload[]; 9 | requestPageStarted: (pagePayload: actions.IPagePayload) => void; 10 | navigateWithReset: () => void; 11 | } 12 | 13 | class BackButton extends React.Component { 14 | public render() { 15 | 16 | return ( 17 | 26 | ); 27 | } 28 | 29 | private onPress = () => { 30 | const { requestPageStarted, historyItems } = this.props; 31 | 32 | historyItems.pop(); 33 | 34 | if (historyItems.length === 1) { 35 | this.props.navigateWithReset(); 36 | return; 37 | } 38 | 39 | const pagePayload: actions.IPagePayload = historyItems[historyItems.length - 1]; 40 | 41 | requestPageStarted(pagePayload); 42 | } 43 | } 44 | 45 | export default BackButton; 46 | -------------------------------------------------------------------------------- /src/components/BackButton/styles.ts: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from 'react-native'; 2 | 3 | export default StyleSheet.create({ 4 | icon: { 5 | width: 40, 6 | padding: 10, 7 | } 8 | }); -------------------------------------------------------------------------------- /src/components/BacupAccountButton/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import styles from './styles'; 3 | 4 | import { Colors } from 'components/ui/theme'; 5 | import { Icon } from 'react-native-elements'; 6 | 7 | interface IBacupAccountButton { 8 | backupAccount: () => void; 9 | } 10 | 11 | export default class BackupAccountButton extends React.Component { 12 | 13 | public render() { 14 | return ( 15 | 24 | ); 25 | } 26 | 27 | private handlePress = () => { 28 | this.props.backupAccount(); 29 | } 30 | } -------------------------------------------------------------------------------- /src/components/BacupAccountButton/styles.ts: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from 'react-native'; 2 | 3 | export default StyleSheet.create({ 4 | icon: { 5 | width: 40, 6 | padding: 10, 7 | } 8 | }); -------------------------------------------------------------------------------- /src/components/ChangePasswordButton/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import Button from 'components/ui/Button'; 3 | import styles from './styles'; 4 | 5 | const changePasswordButton = { 6 | intl: { 7 | id: 'account.button.change.password', 8 | defaultMessage: 'Change Password' 9 | }, 10 | }; 11 | 12 | interface IChangePasswordButton { 13 | buttonWidth: number; 14 | account: IAccount; 15 | onPress: (account: IAccount) => void; 16 | recenter: () => void; 17 | } 18 | 19 | export default class ChangePasswordButton extends React.Component { 20 | public render() { 21 | return ( 22 |