├── .watchmanconfig ├── img ├── logo@2x.png └── logo@3x.png ├── android ├── settings.gradle ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.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 │ │ │ ├── drawable-xxxhdpi │ │ │ │ └── splash_logo.png │ │ │ └── drawable │ │ │ │ ├── background.xml │ │ │ │ └── background_splash.xml │ │ │ ├── ic_launcher-web.png │ │ │ ├── java │ │ │ └── com │ │ │ │ └── staffjoy │ │ │ │ └── android │ │ │ │ ├── MainActivity.java │ │ │ │ └── HomeActivity.java │ │ │ └── AndroidManifest.xml │ ├── proguard-rules.pro │ ├── react.gradle │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── build.gradle ├── gradle.properties ├── StaffjoyMobile.iml ├── gradlew.bat └── gradlew ├── ios ├── Pods │ ├── Headers │ │ ├── Public │ │ │ └── React │ │ │ │ ├── RCTLog.h │ │ │ │ ├── Layout.h │ │ │ │ ├── RCTMap.h │ │ │ │ ├── RCTUtils.h │ │ │ │ ├── RCTView.h │ │ │ │ ├── RCTAssert.h │ │ │ │ ├── RCTBridge.h │ │ │ │ ├── RCTConvert.h │ │ │ │ ├── RCTDefines.h │ │ │ │ ├── RCTMacros.h │ │ │ │ ├── RCTNavItem.h │ │ │ │ ├── RCTPicker.h │ │ │ │ ├── RCTRedBox.h │ │ │ │ ├── RCTRootView.h │ │ │ │ ├── RCTSlider.h │ │ │ │ ├── RCTSwitch.h │ │ │ │ ├── RCTTabBar.h │ │ │ │ ├── RCTText.h │ │ │ │ ├── RCTTiming.h │ │ │ │ ├── RCTWebView.h │ │ │ │ ├── RCTAppState.h │ │ │ │ ├── RCTClipboard.h │ │ │ │ ├── RCTComponent.h │ │ │ │ ├── RCTDatePicker.h │ │ │ │ ├── RCTDevMenu.h │ │ │ │ ├── RCTFPSGraph.h │ │ │ │ ├── RCTMapManager.h │ │ │ │ ├── RCTMapOverlay.h │ │ │ │ ├── RCTModuleData.h │ │ │ │ ├── RCTNavigator.h │ │ │ │ ├── RCTNetInfo.h │ │ │ │ ├── RCTProfile.h │ │ │ │ ├── RCTScrollView.h │ │ │ │ ├── RCTShadowView.h │ │ │ │ ├── RCTTabBarItem.h │ │ │ │ ├── RCTTextView.h │ │ │ │ ├── RCTTouchEvent.h │ │ │ │ ├── RCTUIManager.h │ │ │ │ ├── UIView+React.h │ │ │ │ ├── RCTBorderStyle.h │ │ │ │ ├── RCTBridgeMethod.h │ │ │ │ ├── RCTBridgeModule.h │ │ │ │ ├── RCTFrameUpdate.h │ │ │ │ ├── RCTImageSource.h │ │ │ │ ├── RCTImageUtils.h │ │ │ │ ├── RCTImageView.h │ │ │ │ ├── RCTInvalidating.h │ │ │ │ ├── RCTJSCProfiler.h │ │ │ │ ├── RCTKeyCommands.h │ │ │ │ ├── RCTModuleMethod.h │ │ │ │ ├── RCTNullability.h │ │ │ │ ├── RCTParserUtils.h │ │ │ │ ├── RCTResizeMode.h │ │ │ │ ├── RCTShadowText.h │ │ │ │ ├── RCTSourceCode.h │ │ │ │ ├── RCTTextField.h │ │ │ │ ├── RCTTextManager.h │ │ │ │ ├── RCTTouchHandler.h │ │ │ │ ├── RCTViewManager.h │ │ │ │ ├── UIView+Private.h │ │ │ │ ├── RCTAlertManager.h │ │ │ │ ├── RCTAnimationType.h │ │ │ │ ├── RCTBorderDrawing.h │ │ │ │ ├── RCTBridge+Private.h │ │ │ │ ├── RCTBridgeDelegate.h │ │ │ │ ├── RCTComponentData.h │ │ │ │ ├── RCTConvert+MapKit.h │ │ │ │ ├── RCTDevLoadingView.h │ │ │ │ ├── RCTEventDispatcher.h │ │ │ │ ├── RCTImageComponent.h │ │ │ │ ├── RCTImageLoader.h │ │ │ │ ├── RCTJSCExecutor.h │ │ │ │ ├── RCTMapAnnotation.h │ │ │ │ ├── RCTModalHostView.h │ │ │ │ ├── RCTNavItemManager.h │ │ │ │ ├── RCTNetworkTask.h │ │ │ │ ├── RCTNetworking.h │ │ │ │ ├── RCTPickerManager.h │ │ │ │ ├── RCTPointerEvents.h │ │ │ │ ├── RCTRefreshControl.h │ │ │ │ ├── RCTSRWebSocket.h │ │ │ │ ├── RCTShadowRawText.h │ │ │ │ ├── RCTSliderManager.h │ │ │ │ ├── RCTSwitchManager.h │ │ │ │ ├── RCTTabBarManager.h │ │ │ │ ├── RCTWebSocketProxy.h │ │ │ │ ├── RCTWebViewManager.h │ │ │ │ ├── RCTDatePickerManager.h │ │ │ │ ├── RCTGIFImageDecoder.h │ │ │ │ ├── RCTJSMethodRegistrar.h │ │ │ │ ├── RCTJavaScriptExecutor.h │ │ │ │ ├── RCTJavaScriptLoader.h │ │ │ │ ├── RCTKeyboardObserver.h │ │ │ │ ├── RCTNavigatorManager.h │ │ │ │ ├── RCTPerformanceLogger.h │ │ │ │ ├── RCTRawTextManager.h │ │ │ │ ├── RCTRootViewDelegate.h │ │ │ │ ├── RCTRootViewInternal.h │ │ │ │ ├── RCTScrollViewManager.h │ │ │ │ ├── RCTSegmentedControl.h │ │ │ │ ├── RCTStatusBarManager.h │ │ │ │ ├── RCTTabBarItemManager.h │ │ │ │ ├── RCTTextFieldManager.h │ │ │ │ ├── RCTTextViewManager.h │ │ │ │ ├── RCTURLRequestDelegate.h │ │ │ │ ├── RCTURLRequestHandler.h │ │ │ │ ├── RCTAsyncLocalStorage.h │ │ │ │ ├── RCTAutoInsetsProtocol.h │ │ │ │ ├── RCTConvert+CoreLocation.h │ │ │ │ ├── RCTExceptionsManager.h │ │ │ │ ├── RCTImageStoreManager.h │ │ │ │ ├── RCTImageViewManager.h │ │ │ │ ├── RCTLinkingManager.h │ │ │ │ ├── RCTModalHostViewManager.h │ │ │ │ ├── RCTProgressViewManager.h │ │ │ │ ├── RCTScrollableProtocol.h │ │ │ │ ├── RCTShadowVirtualImage.h │ │ │ │ ├── RCTWebSocketManager.h │ │ │ │ ├── RCTWebSocketModule.h │ │ │ │ ├── RCTXCAssetImageLoader.h │ │ │ │ ├── RCTAccessibilityManager.h │ │ │ │ ├── RCTDataRequestHandler.h │ │ │ │ ├── RCTFileRequestHandler.h │ │ │ │ ├── RCTHTTPRequestHandler.h │ │ │ │ ├── RCTImageEditingManager.h │ │ │ │ ├── RCTRefreshControlManager.h │ │ │ │ ├── RCTTextDecorationLineType.h │ │ │ │ ├── RCTViewControllerProtocol.h │ │ │ │ ├── RCTVirtualImageManager.h │ │ │ │ ├── RCTWebSocketExecutor.h │ │ │ │ ├── RCTWebSocketProxyDelegate.h │ │ │ │ ├── RCTWrapperViewController.h │ │ │ │ ├── RCTModalHostViewController.h │ │ │ │ ├── RCTSegmentedControlManager.h │ │ │ │ └── RCTActivityIndicatorViewManager.h │ │ └── Private │ │ │ └── React │ │ │ ├── Layout.h │ │ │ ├── RCTLog.h │ │ │ ├── RCTMap.h │ │ │ ├── RCTUtils.h │ │ │ ├── RCTView.h │ │ │ ├── RCTAssert.h │ │ │ ├── RCTBridge.h │ │ │ ├── RCTConvert.h │ │ │ ├── RCTDefines.h │ │ │ ├── RCTNavItem.h │ │ │ ├── RCTPicker.h │ │ │ ├── RCTRedBox.h │ │ │ ├── RCTSlider.h │ │ │ ├── RCTSwitch.h │ │ │ ├── RCTTabBar.h │ │ │ ├── RCTText.h │ │ │ ├── RCTTiming.h │ │ │ ├── RCTWebView.h │ │ │ ├── RCTAppState.h │ │ │ ├── RCTComponent.h │ │ │ ├── RCTDevMenu.h │ │ │ ├── RCTFPSGraph.h │ │ │ ├── RCTMacros.h │ │ │ ├── RCTModuleData.h │ │ │ ├── RCTNavigator.h │ │ │ ├── RCTProfile.h │ │ │ ├── RCTRootView.h │ │ │ ├── RCTTextView.h │ │ │ ├── RCTTouchEvent.h │ │ │ ├── UIView+React.h │ │ │ ├── RCTBorderStyle.h │ │ │ ├── RCTBridgeMethod.h │ │ │ ├── RCTBridgeModule.h │ │ │ ├── RCTClipboard.h │ │ │ ├── RCTDatePicker.h │ │ │ ├── RCTFrameUpdate.h │ │ │ ├── RCTImageSource.h │ │ │ ├── RCTImageUtils.h │ │ │ ├── RCTImageView.h │ │ │ ├── RCTInvalidating.h │ │ │ ├── RCTKeyCommands.h │ │ │ ├── RCTMapManager.h │ │ │ ├── RCTMapOverlay.h │ │ │ ├── RCTModuleMethod.h │ │ │ ├── RCTNetInfo.h │ │ │ ├── RCTNullability.h │ │ │ ├── RCTParserUtils.h │ │ │ ├── RCTResizeMode.h │ │ │ ├── RCTScrollView.h │ │ │ ├── RCTShadowText.h │ │ │ ├── RCTShadowView.h │ │ │ ├── RCTSourceCode.h │ │ │ ├── RCTTabBarItem.h │ │ │ ├── RCTTextField.h │ │ │ ├── RCTTouchHandler.h │ │ │ ├── RCTUIManager.h │ │ │ ├── RCTViewManager.h │ │ │ ├── UIView+Private.h │ │ │ ├── RCTAlertManager.h │ │ │ ├── RCTAnimationType.h │ │ │ ├── RCTBorderDrawing.h │ │ │ ├── RCTBridge+Private.h │ │ │ ├── RCTBridgeDelegate.h │ │ │ ├── RCTComponentData.h │ │ │ ├── RCTConvert+MapKit.h │ │ │ ├── RCTEventDispatcher.h │ │ │ ├── RCTImageComponent.h │ │ │ ├── RCTImageLoader.h │ │ │ ├── RCTJSCExecutor.h │ │ │ ├── RCTJSCProfiler.h │ │ │ ├── RCTMapAnnotation.h │ │ │ ├── RCTModalHostView.h │ │ │ ├── RCTNavItemManager.h │ │ │ ├── RCTNetworkTask.h │ │ │ ├── RCTNetworking.h │ │ │ ├── RCTPickerManager.h │ │ │ ├── RCTPointerEvents.h │ │ │ ├── RCTRefreshControl.h │ │ │ ├── RCTShadowRawText.h │ │ │ ├── RCTSliderManager.h │ │ │ ├── RCTSwitchManager.h │ │ │ ├── RCTTabBarManager.h │ │ │ ├── RCTTextManager.h │ │ │ ├── RCTWebSocketProxy.h │ │ │ ├── RCTWebViewManager.h │ │ │ ├── RCTDatePickerManager.h │ │ │ ├── RCTDevLoadingView.h │ │ │ ├── RCTGIFImageDecoder.h │ │ │ ├── RCTJSMethodRegistrar.h │ │ │ ├── RCTJavaScriptLoader.h │ │ │ ├── RCTKeyboardObserver.h │ │ │ ├── RCTNavigatorManager.h │ │ │ ├── RCTPerformanceLogger.h │ │ │ ├── RCTRawTextManager.h │ │ │ ├── RCTRootViewDelegate.h │ │ │ ├── RCTRootViewInternal.h │ │ │ ├── RCTSRWebSocket.h │ │ │ ├── RCTScrollViewManager.h │ │ │ ├── RCTSegmentedControl.h │ │ │ ├── RCTStatusBarManager.h │ │ │ ├── RCTTabBarItemManager.h │ │ │ ├── RCTTextViewManager.h │ │ │ ├── RCTURLRequestHandler.h │ │ │ ├── RCTAsyncLocalStorage.h │ │ │ ├── RCTAutoInsetsProtocol.h │ │ │ ├── RCTExceptionsManager.h │ │ │ ├── RCTImageStoreManager.h │ │ │ ├── RCTImageViewManager.h │ │ │ ├── RCTJavaScriptExecutor.h │ │ │ ├── RCTLinkingManager.h │ │ │ ├── RCTProgressViewManager.h │ │ │ ├── RCTScrollableProtocol.h │ │ │ ├── RCTTextFieldManager.h │ │ │ ├── RCTURLRequestDelegate.h │ │ │ ├── RCTWebSocketModule.h │ │ │ ├── RCTAccessibilityManager.h │ │ │ ├── RCTConvert+CoreLocation.h │ │ │ ├── RCTDataRequestHandler.h │ │ │ ├── RCTFileRequestHandler.h │ │ │ ├── RCTHTTPRequestHandler.h │ │ │ ├── RCTImageEditingManager.h │ │ │ ├── RCTModalHostViewManager.h │ │ │ ├── RCTRefreshControlManager.h │ │ │ ├── RCTShadowVirtualImage.h │ │ │ ├── RCTTextDecorationLineType.h │ │ │ ├── RCTViewControllerProtocol.h │ │ │ ├── RCTVirtualImageManager.h │ │ │ ├── RCTWebSocketExecutor.h │ │ │ ├── RCTWebSocketManager.h │ │ │ ├── RCTWebSocketProxyDelegate.h │ │ │ ├── RCTWrapperViewController.h │ │ │ ├── RCTXCAssetImageLoader.h │ │ │ ├── RCTModalHostViewController.h │ │ │ ├── RCTSegmentedControlManager.h │ │ │ └── RCTActivityIndicatorViewManager.h │ ├── Target Support Files │ │ ├── React │ │ │ ├── React-prefix.pch │ │ │ ├── React-dummy.m │ │ │ └── React.xcconfig │ │ ├── Pods-Staffjoy Dev │ │ │ ├── Pods-Staffjoy Dev-dummy.m │ │ │ ├── Pods-Staffjoy Dev.debug.xcconfig │ │ │ ├── Pods-Staffjoy Dev.release.xcconfig │ │ │ ├── Pods-Staffjoy Dev-acknowledgements.markdown │ │ │ ├── Pods-Staffjoy Dev-acknowledgements.plist │ │ │ ├── Pods-Staffjoy Dev-frameworks.sh │ │ │ └── Pods-Staffjoy Dev-resources.sh │ │ ├── Pods-Staffjoy Release │ │ │ ├── Pods-Staffjoy Release-dummy.m │ │ │ ├── Pods-Staffjoy Release.debug.xcconfig │ │ │ ├── Pods-Staffjoy Release.release.xcconfig │ │ │ ├── Pods-Staffjoy Release-acknowledgements.markdown │ │ │ ├── Pods-Staffjoy Release-acknowledgements.plist │ │ │ ├── Pods-Staffjoy Release-frameworks.sh │ │ │ └── Pods-Staffjoy Release-resources.sh │ │ └── Pods-StaffjoyMobileTests │ │ │ ├── Pods-StaffjoyMobileTests-dummy.m │ │ │ ├── Pods-StaffjoyMobileTests.debug.xcconfig │ │ │ ├── Pods-StaffjoyMobileTests.release.xcconfig │ │ │ ├── Pods-StaffjoyMobileTests-acknowledgements.markdown │ │ │ ├── Pods-StaffjoyMobileTests-acknowledgements.plist │ │ │ ├── Pods-StaffjoyMobileTests-frameworks.sh │ │ │ └── Pods-StaffjoyMobileTests-resources.sh │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── React.xcscheme │ └── Local Podspecs │ │ └── React.podspec.json ├── StaffjoyMobile │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── NavBar.imageset │ │ │ ├── nav@2x.png │ │ │ ├── nav@3x.png │ │ │ └── Contents.json │ │ ├── logo.imageset │ │ │ ├── logo@2x.png │ │ │ ├── logo@3x.png │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ ├── App Icon@2x.png │ │ │ ├── App Icon@3x.png │ │ │ ├── Settings@2x.png │ │ │ ├── Settings@3x.png │ │ │ ├── Spotlight@2x.png │ │ │ ├── Spotlight@3x.png │ │ │ └── Contents.json │ │ ├── AppIcon-Dev.appiconset │ │ │ ├── App Icon@2x.png │ │ │ ├── App Icon@3x.png │ │ │ ├── Settings@2x.png │ │ │ ├── Settings@3x.png │ │ │ ├── Spotlight@2x.png │ │ │ ├── Spotlight@3x.png │ │ │ └── Contents.json │ │ └── Brand Assets.launchimage │ │ │ ├── iPhone 4@2x.png │ │ │ ├── iPhone 5@2x.png │ │ │ ├── iPhone 6@2x.png │ │ │ ├── iPhone 6Plus@3x.png │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── Info-debug.plist │ ├── Info-release.plist │ ├── AppDelegate.m │ └── Base.lproj │ │ └── LaunchScreen.xib ├── Settings-debug.bundle │ ├── en.lproj │ │ └── Root.strings │ └── Root.plist ├── StaffjoyMobile.xcworkspace │ └── contents.xcworkspacedata ├── Podfile ├── StaffjoyMobileTests │ ├── Info.plist │ └── StaffjoyMobileTests.m ├── Podfile.lock └── StaffjoyMobile.xcodeproj │ └── xcshareddata │ └── xcschemes │ ├── Staffjoy Release.xcscheme │ └── StaffjoyMobile.xcscheme ├── package.json ├── index.android.js ├── .gitignore ├── index.ios.js ├── js ├── StaffjoyHome.js ├── ErrorView.js ├── WebViewNavBar.js └── WebViewWrapper.js ├── LICENSE ├── .flowconfig └── README.md /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /img/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/img/logo@2x.png -------------------------------------------------------------------------------- /img/logo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/img/logo@3x.png -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'StaffjoyMobile' 2 | 3 | include ':app' 4 | -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTLog.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTLog.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/Layout.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Layout/Layout.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTLog.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTLog.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTMap.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTMap.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTUtils.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/Layout.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Layout/Layout.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTMap.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTMap.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTUtils.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTAssert.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTAssert.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTBridge.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridge.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTConvert.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTConvert.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTDefines.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTDefines.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTNavItem.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTNavItem.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTPicker.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTPicker.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTRedBox.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTRedBox.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTSlider.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSlider.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTSwitch.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSwitch.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTabBar.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTabBar.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTText.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTText.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTiming.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTTiming.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTWebView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTWebView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTAssert.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTAssert.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTBridge.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridge.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTConvert.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTConvert.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTDefines.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTDefines.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTMacros.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Profiler/RCTMacros.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTNavItem.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTNavItem.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTPicker.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTPicker.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTRedBox.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTRedBox.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTRootView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTRootView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTSlider.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSlider.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTSwitch.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSwitch.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTabBar.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTabBar.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTText.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTText.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTiming.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTTiming.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTWebView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTWebView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTAppState.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTAppState.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTComponent.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTDevMenu.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTDevMenu.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTFPSGraph.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Profiler/RCTFPSGraph.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTMacros.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Profiler/RCTMacros.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTModuleData.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTModuleData.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTNavigator.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTNavigator.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTProfile.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Profiler/RCTProfile.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTRootView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTRootView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTextView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTouchEvent.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTTouchEvent.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/UIView+React.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/UIView+React.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTAppState.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTAppState.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTClipboard.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTClipboard.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTComponent.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTDatePicker.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTDatePicker.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTDevMenu.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTDevMenu.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTFPSGraph.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Profiler/RCTFPSGraph.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTMapManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTMapManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTMapOverlay.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTMapOverlay.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTModuleData.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTModuleData.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTNavigator.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTNavigator.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTNetInfo.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTNetInfo.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTProfile.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Profiler/RCTProfile.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTScrollView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTScrollView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTShadowView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTShadowView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTabBarItem.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTabBarItem.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTextView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTouchEvent.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTTouchEvent.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTUIManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTUIManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/UIView+React.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/UIView+React.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTBorderStyle.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTBorderStyle.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTBridgeMethod.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridgeMethod.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTBridgeModule.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridgeModule.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTClipboard.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTClipboard.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTDatePicker.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTDatePicker.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTFrameUpdate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTFrameUpdate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTImageSource.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTImageSource.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTImageUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageUtils.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTImageView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTInvalidating.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTInvalidating.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTKeyCommands.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTKeyCommands.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTMapManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTMapManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTMapOverlay.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTMapOverlay.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTModuleMethod.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTModuleMethod.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTNetInfo.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTNetInfo.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTNullability.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTNullability.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTParserUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTParserUtils.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTResizeMode.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTResizeMode.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTScrollView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTScrollView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTShadowText.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTShadowText.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTShadowView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTShadowView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTSourceCode.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTSourceCode.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTabBarItem.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTabBarItem.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTextField.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextField.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTouchHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTTouchHandler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTUIManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTUIManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/UIView+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/UIView+Private.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTBorderStyle.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTBorderStyle.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTBridgeMethod.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridgeMethod.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTBridgeModule.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridgeModule.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTFrameUpdate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTFrameUpdate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTImageSource.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTImageSource.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTImageUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageUtils.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTImageView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTInvalidating.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTInvalidating.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTJSCProfiler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Profiler/RCTJSCProfiler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTKeyCommands.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTKeyCommands.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTModuleMethod.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTModuleMethod.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTNullability.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTNullability.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTParserUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTParserUtils.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTResizeMode.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTResizeMode.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTShadowText.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTShadowText.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTSourceCode.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTSourceCode.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTextField.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextField.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTextManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTouchHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTTouchHandler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/UIView+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/UIView+Private.h -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/React/React-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTAlertManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTAlertManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTAnimationType.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTAnimationType.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTBorderDrawing.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTBorderDrawing.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTBridge+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridge+Private.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTBridgeDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridgeDelegate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTComponentData.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTComponentData.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTConvert+MapKit.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTConvert+MapKit.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTEventDispatcher.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTEventDispatcher.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTImageComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTImageComponent.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTImageLoader.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageLoader.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTJSCExecutor.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Executors/RCTJSCExecutor.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTJSCProfiler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Profiler/RCTJSCProfiler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTMapAnnotation.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTMapAnnotation.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTModalHostView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTModalHostView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTNavItemManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTNavItemManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTNetworkTask.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTNetworkTask.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTNetworking.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTPickerManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTPickerManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTPointerEvents.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTPointerEvents.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTRefreshControl.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTRefreshControl.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTShadowRawText.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTShadowRawText.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTSliderManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSliderManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTSwitchManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSwitchManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTabBarManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTabBarManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTextManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTWebSocketProxy.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTWebSocketProxy.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTWebViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTWebViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTAlertManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTAlertManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTAnimationType.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTAnimationType.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTBorderDrawing.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTBorderDrawing.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTBridge+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridge+Private.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTBridgeDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTBridgeDelegate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTComponentData.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTComponentData.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTConvert+MapKit.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTConvert+MapKit.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTDevLoadingView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTDevLoadingView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTEventDispatcher.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTEventDispatcher.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTImageComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTImageComponent.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTImageLoader.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageLoader.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTJSCExecutor.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Executors/RCTJSCExecutor.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTMapAnnotation.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTMapAnnotation.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTModalHostView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTModalHostView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTNavItemManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTNavItemManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTNetworkTask.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTNetworkTask.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTNetworking.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTPickerManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTPickerManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTPointerEvents.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTPointerEvents.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTRefreshControl.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTRefreshControl.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTSRWebSocket.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/WebSocket/RCTSRWebSocket.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTShadowRawText.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTShadowRawText.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTSliderManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSliderManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTSwitchManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSwitchManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTabBarManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTabBarManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTWebSocketProxy.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTWebSocketProxy.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTWebViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTWebViewManager.h -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Staffjoy 3 | 4 | -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTDatePickerManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTDatePickerManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTDevLoadingView.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTDevLoadingView.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTGIFImageDecoder.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTGIFImageDecoder.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTJSMethodRegistrar.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTJSMethodRegistrar.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTJavaScriptLoader.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTJavaScriptLoader.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTKeyboardObserver.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTKeyboardObserver.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTNavigatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTNavigatorManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTPerformanceLogger.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTPerformanceLogger.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTRawTextManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTRawTextManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTRootViewDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTRootViewDelegate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTRootViewInternal.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTRootViewInternal.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTSRWebSocket.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/WebSocket/RCTSRWebSocket.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTScrollViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTScrollViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTSegmentedControl.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSegmentedControl.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTStatusBarManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTStatusBarManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTabBarItemManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTabBarItemManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTextViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTURLRequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTURLRequestHandler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTDatePickerManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTDatePickerManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTGIFImageDecoder.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTGIFImageDecoder.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTJSMethodRegistrar.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTJSMethodRegistrar.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTJavaScriptExecutor.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTJavaScriptExecutor.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTJavaScriptLoader.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTJavaScriptLoader.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTKeyboardObserver.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTKeyboardObserver.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTNavigatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTNavigatorManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTPerformanceLogger.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTPerformanceLogger.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTRawTextManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTRawTextManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTRootViewDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTRootViewDelegate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTRootViewInternal.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTRootViewInternal.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTScrollViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTScrollViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTSegmentedControl.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSegmentedControl.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTStatusBarManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTStatusBarManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTabBarItemManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTabBarItemManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTextFieldManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextFieldManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTextViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTURLRequestDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTURLRequestDelegate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTURLRequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTURLRequestHandler.h -------------------------------------------------------------------------------- /android/app/src/main/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/android/app/src/main/ic_launcher-web.png -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTAsyncLocalStorage.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTAsyncLocalStorage.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTAutoInsetsProtocol.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTAutoInsetsProtocol.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTExceptionsManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTExceptionsManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTImageStoreManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageStoreManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTImageViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTJavaScriptExecutor.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTJavaScriptExecutor.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTLinkingManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/LinkingIOS/RCTLinkingManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTProgressViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTProgressViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTScrollableProtocol.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTScrollableProtocol.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTextFieldManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Text/RCTTextFieldManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTURLRequestDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTURLRequestDelegate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTWebSocketModule.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/WebSocket/RCTWebSocketModule.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTAsyncLocalStorage.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTAsyncLocalStorage.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTAutoInsetsProtocol.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTAutoInsetsProtocol.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTConvert+CoreLocation.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTConvert+CoreLocation.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTExceptionsManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTExceptionsManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTImageStoreManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageStoreManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTImageViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTLinkingManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/LinkingIOS/RCTLinkingManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTModalHostViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTModalHostViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTProgressViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTProgressViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTScrollableProtocol.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTScrollableProtocol.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTShadowVirtualImage.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTShadowVirtualImage.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTWebSocketManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/WebSocket/RCTWebSocketManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTWebSocketModule.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/WebSocket/RCTWebSocketModule.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTXCAssetImageLoader.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTXCAssetImageLoader.h -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTAccessibilityManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTAccessibilityManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTConvert+CoreLocation.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTConvert+CoreLocation.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTDataRequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTDataRequestHandler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTFileRequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTFileRequestHandler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTHTTPRequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTHTTPRequestHandler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTImageEditingManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageEditingManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTModalHostViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTModalHostViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTRefreshControlManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTRefreshControlManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTShadowVirtualImage.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTShadowVirtualImage.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTTextDecorationLineType.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTextDecorationLineType.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTViewControllerProtocol.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTViewControllerProtocol.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTVirtualImageManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTVirtualImageManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTWebSocketExecutor.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/WebSocket/RCTWebSocketExecutor.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTWebSocketManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/WebSocket/RCTWebSocketManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTWebSocketProxyDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTWebSocketProxyDelegate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTWrapperViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTWrapperViewController.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTXCAssetImageLoader.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTXCAssetImageLoader.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTAccessibilityManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Modules/RCTAccessibilityManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTDataRequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTDataRequestHandler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTFileRequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTFileRequestHandler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTHTTPRequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Network/RCTHTTPRequestHandler.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTImageEditingManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTImageEditingManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTRefreshControlManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTRefreshControlManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTTextDecorationLineType.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTTextDecorationLineType.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTViewControllerProtocol.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTViewControllerProtocol.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTVirtualImageManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/Image/RCTVirtualImageManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTWebSocketExecutor.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/Libraries/WebSocket/RCTWebSocketExecutor.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTWebSocketProxyDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Base/RCTWebSocketProxyDelegate.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTWrapperViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTWrapperViewController.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTModalHostViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTModalHostViewController.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTSegmentedControlManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSegmentedControlManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTModalHostViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTModalHostViewController.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTSegmentedControlManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTSegmentedControlManager.h -------------------------------------------------------------------------------- /ios/Settings-debug.bundle/en.lproj/Root.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/Settings-debug.bundle/en.lproj/Root.strings -------------------------------------------------------------------------------- /ios/Pods/Headers/Private/React/RCTActivityIndicatorViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTActivityIndicatorViewManager.h -------------------------------------------------------------------------------- /ios/Pods/Headers/Public/React/RCTActivityIndicatorViewManager.h: -------------------------------------------------------------------------------- 1 | ../../../../../node_modules/react-native/React/Views/RCTActivityIndicatorViewManager.h -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/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/Staffjoy/mobile/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/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/Staffjoy/mobile/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/splash_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/android/app/src/main/res/drawable-xxxhdpi/splash_logo.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/NavBar.imageset/nav@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/NavBar.imageset/nav@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/NavBar.imageset/nav@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/NavBar.imageset/nav@3x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/logo.imageset/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/logo.imageset/logo@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/logo.imageset/logo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/logo.imageset/logo@3x.png -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/React/React-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_React : NSObject 3 | @end 4 | @implementation PodsDummy_React 5 | @end 6 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/App Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/App Icon@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/App Icon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/App Icon@3x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/Settings@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/Settings@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/Settings@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/Settings@3x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/Spotlight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/Spotlight@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/Spotlight@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/Spotlight@3x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/App Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/App Icon@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/App Icon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/App Icon@3x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/Settings@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/Settings@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/Settings@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/Settings@3x.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #999999 4 | #ffffff 5 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/Spotlight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/Spotlight@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/Spotlight@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/Spotlight@3x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/Brand Assets.launchimage/iPhone 4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/Brand Assets.launchimage/iPhone 4@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/Brand Assets.launchimage/iPhone 5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/Brand Assets.launchimage/iPhone 5@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/Brand Assets.launchimage/iPhone 6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/Brand Assets.launchimage/iPhone 6@2x.png -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/Brand Assets.launchimage/iPhone 6Plus@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Staffjoy/mobile/HEAD/ios/StaffjoyMobile/Images.xcassets/Brand Assets.launchimage/iPhone 6Plus@3x.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Dev/Pods-Staffjoy Dev-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Staffjoy_Dev : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Staffjoy_Dev 5 | @end 6 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Release/Pods-Staffjoy Release-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Staffjoy_Release : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Staffjoy_Release 5 | @end 6 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-StaffjoyMobileTests/Pods-StaffjoyMobileTests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_StaffjoyMobileTests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_StaffjoyMobileTests 5 | @end 6 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Apr 07 20:43:51 PDT 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip 7 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "StaffjoyMobile", 3 | "version": "1.1.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start" 7 | }, 8 | "dependencies": { 9 | "react": "^0.14.5", 10 | "react-native": "git:github.com/jballer/react-native#v0.22.2-patched" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/React/React.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/React" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/React" 3 | OTHER_LDFLAGS = -framework "JavaScriptCore" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/background_splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Dev/Pods-Staffjoy Dev.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/React" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/React" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"React" -framework "JavaScriptCore" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Dev/Pods-Staffjoy Dev.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/React" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/React" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"React" -framework "JavaScriptCore" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Release/Pods-Staffjoy Release.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/React" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/React" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"React" -framework "JavaScriptCore" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Release/Pods-Staffjoy Release.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/React" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/React" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"React" -framework "JavaScriptCore" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-StaffjoyMobileTests/Pods-StaffjoyMobileTests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/React" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/React" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"React" -framework "JavaScriptCore" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-StaffjoyMobileTests/Pods-StaffjoyMobileTests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/React" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/React" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"React" -framework "JavaScriptCore" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/logo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "logo@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "logo@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | */ 5 | 'use strict'; 6 | import React, { 7 | AppRegistry, 8 | Component 9 | } from 'react-native'; 10 | 11 | import StaffjoyHome from './js/StaffjoyHome'; 12 | 13 | class StaffjoyMobile extends Component { 14 | 15 | render() { 16 | return ( 17 | 18 | ); 19 | } 20 | } 21 | 22 | AppRegistry.registerComponent('StaffjoyMobile', () => StaffjoyMobile); 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IJ 26 | # 27 | .idea 28 | .gradle 29 | local.properties 30 | *.keystore 31 | *.jks 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/staffjoy/android/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.staffjoy.android; 2 | 3 | import android.content.Intent; 4 | import android.support.v7.app.AppCompatActivity; 5 | import android.os.Bundle; 6 | 7 | public class MainActivity extends AppCompatActivity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | 13 | Intent intent = new Intent(this, HomeActivity.class); 14 | startActivity(intent); 15 | finish(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | */ 5 | 'use strict'; 6 | import React, { 7 | AppRegistry, 8 | Component, 9 | PropTypes, 10 | View 11 | } from 'react-native'; 12 | 13 | import StaffjoyHome from './js/StaffjoyHome'; 14 | 15 | class StaffjoyMobile extends Component { 16 | 17 | static get propTypes() { 18 | return { 19 | ...View.propTypes, 20 | 21 | baseURL: PropTypes.string 22 | } 23 | } 24 | 25 | render() { 26 | 27 | return ( 28 | 29 | ); 30 | } 31 | } 32 | 33 | AppRegistry.registerComponent('StaffjoyMobile', () => StaffjoyMobile); 34 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '8.0' 3 | # Uncomment this line if you're using Swift 4 | # use_frameworks! 5 | 6 | def common_deps 7 | # Use the code that was installed by npm 8 | pod 'React', :path => '../node_modules/react-native', :subspecs => [ 9 | 'Core', 10 | 'RCTImage', 11 | 'RCTNetwork', 12 | 'RCTText', 13 | 'RCTWebSocket', 14 | 'RCTLinkingIOS', 15 | # Add any other subspecs you want to use in your project 16 | ] 17 | end 18 | 19 | target 'Staffjoy Dev' do 20 | common_deps 21 | end 22 | 23 | target 'Staffjoy Release' do 24 | common_deps 25 | end 26 | 27 | target 'StaffjoyMobileTests' do 28 | common_deps 29 | end 30 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.0.0' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$projectDir/../../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /ios/StaffjoyMobileTests/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 | -------------------------------------------------------------------------------- /js/StaffjoyHome.js: -------------------------------------------------------------------------------- 1 | import React, { 2 | Platform, 3 | PropTypes, 4 | StyleSheet, 5 | Text, 6 | TouchableOpacity, 7 | View, 8 | } from 'react-native'; 9 | 10 | import WebViewWrapper from './WebViewWrapper'; 11 | 12 | let DEFAULT_BASE_URL = 'https://www.staffjoy.com'; 13 | let INITIAL_PATH = '/auth/native'; 14 | let CUSTOM_HEADERS = {'X-Staffjoy-Native': Platform.OS}; 15 | 16 | var StaffjoyHome = React.createClass({ 17 | 18 | propTypes: { 19 | ...View.propTypes, 20 | 21 | baseURL: PropTypes.string 22 | }, 23 | 24 | render() { 25 | 26 | var baseURL = this.props.baseURL || DEFAULT_BASE_URL; 27 | baseURL = baseURL.replace(/\/?$/, ''); // remove trailing slash if present 28 | 29 | return ( 30 | 34 | ); 35 | } 36 | 37 | }); 38 | 39 | module.exports = StaffjoyHome; 40 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - React/Core (0.22.2) 3 | - React/RCTImage (0.22.2): 4 | - React/Core 5 | - React/RCTNetwork 6 | - React/RCTLinkingIOS (0.22.2): 7 | - React/Core 8 | - React/RCTNetwork (0.22.2): 9 | - React/Core 10 | - React/RCTText (0.22.2): 11 | - React/Core 12 | - React/RCTWebSocket (0.22.2): 13 | - React/Core 14 | 15 | DEPENDENCIES: 16 | - React/Core (from `../node_modules/react-native`) 17 | - React/RCTImage (from `../node_modules/react-native`) 18 | - React/RCTLinkingIOS (from `../node_modules/react-native`) 19 | - React/RCTNetwork (from `../node_modules/react-native`) 20 | - React/RCTText (from `../node_modules/react-native`) 21 | - React/RCTWebSocket (from `../node_modules/react-native`) 22 | 23 | EXTERNAL SOURCES: 24 | React: 25 | :path: ../node_modules/react-native 26 | 27 | SPEC CHECKSUMS: 28 | React: be2dc9f9a325f0b4db1fcd3a0cea29c0e00af9b7 29 | 30 | COCOAPODS: 0.39.0 31 | -------------------------------------------------------------------------------- /ios/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - React/Core (0.22.2) 3 | - React/RCTImage (0.22.2): 4 | - React/Core 5 | - React/RCTNetwork 6 | - React/RCTLinkingIOS (0.22.2): 7 | - React/Core 8 | - React/RCTNetwork (0.22.2): 9 | - React/Core 10 | - React/RCTText (0.22.2): 11 | - React/Core 12 | - React/RCTWebSocket (0.22.2): 13 | - React/Core 14 | 15 | DEPENDENCIES: 16 | - React/Core (from `../node_modules/react-native`) 17 | - React/RCTImage (from `../node_modules/react-native`) 18 | - React/RCTLinkingIOS (from `../node_modules/react-native`) 19 | - React/RCTNetwork (from `../node_modules/react-native`) 20 | - React/RCTText (from `../node_modules/react-native`) 21 | - React/RCTWebSocket (from `../node_modules/react-native`) 22 | 23 | EXTERNAL SOURCES: 24 | React: 25 | :path: ../node_modules/react-native 26 | 27 | SPEC CHECKSUMS: 28 | React: be2dc9f9a325f0b4db1fcd3a0cea29c0e00af9b7 29 | 30 | COCOAPODS: 0.39.0 31 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /android/StaffjoyMobile.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ios/Settings-debug.bundle/Root.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | StringsTable 6 | Root 7 | PreferenceSpecifiers 8 | 9 | 10 | Type 11 | PSGroupSpecifier 12 | Title 13 | Debug Settings 14 | 15 | 16 | Type 17 | PSTextFieldSpecifier 18 | Title 19 | Base URL 20 | Key 21 | base_url_preference 22 | DefaultValue 23 | https://www.staffjoy.com 24 | IsSecure 25 | 26 | KeyboardType 27 | URL 28 | AutocapitalizationType 29 | None 30 | AutocorrectionType 31 | No 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "29x29", 5 | "idiom" : "iphone", 6 | "filename" : "Settings@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "29x29", 11 | "idiom" : "iphone", 12 | "filename" : "Settings@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "40x40", 17 | "idiom" : "iphone", 18 | "filename" : "Spotlight@2x.png", 19 | "scale" : "2x" 20 | }, 21 | { 22 | "size" : "40x40", 23 | "idiom" : "iphone", 24 | "filename" : "Spotlight@3x.png", 25 | "scale" : "3x" 26 | }, 27 | { 28 | "size" : "60x60", 29 | "idiom" : "iphone", 30 | "filename" : "App Icon@2x.png", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "size" : "60x60", 35 | "idiom" : "iphone", 36 | "filename" : "App Icon@3x.png", 37 | "scale" : "3x" 38 | } 39 | ], 40 | "info" : { 41 | "version" : 1, 42 | "author" : "xcode" 43 | } 44 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016-2017 StaffJoy, Inc. 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 all 13 | 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 THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/Brand Assets.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "extent" : "full-screen", 5 | "idiom" : "iphone", 6 | "subtype" : "736h", 7 | "filename" : "iPhone 6Plus@3x.png", 8 | "minimum-system-version" : "8.0", 9 | "orientation" : "portrait", 10 | "scale" : "3x" 11 | }, 12 | { 13 | "extent" : "full-screen", 14 | "idiom" : "iphone", 15 | "subtype" : "667h", 16 | "filename" : "iPhone 6@2x.png", 17 | "minimum-system-version" : "8.0", 18 | "orientation" : "portrait", 19 | "scale" : "2x" 20 | }, 21 | { 22 | "orientation" : "portrait", 23 | "idiom" : "iphone", 24 | "filename" : "iPhone 4@2x.png", 25 | "extent" : "full-screen", 26 | "minimum-system-version" : "7.0", 27 | "scale" : "2x" 28 | }, 29 | { 30 | "extent" : "full-screen", 31 | "idiom" : "iphone", 32 | "subtype" : "retina4", 33 | "filename" : "iPhone 5@2x.png", 34 | "minimum-system-version" : "7.0", 35 | "orientation" : "portrait", 36 | "scale" : "2x" 37 | } 38 | ], 39 | "info" : { 40 | "version" : 1, 41 | "author" : "xcode" 42 | } 43 | } -------------------------------------------------------------------------------- /android/app/src/main/java/com/staffjoy/android/HomeActivity.java: -------------------------------------------------------------------------------- 1 | package com.staffjoy.android; 2 | 3 | import com.facebook.react.ReactActivity; 4 | import com.facebook.react.ReactPackage; 5 | import com.facebook.react.shell.MainReactPackage; 6 | 7 | import java.util.Arrays; 8 | import java.util.List; 9 | 10 | public class HomeActivity extends ReactActivity { 11 | 12 | /** 13 | * Returns the name of the main component registered from JavaScript. 14 | * This is used to schedule rendering of the component. 15 | */ 16 | @Override 17 | protected String getMainComponentName() { 18 | return "StaffjoyMobile"; 19 | } 20 | 21 | /** 22 | * Returns whether dev mode should be enabled. 23 | * This enables e.g. the dev menu. 24 | */ 25 | @Override 26 | protected boolean getUseDeveloperSupport() { 27 | return BuildConfig.DEBUG; 28 | } 29 | 30 | /** 31 | * A list of packages used by the app. If the app uses additional views 32 | * or modules besides the default ones, add more packages here. 33 | */ 34 | @Override 35 | protected List getPackages() { 36 | return Arrays.asList( 37 | new MainReactPackage() 38 | ); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/AppIcon-Dev.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "29x29", 5 | "idiom" : "iphone", 6 | "filename" : "Settings@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "29x29", 11 | "idiom" : "iphone", 12 | "filename" : "Settings@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "40x40", 17 | "idiom" : "iphone", 18 | "filename" : "Spotlight@2x.png", 19 | "scale" : "2x" 20 | }, 21 | { 22 | "size" : "40x40", 23 | "idiom" : "iphone", 24 | "filename" : "Spotlight@3x.png", 25 | "scale" : "3x" 26 | }, 27 | { 28 | "size" : "60x60", 29 | "idiom" : "iphone", 30 | "filename" : "App Icon@2x.png", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "size" : "60x60", 35 | "idiom" : "iphone", 36 | "filename" : "App Icon@3x.png", 37 | "scale" : "3x" 38 | }, 39 | { 40 | "idiom" : "car", 41 | "size" : "60x60", 42 | "scale" : "2x" 43 | }, 44 | { 45 | "idiom" : "car", 46 | "size" : "60x60", 47 | "scale" : "3x" 48 | } 49 | ], 50 | "info" : { 51 | "version" : 1, 52 | "author" : "xcode" 53 | } 54 | } -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Images.xcassets/NavBar.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "idiom" : "iphone", 17 | "scale" : "1x" 18 | }, 19 | { 20 | "resizing" : { 21 | "mode" : "3-part-horizontal", 22 | "center" : { 23 | "mode" : "stretch", 24 | "width" : 1 25 | }, 26 | "cap-insets" : { 27 | "right" : 108, 28 | "left" : 558 29 | } 30 | }, 31 | "idiom" : "iphone", 32 | "filename" : "nav@2x.png", 33 | "scale" : "2x" 34 | }, 35 | { 36 | "resizing" : { 37 | "mode" : "3-part-horizontal", 38 | "center" : { 39 | "mode" : "stretch", 40 | "width" : 1 41 | }, 42 | "cap-insets" : { 43 | "right" : 162, 44 | "left" : 837 45 | } 46 | }, 47 | "idiom" : "iphone", 48 | "filename" : "nav@3x.png", 49 | "scale" : "3x" 50 | } 51 | ], 52 | "info" : { 53 | "version" : 1, 54 | "author" : "xcode" 55 | } 56 | } -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Info-debug.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Staffjoy Dev 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.2 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 2 25 | ITSAppUsesNonExemptEncryption 26 | 27 | LSRequiresIPhoneOS 28 | 29 | NSAppTransportSecurity 30 | 31 | NSAllowsArbitraryLoads 32 | 33 | 34 | NSLocationWhenInUseUsageDescription 35 | 36 | UILaunchStoryboardName 37 | LaunchScreen 38 | UIRequiredDeviceCapabilities 39 | 40 | armv7 41 | 42 | UISupportedInterfaceOrientations 43 | 44 | UIInterfaceOrientationPortrait 45 | 46 | UIViewControllerBasedStatusBarAppearance 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Info-release.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Staffjoy 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.2 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 2 25 | ITSAppUsesNonExemptEncryption 26 | 27 | LSRequiresIPhoneOS 28 | 29 | NSAppTransportSecurity 30 | 31 | NSAllowsArbitraryLoads 32 | 33 | 34 | NSLocationWhenInUseUsageDescription 35 | 36 | UILaunchStoryboardName 37 | LaunchScreen 38 | UIRequiredDeviceCapabilities 39 | 40 | armv7 41 | 42 | UISupportedInterfaceOrientations 43 | 44 | UIInterfaceOrientationPortrait 45 | 46 | UIViewControllerBasedStatusBarAppearance 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 33 | 34 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /js/ErrorView.js: -------------------------------------------------------------------------------- 1 | import React, { 2 | PropTypes, 3 | StyleSheet, 4 | Text, 5 | TouchableOpacity, 6 | View 7 | } from 'react-native'; 8 | 9 | var ErrorView = React.createClass({ 10 | 11 | propTypes: { 12 | ...View.propTypes, 13 | 14 | description: PropTypes.string, 15 | buttonText: PropTypes.string, 16 | onButtonPress: PropTypes.func 17 | }, 18 | 19 | render() { 20 | 21 | let button = this.props.buttonText ? ( 22 | 23 | Try Again 24 | 25 | ) : null; 26 | 27 | let description = this.props.description ? ( 28 | {this.props.description} 29 | ) : null; 30 | 31 | return ( 32 | 33 | Oops! 34 | There was an error loading the page. 35 | {description} 36 | {button} 37 | 38 | ); 39 | } 40 | }); 41 | 42 | var styles = StyleSheet.create({ 43 | error: { 44 | flex: 1, 45 | flexDirection: 'column', 46 | justifyContent: 'center', 47 | alignItems: 'center' 48 | }, 49 | h1: { 50 | fontStyle: 'italic', 51 | fontWeight: 'bold', 52 | fontSize: 16, 53 | padding: 8 54 | }, 55 | errorDescription: { 56 | fontFamily: 'Helvetica', 57 | backgroundColor: '#ddd', 58 | margin: 16, 59 | padding: 8 60 | }, 61 | button: { 62 | backgroundColor: '#48B7AB', 63 | flexDirection: 'row', 64 | alignItems: 'center', 65 | padding: 12, 66 | borderRadius: 3 67 | } 68 | }); 69 | 70 | module.exports = ErrorView; 71 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Dev/Pods-Staffjoy Dev-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## React 5 | 6 | BSD License 7 | 8 | For React Native software 9 | 10 | Copyright (c) 2015-present, Facebook, Inc. All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without modification, 13 | are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright notice, this 16 | list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright notice, 19 | this list of conditions and the following disclaimer in the documentation 20 | and/or other materials provided with the distribution. 21 | 22 | * Neither the name Facebook nor the names of its contributors may be used to 23 | endorse or promote products derived from this software without specific 24 | prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 27 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 28 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 29 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 30 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 31 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 32 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 33 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 35 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 | 37 | Generated by CocoaPods - http://cocoapods.org 38 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Release/Pods-Staffjoy Release-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## React 5 | 6 | BSD License 7 | 8 | For React Native software 9 | 10 | Copyright (c) 2015-present, Facebook, Inc. All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without modification, 13 | are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright notice, this 16 | list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright notice, 19 | this list of conditions and the following disclaimer in the documentation 20 | and/or other materials provided with the distribution. 21 | 22 | * Neither the name Facebook nor the names of its contributors may be used to 23 | endorse or promote products derived from this software without specific 24 | prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 27 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 28 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 29 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 30 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 31 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 32 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 33 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 35 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 | 37 | Generated by CocoaPods - http://cocoapods.org 38 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-StaffjoyMobileTests/Pods-StaffjoyMobileTests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## React 5 | 6 | BSD License 7 | 8 | For React Native software 9 | 10 | Copyright (c) 2015-present, Facebook, Inc. All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without modification, 13 | are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright notice, this 16 | list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright notice, 19 | this list of conditions and the following disclaimer in the documentation 20 | and/or other materials provided with the distribution. 21 | 22 | * Neither the name Facebook nor the names of its contributors may be used to 23 | endorse or promote products derived from this software without specific 24 | prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 27 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 28 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 29 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 30 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 31 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 32 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 33 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 35 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 | 37 | Generated by CocoaPods - http://cocoapods.org 38 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | 3 | # We fork some components by platform. 4 | .*/*.web.js 5 | .*/*.android.js 6 | 7 | # Some modules have their own node_modules with overlap 8 | .*/node_modules/node-haste/.* 9 | 10 | # Ugh 11 | .*/node_modules/babel.* 12 | .*/node_modules/babylon.* 13 | .*/node_modules/invariant.* 14 | 15 | # Ignore react and fbjs where there are overlaps, but don't ignore 16 | # anything that react-native relies on 17 | .*/node_modules/fbjs/lib/Map.js 18 | .*/node_modules/fbjs/lib/fetch.js 19 | .*/node_modules/fbjs/lib/ExecutionEnvironment.js 20 | .*/node_modules/fbjs/lib/ErrorUtils.js 21 | 22 | # Flow has a built-in definition for the 'react' module which we prefer to use 23 | # over the currently-untyped source 24 | .*/node_modules/react/react.js 25 | .*/node_modules/react/lib/React.js 26 | .*/node_modules/react/lib/ReactDOM.js 27 | 28 | .*/__mocks__/.* 29 | .*/__tests__/.* 30 | 31 | .*/commoner/test/source/widget/share.js 32 | 33 | # Ignore commoner tests 34 | .*/node_modules/commoner/test/.* 35 | 36 | # See https://github.com/facebook/flow/issues/442 37 | .*/react-tools/node_modules/commoner/lib/reader.js 38 | 39 | # Ignore jest 40 | .*/node_modules/jest-cli/.* 41 | 42 | # Ignore Website 43 | .*/website/.* 44 | 45 | [include] 46 | 47 | [libs] 48 | node_modules/react-native/Libraries/react-native/react-native-interface.js 49 | 50 | [options] 51 | module.system=haste 52 | 53 | esproposal.class_static_fields=enable 54 | esproposal.class_instance_fields=enable 55 | 56 | munge_underscores=true 57 | 58 | module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub' 59 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\)$' -> 'RelativeImageStub' 60 | 61 | suppress_type=$FlowIssue 62 | suppress_type=$FlowFixMe 63 | suppress_type=$FixMe 64 | 65 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-1]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 66 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-1]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 67 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 68 | 69 | [version] 70 | 0.21.0 71 | -------------------------------------------------------------------------------- /ios/Pods/Pods.xcodeproj/xcshareddata/xcschemes/React.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /ios/StaffjoyMobileTests/StaffjoyMobileTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import "RCTLog.h" 14 | #import "RCTRootView.h" 15 | 16 | #define TIMEOUT_SECONDS 240 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface StaffjoyMobileTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation StaffjoyMobileTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | #import 12 | 13 | @implementation AppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | NSURL *jsCodeLocation; 18 | 19 | /** 20 | * Loading JavaScript code 21 | * 22 | */ 23 | 24 | #if DEBUG && TARGET_OS_SIMULATOR 25 | 26 | /** OPTION 1 27 | * Load from development server. Start the server from the repository root: 28 | * 29 | * $ npm start 30 | * 31 | * To run on device, change `localhost` to the IP address of your computer 32 | * (you can get this by typing `ifconfig` into the terminal and selecting the 33 | * `inet` value under `en0:`) and make sure your computer and iOS device are 34 | * on the same Wi-Fi network. 35 | */ 36 | 37 | jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"]; 38 | 39 | #else 40 | 41 | /** 42 | * OPTION 2 43 | * Load from pre-bundled file on disk. The static bundle is automatically 44 | * generated by "Bundle React Native code and images" build step. 45 | */ 46 | 47 | jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 48 | #endif 49 | 50 | NSMutableDictionary *props = [NSMutableDictionary dictionary]; 51 | 52 | NSString *debugRootURLStr = [[NSUserDefaults standardUserDefaults] objectForKey:@"base_url_preference"]; 53 | NSURL *debugRootURL = [NSURL URLWithString:debugRootURLStr]; 54 | if (debugRootURL) 55 | { 56 | props[@"baseURL"] = [debugRootURL absoluteString]; 57 | } 58 | 59 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 60 | moduleName:@"StaffjoyMobile" 61 | initialProperties:props 62 | launchOptions:launchOptions]; 63 | 64 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 65 | UIViewController *rootViewController = [UIViewController new]; 66 | rootViewController.view = rootView; 67 | self.window.rootViewController = rootViewController; 68 | [self.window makeKeyAndVisible]; 69 | return YES; 70 | } 71 | 72 | @end 73 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | 30 | # Do not strip any method/class that is annotated with @DoNotStrip 31 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 32 | -keepclassmembers class * { 33 | @com.facebook.proguard.annotations.DoNotStrip *; 34 | } 35 | 36 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 37 | void set*(***); 38 | *** get*(); 39 | } 40 | 41 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 42 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 43 | -keepclassmembers,includedescriptorclasses class * { native ; } 44 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 45 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 46 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 47 | 48 | -dontwarn com.facebook.react.** 49 | 50 | # okhttp 51 | 52 | -keepattributes Signature 53 | -keepattributes *Annotation* 54 | -keep class com.squareup.okhttp.** { *; } 55 | -keep interface com.squareup.okhttp.** { *; } 56 | -dontwarn com.squareup.okhttp.** 57 | 58 | # okio 59 | 60 | -keep class sun.misc.Unsafe { *; } 61 | -dontwarn java.nio.file.* 62 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 63 | -dontwarn okio.** 64 | 65 | # stetho 66 | 67 | -dontwarn com.facebook.stetho.** 68 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Dev/Pods-Staffjoy Dev-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | BSD License 18 | 19 | For React Native software 20 | 21 | Copyright (c) 2015-present, Facebook, Inc. All rights reserved. 22 | 23 | Redistribution and use in source and binary forms, with or without modification, 24 | are permitted provided that the following conditions are met: 25 | 26 | * Redistributions of source code must retain the above copyright notice, this 27 | list of conditions and the following disclaimer. 28 | 29 | * Redistributions in binary form must reproduce the above copyright notice, 30 | this list of conditions and the following disclaimer in the documentation 31 | and/or other materials provided with the distribution. 32 | 33 | * Neither the name Facebook nor the names of its contributors may be used to 34 | endorse or promote products derived from this software without specific 35 | prior written permission. 36 | 37 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 38 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 39 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 40 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 41 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 42 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 43 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 44 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 45 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 46 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 47 | 48 | Title 49 | React 50 | Type 51 | PSGroupSpecifier 52 | 53 | 54 | FooterText 55 | Generated by CocoaPods - http://cocoapods.org 56 | Title 57 | 58 | Type 59 | PSGroupSpecifier 60 | 61 | 62 | StringsTable 63 | Acknowledgements 64 | Title 65 | Acknowledgements 66 | 67 | 68 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Release/Pods-Staffjoy Release-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | BSD License 18 | 19 | For React Native software 20 | 21 | Copyright (c) 2015-present, Facebook, Inc. All rights reserved. 22 | 23 | Redistribution and use in source and binary forms, with or without modification, 24 | are permitted provided that the following conditions are met: 25 | 26 | * Redistributions of source code must retain the above copyright notice, this 27 | list of conditions and the following disclaimer. 28 | 29 | * Redistributions in binary form must reproduce the above copyright notice, 30 | this list of conditions and the following disclaimer in the documentation 31 | and/or other materials provided with the distribution. 32 | 33 | * Neither the name Facebook nor the names of its contributors may be used to 34 | endorse or promote products derived from this software without specific 35 | prior written permission. 36 | 37 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 38 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 39 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 40 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 41 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 42 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 43 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 44 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 45 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 46 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 47 | 48 | Title 49 | React 50 | Type 51 | PSGroupSpecifier 52 | 53 | 54 | FooterText 55 | Generated by CocoaPods - http://cocoapods.org 56 | Title 57 | 58 | Type 59 | PSGroupSpecifier 60 | 61 | 62 | StringsTable 63 | Acknowledgements 64 | Title 65 | Acknowledgements 66 | 67 | 68 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-StaffjoyMobileTests/Pods-StaffjoyMobileTests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | BSD License 18 | 19 | For React Native software 20 | 21 | Copyright (c) 2015-present, Facebook, Inc. All rights reserved. 22 | 23 | Redistribution and use in source and binary forms, with or without modification, 24 | are permitted provided that the following conditions are met: 25 | 26 | * Redistributions of source code must retain the above copyright notice, this 27 | list of conditions and the following disclaimer. 28 | 29 | * Redistributions in binary form must reproduce the above copyright notice, 30 | this list of conditions and the following disclaimer in the documentation 31 | and/or other materials provided with the distribution. 32 | 33 | * Neither the name Facebook nor the names of its contributors may be used to 34 | endorse or promote products derived from this software without specific 35 | prior written permission. 36 | 37 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 38 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 39 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 40 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 41 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 42 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 43 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 44 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 45 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 46 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 47 | 48 | Title 49 | React 50 | Type 51 | PSGroupSpecifier 52 | 53 | 54 | FooterText 55 | Generated by CocoaPods - http://cocoapods.org 56 | Title 57 | 58 | Type 59 | PSGroupSpecifier 60 | 61 | 62 | StringsTable 63 | Acknowledgements 64 | Title 65 | Acknowledgements 66 | 67 | 68 | -------------------------------------------------------------------------------- /js/WebViewNavBar.js: -------------------------------------------------------------------------------- 1 | import React, { 2 | PropTypes, 3 | StyleSheet, 4 | Text, 5 | TouchableOpacity, 6 | View, 7 | WebView, 8 | Platform 9 | } from 'react-native'; 10 | 11 | let NAVBAR_HEIGHT = 44; 12 | 13 | var NavButton = React.createClass({ 14 | 15 | propTypes: { 16 | useSmallText: PropTypes.bool, 17 | disabled: PropTypes.bool, 18 | text: PropTypes.string.isRequired, 19 | onPress: PropTypes.func.isRequired 20 | }, 21 | 22 | render() { 23 | 24 | var textStyle = [styles.navButtonText]; 25 | if (this.props.disabled) 26 | { 27 | textStyle.push(styles.navButtonDisabledText); 28 | } 29 | if (this.props.useSmallText) 30 | { 31 | textStyle.push(styles.navButtonSmallText); 32 | } 33 | 34 | return ( 35 | 36 | {this.props.text} 37 | 38 | ); 39 | } 40 | }); 41 | 42 | var WebViewNavBar = React.createClass({ 43 | 44 | propTypes: { 45 | ...View.propTypes, 46 | 47 | hidden: PropTypes.bool, 48 | domain: PropTypes.string.isRequired, 49 | backButtonEnabled: PropTypes.bool.isRequired, 50 | forwardButtonEnabled: PropTypes.bool.isRequired, 51 | onBackButtonPress: PropTypes.func.isRequired, 52 | onForwardButtonPress: PropTypes.func.isRequired, 53 | onOpenInBrowserButtonPress: PropTypes.func.isRequired 54 | }, 55 | 56 | render() { 57 | return ( 58 | 59 | {this.props.hidden ? null : 60 | 61 | 62 | '} disabled={!this.props.forwardButtonEnabled} onPress={this.props.onForwardButtonPress} /> 63 | 64 | {this.props.domain} 65 | 66 | 67 | 68 | } 69 | 70 | ); 71 | } 72 | }); 73 | 74 | var styles = StyleSheet.create({ 75 | navBarContainer: { 76 | flexDirection: 'column', 77 | overflow: 'hidden', 78 | height: NAVBAR_HEIGHT 79 | }, 80 | navBar: { 81 | flex:1, 82 | backgroundColor: 'white', 83 | flexDirection: 'row', 84 | alignItems: 'center' 85 | }, 86 | addressField: { 87 | height: NAVBAR_HEIGHT/2, 88 | opacity: 0.5, 89 | flex:1, 90 | backgroundColor:'lightgray', 91 | paddingLeft: 10, 92 | paddingRight: 10, 93 | paddingTop: Platform.OS === 'ios' ? 2 : 0 94 | }, 95 | addressFieldText: { 96 | flex: 1 97 | }, 98 | navButton: { 99 | height: NAVBAR_HEIGHT, 100 | alignItems: 'center', 101 | flexDirection: 'row', 102 | paddingLeft: 12, 103 | paddingRight: 12 104 | }, 105 | navButtonText: { 106 | color: '#48B7AB', 107 | backgroundColor: 'transparent', 108 | fontSize: 24, 109 | marginTop: -2, 110 | flex: 1 111 | }, 112 | navButtonSmallText: { 113 | fontSize: 12 114 | }, 115 | navButtonDisabledText: { 116 | opacity: 0.4 117 | } 118 | }); 119 | 120 | module.exports = WebViewNavBar; 121 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Dev/Pods-Staffjoy Dev-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Release/Pods-Staffjoy Release-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-StaffjoyMobileTests/Pods-StaffjoyMobileTests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile.xcodeproj/xcshareddata/xcschemes/Staffjoy Release.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /js/WebViewWrapper.js: -------------------------------------------------------------------------------- 1 | import React, { 2 | Component, 3 | LayoutAnimation, 4 | Linking, 5 | Platform, 6 | PropTypes, 7 | StyleSheet, 8 | View, 9 | WebView 10 | } from 'react-native'; 11 | 12 | import WebViewNavBar from './WebViewNavBar'; 13 | import ErrorView from './ErrorView'; 14 | 15 | let DOMAIN_PATTERN = /^https?\:\/\/(?:www\.)?([^\/?#]+)(?:[\/?#]|$)/i; 16 | let WEBVIEW_REF = 'webview'; 17 | let CUSTOM_HEADERS = {'X-Staffjoy-Native': Platform.OS}; 18 | 19 | var WebViewWrapper = React.createClass({ 20 | 21 | propTypes: { 22 | ...View.propTypes, 23 | 24 | baseURL: PropTypes.string.isRequired, 25 | path: PropTypes.string 26 | }, 27 | 28 | getInitialState() { 29 | 30 | return { 31 | baseURL: this.props.baseURL, 32 | originalDomain: this.props.baseURL.match(DOMAIN_PATTERN)[1], 33 | lastURL: '', 34 | domain: '', 35 | showNav: false, 36 | canGoBack: false, 37 | canGoForward: false 38 | } 39 | }, 40 | 41 | render() { 42 | return ( 43 | 44 | 67 | ); 68 | }, 69 | 70 | setupNavBarSlideAnimation() { 71 | let config = LayoutAnimation.create( 72 | 300, LayoutAnimation.Types.easeInEaseOut, LayoutAnimation.Properties.opacity 73 | ); 74 | LayoutAnimation.configureNext(config); 75 | }, 76 | 77 | onNavigationStateChange(navState) { 78 | 79 | this.setupNavBarSlideAnimation(); 80 | 81 | // extract domain name 82 | let matches = navState.url && navState.url.match(DOMAIN_PATTERN); 83 | let domain = matches ? matches[1] : ''; 84 | 85 | let isOnOriginDomain = (navState.url.indexOf(this.state.originalDomain) != -1); 86 | 87 | this.setState({ 88 | lastURL: navState.url, 89 | showNav: !isOnOriginDomain, 90 | domain: domain, 91 | canGoBack: true, // always allow going back since this shouldn't show on orignal site 92 | canGoForward: navState.canGoForward && !navState.loading 93 | }); 94 | }, 95 | 96 | renderError(errorDomain, errorCode, errorDesc) { 97 | return ( 98 | 103 | ); 104 | }, 105 | 106 | openInBrowser() { 107 | let url = this.state.lastURL; 108 | Linking.openURL(url).catch(err => console.error('Unable to open url (' + url + ')', err)); 109 | }, 110 | 111 | goBack() { 112 | this.refs[WEBVIEW_REF].goBack(); 113 | }, 114 | 115 | goForward() { 116 | this.refs[WEBVIEW_REF].goForward(); 117 | }, 118 | 119 | reload() { 120 | this.refs[WEBVIEW_REF].reload(); 121 | } 122 | }); 123 | 124 | var styles = StyleSheet.create({ 125 | container: { 126 | flex: 1, 127 | flexDirection: 'column', 128 | paddingTop: Platform.OS === 'ios' ? 20 : 0, 129 | backgroundColor: 'white', 130 | }, 131 | web: { 132 | flex: 1 133 | } 134 | }); 135 | 136 | module.exports = WebViewWrapper; 137 | -------------------------------------------------------------------------------- /android/app/react.gradle: -------------------------------------------------------------------------------- 1 | import org.apache.tools.ant.taskdefs.condition.Os 2 | 3 | def config = project.hasProperty("react") ? project.react : []; 4 | 5 | def bundleAssetName = config.bundleAssetName ?: "index.android.bundle" 6 | def entryFile = config.entryFile ?: "index.android.js" 7 | 8 | // because elvis operator 9 | def elvisFile(thing) { 10 | return thing ? file(thing) : null; 11 | } 12 | 13 | def reactRoot = elvisFile(config.root) ?: file("../../") 14 | def inputExcludes = config.inputExcludes ?: ["android/**", "ios/**"] 15 | 16 | void runBefore(String dependentTaskName, Task task) { 17 | Task dependentTask = tasks.findByPath(dependentTaskName); 18 | if (dependentTask != null) { 19 | dependentTask.dependsOn task 20 | } 21 | } 22 | 23 | gradle.projectsEvaluated { 24 | // Grab all build types and product flavors 25 | def buildTypes = android.buildTypes.collect { type -> type.name } 26 | def productFlavors = android.productFlavors.collect { flavor -> flavor.name } 27 | 28 | // When no product flavors defined, use empty 29 | if (!productFlavors) productFlavors.add('') 30 | 31 | productFlavors.each { productFlavorName -> 32 | buildTypes.each { buildTypeName -> 33 | // Create variant and target names 34 | def targetName = "${productFlavorName.capitalize()}${buildTypeName.capitalize()}" 35 | def targetPath = productFlavorName ? 36 | "${productFlavorName}/${buildTypeName}" : 37 | "${buildTypeName}" 38 | 39 | // React js bundle directories 40 | def jsBundleDirConfigName = "jsBundleDir${targetName}" 41 | def jsBundleDir = elvisFile(config."$jsBundleDirConfigName") ?: 42 | file("$buildDir/intermediates/assets/${targetPath}") 43 | 44 | def resourcesDirConfigName = "resourcesDir${targetName}" 45 | def resourcesDir = elvisFile(config."${resourcesDirConfigName}") ?: 46 | file("$buildDir/intermediates/res/merged/${targetPath}") 47 | def jsBundleFile = file("$jsBundleDir/$bundleAssetName") 48 | 49 | // Bundle task name for variant 50 | def bundleJsAndAssetsTaskName = "bundle${targetName}JsAndAssets" 51 | 52 | def currentBundleTask = tasks.create( 53 | name: bundleJsAndAssetsTaskName, 54 | type: Exec) { 55 | group = "react" 56 | description = "bundle JS and assets for ${targetName}." 57 | 58 | // Create dirs if they are not there (e.g. the "clean" task just ran) 59 | doFirst { 60 | jsBundleDir.mkdirs() 61 | resourcesDir.mkdirs() 62 | } 63 | 64 | // Set up inputs and outputs so gradle can cache the result 65 | inputs.files fileTree(dir: reactRoot, excludes: inputExcludes) 66 | outputs.dir jsBundleDir 67 | outputs.dir resourcesDir 68 | 69 | // Set up the call to the react-native cli 70 | workingDir reactRoot 71 | 72 | // Set up dev mode 73 | def devEnabled = !targetName.toLowerCase().contains("release") 74 | if (Os.isFamily(Os.FAMILY_WINDOWS)) { 75 | commandLine "cmd", "/c", "react-native", "bundle", "--platform", "android", "--dev", "${devEnabled}", 76 | "--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir 77 | } else { 78 | commandLine "react-native", "bundle", "--platform", "android", "--dev", "${devEnabled}", 79 | "--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir 80 | } 81 | 82 | enabled config."bundleIn${targetName}" || 83 | config."bundleIn${buildTypeName.capitalize()}" ?: 84 | targetName.toLowerCase().contains("release") 85 | } 86 | 87 | // Hook bundle${productFlavor}${buildType}JsAndAssets into the android build process 88 | currentBundleTask.dependsOn("merge${targetName}Resources") 89 | currentBundleTask.dependsOn("merge${targetName}Assets") 90 | 91 | runBefore("processArmeabi-v7a${targetName}Resources", currentBundleTask) 92 | runBefore("processX86${targetName}Resources", currentBundleTask) 93 | runBefore("processUniversal${targetName}Resources", currentBundleTask) 94 | runBefore("process${targetName}Resources", currentBundleTask) 95 | } 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Dev/Pods-Staffjoy Dev-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-Staffjoy Release/Pods-Staffjoy Release-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /ios/Pods/Target Support Files/Pods-StaffjoyMobileTests/Pods-StaffjoyMobileTests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /ios/StaffjoyMobile.xcodeproj/xcshareddata/xcschemes/StaffjoyMobile.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /ios/Pods/Local Podspecs/React.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "React", 3 | "version": "0.22.2", 4 | "summary": "Build high quality mobile apps using React.", 5 | "description": "React Native apps are built using the React JS\nframework, and render directly to native UIKit\nelements using a fully asynchronous architecture.\nThere is no browser and no HTML. We have picked what\nwe think is the best set of features from these and\nother technologies to build what we hope to become\nthe best product development framework available,\nwith an emphasis on iteration speed, developer\ndelight, continuity of technology, and absolutely\nbeautiful and fast products with no compromises in\nquality or capability.", 6 | "homepage": "http://facebook.github.io/react-native/", 7 | "license": "BSD", 8 | "authors": "Facebook", 9 | "source": { 10 | "git": "https://github.com/facebook/react-native.git", 11 | "tag": "v0.22.2" 12 | }, 13 | "default_subspecs": "Core", 14 | "requires_arc": true, 15 | "platforms": { 16 | "ios": "7.0" 17 | }, 18 | "preserve_paths": [ 19 | "cli.js", 20 | "Libraries/**/*.js", 21 | "lint", 22 | "linter.js", 23 | "node_modules", 24 | "package.json", 25 | "packager", 26 | "PATENTS", 27 | "react-native-cli" 28 | ], 29 | "subspecs": [ 30 | { 31 | "name": "Core", 32 | "source_files": "React/**/*.{c,h,m,S}", 33 | "exclude_files": [ 34 | "**/__tests__/*", 35 | "IntegrationTests/*" 36 | ], 37 | "frameworks": "JavaScriptCore" 38 | }, 39 | { 40 | "name": "ART", 41 | "dependencies": { 42 | "React/Core": [ 43 | 44 | ] 45 | }, 46 | "source_files": "Libraries/ART/**/*.{h,m}", 47 | "preserve_paths": "Libraries/ART/**/*.js" 48 | }, 49 | { 50 | "name": "RCTActionSheet", 51 | "dependencies": { 52 | "React/Core": [ 53 | 54 | ] 55 | }, 56 | "source_files": "Libraries/ActionSheetIOS/*.{h,m}", 57 | "preserve_paths": "Libraries/ActionSheetIOS/*.js" 58 | }, 59 | { 60 | "name": "RCTAdSupport", 61 | "dependencies": { 62 | "React/Core": [ 63 | 64 | ] 65 | }, 66 | "source_files": "Libraries/AdSupport/*.{h,m}", 67 | "preserve_paths": "Libraries/AdSupport/*.js" 68 | }, 69 | { 70 | "name": "RCTCameraRoll", 71 | "dependencies": { 72 | "React/Core": [ 73 | 74 | ] 75 | }, 76 | "source_files": "Libraries/CameraRoll/*.{h,m}", 77 | "preserve_paths": "Libraries/CameraRoll/*.js" 78 | }, 79 | { 80 | "name": "RCTGeolocation", 81 | "dependencies": { 82 | "React/Core": [ 83 | 84 | ] 85 | }, 86 | "source_files": "Libraries/Geolocation/*.{h,m}", 87 | "preserve_paths": "Libraries/Geolocation/*.js" 88 | }, 89 | { 90 | "name": "RCTImage", 91 | "dependencies": { 92 | "React/Core": [ 93 | 94 | ], 95 | "React/RCTNetwork": [ 96 | 97 | ] 98 | }, 99 | "source_files": "Libraries/Image/*.{h,m}", 100 | "preserve_paths": "Libraries/Image/*.js" 101 | }, 102 | { 103 | "name": "RCTNetwork", 104 | "dependencies": { 105 | "React/Core": [ 106 | 107 | ] 108 | }, 109 | "source_files": "Libraries/Network/*.{h,m}", 110 | "preserve_paths": "Libraries/Network/*.js" 111 | }, 112 | { 113 | "name": "RCTPushNotification", 114 | "dependencies": { 115 | "React/Core": [ 116 | 117 | ] 118 | }, 119 | "source_files": "Libraries/PushNotificationIOS/*.{h,m}", 120 | "preserve_paths": "Libraries/PushNotificationIOS/*.js" 121 | }, 122 | { 123 | "name": "RCTSettings", 124 | "dependencies": { 125 | "React/Core": [ 126 | 127 | ] 128 | }, 129 | "source_files": "Libraries/Settings/*.{h,m}", 130 | "preserve_paths": "Libraries/Settings/*.js" 131 | }, 132 | { 133 | "name": "RCTText", 134 | "dependencies": { 135 | "React/Core": [ 136 | 137 | ] 138 | }, 139 | "source_files": "Libraries/Text/*.{h,m}", 140 | "preserve_paths": "Libraries/Text/*.js" 141 | }, 142 | { 143 | "name": "RCTVibration", 144 | "dependencies": { 145 | "React/Core": [ 146 | 147 | ] 148 | }, 149 | "source_files": "Libraries/Vibration/*.{h,m}", 150 | "preserve_paths": "Libraries/Vibration/*.js" 151 | }, 152 | { 153 | "name": "RCTWebSocket", 154 | "dependencies": { 155 | "React/Core": [ 156 | 157 | ] 158 | }, 159 | "source_files": "Libraries/WebSocket/*.{h,m}", 160 | "preserve_paths": "Libraries/WebSocket/*.js" 161 | }, 162 | { 163 | "name": "RCTLinkingIOS", 164 | "dependencies": { 165 | "React/Core": [ 166 | 167 | ] 168 | }, 169 | "source_files": "Libraries/LinkingIOS/*.{h,m}", 170 | "preserve_paths": "Libraries/LinkingIOS/*.js" 171 | }, 172 | { 173 | "name": "RCTTest", 174 | "source_files": "Libraries/RCTTest/**/*.{h,m}", 175 | "preserve_paths": "Libraries/RCTTest/**/*.js", 176 | "frameworks": "XCTest" 177 | } 178 | ] 179 | } 180 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"] 59 | * ] 60 | */ 61 | 62 | apply from: "react.gradle" 63 | 64 | /** 65 | * Set this to true to create two separate APKs instead of one: 66 | * - An APK that only works on ARM devices 67 | * - An APK that only works on x86 devices 68 | * The advantage is the size of the APK is reduced by about 4MB. 69 | * Upload all the APKs to the Play Store and people will download 70 | * the correct one based on the CPU architecture of their device. 71 | */ 72 | def enableSeparateBuildPerCPUArchitecture = false 73 | 74 | /** 75 | * Run Proguard to shrink the Java bytecode in release builds. 76 | */ 77 | def enableProguardInReleaseBuilds = false 78 | 79 | android { 80 | compileSdkVersion 23 81 | buildToolsVersion "23.0.1" 82 | 83 | defaultConfig { 84 | applicationId "com.staffjoy.android" 85 | minSdkVersion 16 86 | targetSdkVersion 23 87 | versionCode 4 88 | versionName "1.2" 89 | ndk { 90 | abiFilters "armeabi-v7a", "x86" 91 | } 92 | } 93 | signingConfigs { 94 | release { 95 | storeFile file(MYAPP_RELEASE_STORE_FILE) 96 | storePassword MYAPP_RELEASE_STORE_PASSWORD 97 | keyAlias MYAPP_RELEASE_KEY_ALIAS 98 | keyPassword MYAPP_RELEASE_KEY_PASSWORD 99 | } 100 | } 101 | splits { 102 | abi { 103 | reset() 104 | enable enableSeparateBuildPerCPUArchitecture 105 | universalApk false // If true, also generate a universal APK 106 | include "armeabi-v7a", "x86" 107 | } 108 | } 109 | buildTypes { 110 | release { 111 | minifyEnabled enableProguardInReleaseBuilds 112 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 113 | signingConfig signingConfigs.release 114 | } 115 | } 116 | // applicationVariants are e.g. debug, release 117 | applicationVariants.all { variant -> 118 | variant.outputs.each { output -> 119 | // For each separate APK per architecture, set a unique version code as described here: 120 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 121 | def versionCodes = ["armeabi-v7a":1, "x86":2] 122 | def abi = output.getFilter(OutputFile.ABI) 123 | if (abi != null) { // null for the universal-debug, universal-release variants 124 | output.versionCodeOverride = 125 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 126 | } 127 | } 128 | } 129 | } 130 | 131 | dependencies { 132 | compile fileTree(dir: "libs", include: ["*.jar"]) 133 | compile "com.android.support:appcompat-v7:23.0.1" 134 | compile "com.facebook.react:react-native:+" // From node_modules 135 | } 136 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Staffjoy V1 Mobile Apps for Android and iPhone 2 | 3 | [![Moonlight contractors](https://www.moonlightwork.com/shields/react-native.svg)](https://www.moonlightwork.com/for/react-native?referredByUserID=1&referralProgram=maintainer&referrerName=Staffjoy) 4 | 5 | [Staffjoy is shutting down](https://blog.staffjoy.com/staffjoy-is-shutting-down-39f7b5d66ef6#.ldsdqb1kp), so we are open-sourcing our code. These applications use [React Native](https://facebook.github.io/react-native/) to create a simple webview around [Staffjoy V1's applications](https://github.com/staffjoy/suite). The mobile applications look for a `mobile-config.json` on the server, which provides a regex for determining which URLs are considered the "app, which hides a navbar with the URL and back button. The repos also includes some other functionality, such as a loading screen and error handling. Thanks to [@JBaller](https://github.com/jballer) for helping us with this last year in his spare time. 6 | 7 | ### Example /mobile-config.json 8 | 9 | ``` 10 | { 11 | hideNavForURLsMatchingPattern: "^https?://(dev|stage|www|suite)\.staffjoy\.com" 12 | } 13 | ``` 14 | 15 | 16 | ## Background 17 | 18 | React Native is packaged as a Node module, delivered via `npm`. 19 | 20 | The native projects live in subdirectories, and link to React Native as a local dependency (`npm` puts it into `node_modules/react-native`). 21 | 22 | ## Setup 23 | 24 | 1. Install [Homebrew](http://brew.sh/) 25 | 1. Install Node (using nvm) 26 | a. `curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash` 27 | b. `nvm install v5.5.0 && nvm alias default node` 28 | 1. `brew install watchman` 29 | 1. Install the React Native command line tools 30 | a. `npm install -g react-native-cli` 31 | 32 | ## IDEs 33 | 34 | IDE installations will handle SDK dependencies 35 | 36 | ### iOS 37 | - Install [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) (v7.3 or newer) 38 | - Install Cocoapods (`gem install cocoapods`) 39 | 40 | ### Android 41 | Install [Android Studio](developer.android.com/sdk) 2.0 or newer 42 | 43 | ## Updating Dependencies 44 | 45 | **React**: run `npm install` from the project root 46 | 47 | > Note: *Skip* the `react-native upgrade` step from the [docs](https://facebook.github.io/react-native/docs/upgrading.html#content). We aren't using their templates, and it would attempt to overwrite important native code. 48 | 49 | **iOS**: run `pod install` from the `/ios` directory 50 | 51 | **Android**: updated dynamically during the build process 52 | 53 | 54 | ## Debug & Build 55 | 56 | > Note: For iOS, because we're using Cocoapods, you **must open the *workspace*** file, (`StaffjoyMobile.xcworkspace`), *not* the project file (`.xcodeproj`). 57 | 58 | ### Debugging 59 | 60 | | Platform | Type | | 61 | |----------|------|---| 62 | | iOS | Debug | `react-native run-ios` from project root (as of React v0.22, you need a simulator titled "iPhone 6") | 63 | | iOS | Debug | In Xcode: Build and Run the `StaffjoyMobile` target onto a device or simulator | 64 | | Android | Debug | `react-native run-android` while emulator is running or device is connected ) 65 | 66 | > While debugging, shake the device to access the React Native Developer menu (`CMD+D` on iOS simulator, `F2` on Android emulator) 67 | 68 | #### Loading JavaScript 69 | 70 | > Note: Release builds always load from the app binary 71 | 72 | | Platform | Notes | 73 | |----------|-------| 74 | | iOS Simulator | Automatically loads latest version via packager | 75 | | iOS Device | Loads from app binary; need to rebuild to get updated JS | 76 | | Android | Loads from server* when `__DEV__` enabled (toggle at top of debug menu after shaking device) | 77 | 78 | > \* For Android devices or emulators running Anroid 5 or later, it's easiest to link to the packager over USB by running `adb reverse tcp:8081 tcp:8081`. To link over WiFi, shake the device, tap the last settings option in the debug menu, and enter the address of your machine and port number of packager (default 8081) 79 | 80 | ### Building 81 | 82 | #### iOS 83 | 84 | | Target | Properties | 85 | |--------|------------| 86 | | `StaffjoyMobile` | Includes a page for the system's Settings app that allows you to change root domain (i.e. to point at `dev.staffjoy.com`). For realistic testing, deploy to TestFlight and test on a dev server. | 87 | | `Staffjoy Release` | Release build | 88 | 89 | 1. Open `ios/StaffjoyMobile.xcworkspace` in Xcode 90 | 1. Select the desired target 91 | 1. Choose `Generic iOS Device` from the device list. 92 | 1. Select `Product -> Archive` 93 | 1. Once archvied, the Organizer will open (access later via `Window -> Organizer`) 94 | 1. Select the latest build, and choose "Upload to App Store" 95 | 1. Manage TestFlight and App Store release via [iTunes Connect](https://itunesconnect.apple.com) 96 | 97 | > To test an archive on a device without waiting for TestFlight, go to `Window -> Organizer`, choose `Export`, then `Ad Hoc`, and install by dragging the exported file to your device via `Window -> Devices` 98 | 99 | 100 | #### Android 101 | 102 | via shell 103 | 104 | 1. (One time only) [Set up Gradle variables](https://facebook.github.io/react-native/docs/signed-apk-android.html#setting-up-gradle-variables) for signing with the Staffjoy certificate (credentials are excluded from git for security) 105 | a. Look up `Android Keystore` in Staffjoy's "Mobile" vault in 1Password 106 | a. Copy `staffjoy_android_keystore.jks` from 1Password into your project's `android/app` directory 107 | a. Copy `gradle.properties` into the `~/.gradle` directory 108 | 2. Run `./gradlew assembleRelease` (or `installRelease`, `assembleDebug`, `installDebug`) 109 | 3. The APK will be built to `android/app/build/outputs/apk/app-release.apk` (or `app-debug.apk`) 110 | 111 | Via IDE 112 | 113 | 1. Open the project in Android Studio 114 | 2. Go to `Build -> Generate Signed APK` 115 | 3. Choose the `app` module 116 | 4. Enter key store info 117 | a. path: point to a local copy the `.jks` file from 1Password 118 | b. password: from 1Password 119 | c. alias: `staffjoy_android_keystore` 120 | d. key password: the second password from 1Password (under "key info") 121 | 5. Choose a destination for the APK 122 | --------------------------------------------------------------------------------