packages = new PackageList(this).getPackages();
29 | // Packages that cannot be autolinked yet can be added manually here, for example:
30 | packages.add(new RNFirebaseMessagingPackage());
31 | packages.add(new RNFirebaseNotificationsPackage());
32 | return packages;
33 | }
34 |
35 | @Override
36 | protected String getJSMainModuleName() {
37 | return "index";
38 | }
39 | };
40 |
41 | @Override
42 | public ReactNativeHost getReactNativeHost() {
43 | return mReactNativeHost;
44 | }
45 |
46 | @Override
47 | public void onCreate() {
48 | super.onCreate();
49 | SoLoader.init(this, /* native exopackage */ false);
50 | initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
51 | }
52 |
53 | /**
54 | * Loads Flipper in React Native templates. Call this in the onCreate method with something like
55 | * initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
56 | *
57 | * @param context
58 | */
59 | private static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {
60 | if (BuildConfig.DEBUG) {
61 | try {
62 | /*
63 | We use reflection here to pick up the class that initializes Flipper,
64 | since Flipper library is not available in release mode
65 | */
66 | Class> aClass = Class.forName("fr.studiorenegade.ReactNativeFlipper");
67 | aClass
68 | .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
69 | .invoke(null, context, reactInstanceManager);
70 | } catch (ClassNotFoundException e) {
71 | e.printStackTrace();
72 | } catch (NoSuchMethodException e) {
73 | e.printStackTrace();
74 | } catch (IllegalAccessException e) {
75 | e.printStackTrace();
76 | } catch (InvocationTargetException e) {
77 | e.printStackTrace();
78 | }
79 | }
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/ios/stdrenegade/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"}]}
--------------------------------------------------------------------------------
/android/app/src/main/java/fr/studiorenegade/ReactNativeFlipper.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the LICENSE file in the root
5 | * directory of this source tree.
6 | */
7 | package fr.studiorenegade;
8 | import android.content.Context;
9 | import com.facebook.flipper.android.AndroidFlipperClient;
10 | import com.facebook.flipper.android.utils.FlipperUtils;
11 | import com.facebook.flipper.core.FlipperClient;
12 | import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;
13 | import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin;
14 | import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin;
15 | import com.facebook.flipper.plugins.inspector.DescriptorMapping;
16 | import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin;
17 | import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor;
18 | import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
19 | import com.facebook.flipper.plugins.react.ReactFlipperPlugin;
20 | import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
21 | import com.facebook.react.ReactInstanceManager;
22 | import com.facebook.react.bridge.ReactContext;
23 | import com.facebook.react.modules.network.NetworkingModule;
24 | import okhttp3.OkHttpClient;
25 |
26 | public class ReactNativeFlipper {
27 | public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {
28 | if (FlipperUtils.shouldEnableFlipper(context)) {
29 | final FlipperClient client = AndroidFlipperClient.getInstance(context);
30 | client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));
31 | client.addPlugin(new ReactFlipperPlugin());
32 | client.addPlugin(new DatabasesFlipperPlugin(context));
33 | client.addPlugin(new SharedPreferencesFlipperPlugin(context));
34 | client.addPlugin(CrashReporterPlugin.getInstance());
35 | NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();
36 | NetworkingModule.setCustomClientBuilder(
37 | new NetworkingModule.CustomClientBuilder() {
38 | @Override
39 | public void apply(OkHttpClient.Builder builder) {
40 | builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin));
41 | }
42 | });
43 | client.addPlugin(networkFlipperPlugin);
44 | client.start();
45 | // Fresco Plugin needs to ensure that ImagePipelineFactory is initialized
46 | // Hence we run if after all native modules have been initialized
47 | ReactContext reactContext = reactInstanceManager.getCurrentReactContext();
48 | if (reactContext == null) {
49 | reactInstanceManager.addReactInstanceEventListener(
50 | new ReactInstanceManager.ReactInstanceEventListener() {
51 | @Override
52 | public void onReactContextInitialized(ReactContext reactContext) {
53 | reactInstanceManager.removeReactInstanceEventListener(this);
54 | reactContext.runOnNativeModulesQueueThread(
55 | new Runnable() {
56 | @Override
57 | public void run() {
58 | client.addPlugin(new FrescoFlipperPlugin());
59 | }
60 | });
61 | }
62 | });
63 | } else {
64 | client.addPlugin(new FrescoFlipperPlugin());
65 | }
66 | }
67 | }
68 | }
--------------------------------------------------------------------------------
/ios/stdrenegade/AppDelegate.m:
--------------------------------------------------------------------------------
1 | #import "AppDelegate.h"
2 |
3 | #import
4 | #import
5 | #import
6 |
7 | #ifdef FB_SONARKIT_ENABLED
8 | #import
9 | #import
10 | #import
11 | #import
12 | #import
13 | #import
14 | static void InitializeFlipper(UIApplication *application) {
15 | FlipperClient *client = [FlipperClient sharedClient];
16 | SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
17 | [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];
18 | [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
19 | [client addPlugin:[FlipperKitReactPlugin new]];
20 | [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
21 | [client start];
22 | }
23 | #endif
24 |
25 | #import
26 | #import "RNFirebaseNotifications.h"
27 | #import "RNFirebaseMessaging.h"
28 |
29 | @implementation AppDelegate
30 |
31 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
32 | {
33 | #ifdef FB_SONARKIT_ENABLED
34 | InitializeFlipper(application);
35 | #endif
36 |
37 | if ([FIRApp defaultApp] == nil) {
38 | [FIRApp configure];
39 | }
40 | [RNFirebaseNotifications configure];
41 |
42 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
43 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
44 | moduleName:@"stdrenegade"
45 | initialProperties:nil];
46 |
47 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
48 |
49 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
50 | UIViewController *rootViewController = [UIViewController new];
51 | rootViewController.view = rootView;
52 | self.window.rootViewController = rootViewController;
53 | [self.window makeKeyAndVisible];
54 | return YES;
55 | }
56 |
57 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
58 | {
59 | #if DEBUG
60 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
61 | #else
62 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
63 | #endif
64 | }
65 |
66 | - (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification {
67 | [[RNFirebaseNotifications instance] didReceiveLocalNotification:notification];
68 | }
69 |
70 | - (void)application:(UIApplication *)application didReceiveRemoteNotification:(nonnull NSDictionary *)userInfo
71 | fetchCompletionHandler:(nonnull void (^)(UIBackgroundFetchResult))completionHandler{
72 | [[RNFirebaseNotifications instance] didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
73 | }
74 |
75 | - (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings {
76 | [[RNFirebaseMessaging instance] didRegisterUserNotificationSettings:notificationSettings];
77 | }
78 |
79 | @end
80 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @rem
2 | @rem Copyright 2015 the original author or authors.
3 | @rem
4 | @rem Licensed under the Apache License, Version 2.0 (the "License");
5 | @rem you may not use this file except in compliance with the License.
6 | @rem You may obtain a copy of the License at
7 | @rem
8 | @rem https://www.apache.org/licenses/LICENSE-2.0
9 | @rem
10 | @rem Unless required by applicable law or agreed to in writing, software
11 | @rem distributed under the License is distributed on an "AS IS" BASIS,
12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | @rem See the License for the specific language governing permissions and
14 | @rem limitations under the License.
15 | @rem
16 |
17 | @if "%DEBUG%" == "" @echo off
18 | @rem ##########################################################################
19 | @rem
20 | @rem Gradle startup script for Windows
21 | @rem
22 | @rem ##########################################################################
23 |
24 | @rem Set local scope for the variables with windows NT shell
25 | if "%OS%"=="Windows_NT" setlocal
26 |
27 | set DIRNAME=%~dp0
28 | if "%DIRNAME%" == "" set DIRNAME=.
29 | set APP_BASE_NAME=%~n0
30 | set APP_HOME=%DIRNAME%
31 |
32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter.
33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34 |
35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
37 |
38 | @rem Find java.exe
39 | if defined JAVA_HOME goto findJavaFromJavaHome
40 |
41 | set JAVA_EXE=java.exe
42 | %JAVA_EXE% -version >NUL 2>&1
43 | if "%ERRORLEVEL%" == "0" goto init
44 |
45 | echo.
46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
47 | echo.
48 | echo Please set the JAVA_HOME variable in your environment to match the
49 | echo location of your Java installation.
50 |
51 | goto fail
52 |
53 | :findJavaFromJavaHome
54 | set JAVA_HOME=%JAVA_HOME:"=%
55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
56 |
57 | if exist "%JAVA_EXE%" goto init
58 |
59 | echo.
60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
61 | echo.
62 | echo Please set the JAVA_HOME variable in your environment to match the
63 | echo location of your Java installation.
64 |
65 | goto fail
66 |
67 | :init
68 | @rem Get command-line arguments, handling Windows variants
69 |
70 | if not "%OS%" == "Windows_NT" goto win9xME_args
71 |
72 | :win9xME_args
73 | @rem Slurp the command line arguments.
74 | set CMD_LINE_ARGS=
75 | set _SKIP=2
76 |
77 | :win9xME_args_slurp
78 | if "x%~1" == "x" goto execute
79 |
80 | set CMD_LINE_ARGS=%*
81 |
82 | :execute
83 | @rem Setup the command line
84 |
85 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
86 |
87 | @rem Execute Gradle
88 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
89 |
90 | :end
91 | @rem End local scope for the variables with windows NT shell
92 | if "%ERRORLEVEL%"=="0" goto mainEnd
93 |
94 | :fail
95 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
96 | rem the _cmd.exe /c_ return code!
97 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
98 | exit /b 1
99 |
100 | :mainEnd
101 | if "%OS%"=="Windows_NT" endlocal
102 |
103 | :omega
--------------------------------------------------------------------------------
/src/App.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { StatusBar } from "react-native"
3 | import { Provider } from "react-redux"
4 | import firebase from "react-native-firebase"
5 |
6 | import RootNavigator from "./screens"
7 | import store from "./data/store"
8 | import Device from "./tools/Device"
9 | import Notification from "./tools/Notification"
10 |
11 | export default class App extends React.Component {
12 | componentDidMount() {
13 | StatusBar.setBarStyle("light-content")
14 | Notification.createChannel()
15 | firebase
16 | .messaging()
17 | .getToken()
18 | .then((fcmToken) => {
19 | if (fcmToken) {
20 | // user has a device token
21 | console.log(fcmToken)
22 | } else {
23 | // user doesn't have a device token yet
24 | console.log("No token for now...")
25 | }
26 | })
27 | firebase.messaging().onTokenRefresh((fcmToken) => {
28 | // Process your token as required
29 | console.log(fcmToken)
30 | })
31 | firebase
32 | .messaging()
33 | .hasPermission()
34 | .then((enabled) => {
35 | if (enabled) {
36 | // user has permissions
37 | console.log("Permission OK!!!")
38 | } else {
39 | // user doesn't have permission
40 | console.log("Permission KO... :(")
41 | firebase
42 | .messaging()
43 | .requestPermission()
44 | .then(() => {
45 | // User has authorised
46 | console.log("Yeepee!!!")
47 | })
48 | .catch((error) => {
49 | // User has rejected permissions
50 | console.log("Rejected :'(")
51 | })
52 | }
53 | })
54 | firebase.messaging().onMessage((message) => console.log("onMessage", message.data))
55 | firebase.notifications().onNotificationOpened((notif) => this.handleNotification(notif.notification))
56 | firebase
57 | .notifications()
58 | .getInitialNotification()
59 | .then((notif) => {
60 | if (notif) {
61 | this.handleNotification(notif.notification)
62 | firebase.notifications().cancelAllNotifications()
63 | }
64 | })
65 | }
66 |
67 | handleNotification(notif) {
68 | console.log("handleNotification", notif)
69 | if (notif.data && notif.data.action) {
70 | switch (notif.data.action) {
71 | case "openTwitch":
72 | Device.openTwitch()
73 | break
74 | case "resub":
75 | // Renew notification in 30 days
76 | const now = new Date().getTime()
77 | const nextNotif = new Date(now + 30 * 24 * 3600 * 1000)
78 | Notification.renewNotification(nextNotif)
79 | Device.openTwitch()
80 | break
81 | default:
82 | //nothing
83 | break
84 | }
85 | }
86 | }
87 |
88 | render() {
89 | return (
90 |
91 |
92 |
93 | )
94 | }
95 | }
96 |
--------------------------------------------------------------------------------
/ios/stdrenegade.xcodeproj/xcshareddata/xcschemes/stdrenegade.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
42 |
43 |
53 |
55 |
61 |
62 |
63 |
64 |
70 |
72 |
78 |
79 |
80 |
81 |
83 |
84 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/src/components/Header.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import {
3 | SafeAreaView,
4 | ImageBackground,
5 | Animated,
6 | Easing,
7 | StyleSheet,
8 | ViewPropTypes,
9 | TouchableOpacity,
10 | } from "react-native"
11 | import PropTypes from "prop-types"
12 | import IconMCI from "react-native-vector-icons/MaterialCommunityIcons"
13 | import Device from "../tools/Device"
14 |
15 | class Header extends React.Component {
16 | static propTypes = {
17 | style: ViewPropTypes.style,
18 | scrollContentYOffset: PropTypes.number,
19 | shouldShowBackButton: PropTypes.bool,
20 | }
21 | static defaultProps = {
22 | scrollContentYOffset: 0,
23 | shouldShowBackButton: false,
24 | }
25 | // Header animation configuration
26 | static minHeight = 0
27 | static maxHeight = 80
28 | static deltaAnimationProgressThatDoesNotNeedTiming = 0.5
29 | static computeAnimatedProgressValue = ({ scrollContentYOffset }) =>
30 | scrollContentYOffset >= 0
31 | ? Math.max(0, 1 - scrollContentYOffset / (Header.maxHeight - Header.minHeight))
32 | : 1 + (-scrollContentYOffset * 0.3) / (Header.maxHeight - Header.minHeight) // Bounce
33 | static animatedHeight = ({ animatedProgress }) =>
34 | Animated.multiply(animatedProgress, Header.maxHeight - Header.minHeight)
35 | static animatedOpacity = ({ animatedProgress }) => animatedProgress
36 |
37 | constructor(props) {
38 | super(props)
39 | this.animatedProgressValue = Header.computeAnimatedProgressValue({
40 | scrollContentYOffset: this.props.scrollContentYOffset,
41 | })
42 | this.animatedProgress = new Animated.Value(this.animatedProgressValue)
43 | this.state = {
44 | statusBarHeight: 20,
45 | }
46 | }
47 |
48 | componentDidMount() {
49 | this.setState({ statusBarHeight: Device.getStatusBarHeight() })
50 | }
51 |
52 | componentDidUpdate() {
53 | const { scrollContentYOffset } = this.props
54 | const newAnimatedProgressValue = Header.computeAnimatedProgressValue({ scrollContentYOffset })
55 | if (
56 | Math.abs(this.animatedProgressValue - newAnimatedProgressValue) <=
57 | Header.deltaAnimationProgressThatDoesNotNeedTiming
58 | ) {
59 | this.animatedProgress.setValue(newAnimatedProgressValue)
60 | } else {
61 | Animated.timing(this.animatedProgress, {
62 | toValue: newAnimatedProgressValue,
63 | duration: 200,
64 | easing: Easing.out(Easing.quad),
65 | useNativeDriver: false,
66 | }).start()
67 | }
68 | this.animatedProgressValue = newAnimatedProgressValue
69 | }
70 |
71 | render() {
72 | return (
73 |
82 |
83 |
91 |
92 | {this.props.shouldShowBackButton && this.animatedProgressValue > 0.9 && (
93 | (this.props.navigation ? this.props.navigation.goBack() : undefined)}
95 | style={{
96 | padding: 10,
97 | position: "absolute",
98 | top: Device.getBackArrowPosition(this.state.statusBarHeight),
99 | left: 20,
100 | }}
101 | >
102 |
103 |
104 | )}
105 |
106 | )
107 | }
108 | }
109 |
110 | const styles = StyleSheet.create({
111 | container: {
112 | position: "absolute",
113 | top: 0,
114 | left: 0,
115 | right: 0,
116 | alignItems: "center",
117 | justifyContent: "center",
118 | },
119 | })
120 |
121 | export default Header
122 |
--------------------------------------------------------------------------------
/ios/stdrenegade.xcodeproj/xcshareddata/xcschemes/stdrenegade-tvOS.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
65 |
66 |
67 |
68 |
70 |
76 |
77 |
78 |
79 |
80 |
90 |
92 |
98 |
99 |
100 |
101 |
107 |
109 |
115 |
116 |
117 |
118 |
120 |
121 |
124 |
125 |
126 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #
4 | # Copyright 2015 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # https://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | ##############################################################################
20 | ##
21 | ## Gradle start up script for UN*X
22 | ##
23 | ##############################################################################
24 |
25 | # Attempt to set APP_HOME
26 | # Resolve links: $0 may be a link
27 | PRG="$0"
28 | # Need this for relative symlinks.
29 | while [ -h "$PRG" ] ; do
30 | ls=`ls -ld "$PRG"`
31 | link=`expr "$ls" : '.*-> \(.*\)$'`
32 | if expr "$link" : '/.*' > /dev/null; then
33 | PRG="$link"
34 | else
35 | PRG=`dirname "$PRG"`"/$link"
36 | fi
37 | done
38 | SAVED="`pwd`"
39 | cd "`dirname \"$PRG\"`/" >/dev/null
40 | APP_HOME="`pwd -P`"
41 | cd "$SAVED" >/dev/null
42 |
43 | APP_NAME="Gradle"
44 | APP_BASE_NAME=`basename "$0"`
45 |
46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
48 |
49 | # Use the maximum available, or set MAX_FD != -1 to use that value.
50 | MAX_FD="maximum"
51 |
52 | warn () {
53 | echo "$*"
54 | }
55 |
56 | die () {
57 | echo
58 | echo "$*"
59 | echo
60 | exit 1
61 | }
62 |
63 | # OS specific support (must be 'true' or 'false').
64 | cygwin=false
65 | msys=false
66 | darwin=false
67 | nonstop=false
68 | case "`uname`" in
69 | CYGWIN* )
70 | cygwin=true
71 | ;;
72 | Darwin* )
73 | darwin=true
74 | ;;
75 | MINGW* )
76 | msys=true
77 | ;;
78 | NONSTOP* )
79 | nonstop=true
80 | ;;
81 | esac
82 |
83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
84 |
85 | # Determine the Java command to use to start the JVM.
86 | if [ -n "$JAVA_HOME" ] ; then
87 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
88 | # IBM's JDK on AIX uses strange locations for the executables
89 | JAVACMD="$JAVA_HOME/jre/sh/java"
90 | else
91 | JAVACMD="$JAVA_HOME/bin/java"
92 | fi
93 | if [ ! -x "$JAVACMD" ] ; then
94 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
95 |
96 | Please set the JAVA_HOME variable in your environment to match the
97 | location of your Java installation."
98 | fi
99 | else
100 | JAVACMD="java"
101 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
102 |
103 | Please set the JAVA_HOME variable in your environment to match the
104 | location of your Java installation."
105 | fi
106 |
107 | # Increase the maximum file descriptors if we can.
108 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
109 | MAX_FD_LIMIT=`ulimit -H -n`
110 | if [ $? -eq 0 ] ; then
111 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
112 | MAX_FD="$MAX_FD_LIMIT"
113 | fi
114 | ulimit -n $MAX_FD
115 | if [ $? -ne 0 ] ; then
116 | warn "Could not set maximum file descriptor limit: $MAX_FD"
117 | fi
118 | else
119 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
120 | fi
121 | fi
122 |
123 | # For Darwin, add options to specify how the application appears in the dock
124 | if $darwin; then
125 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
126 | fi
127 |
128 | # For Cygwin or MSYS, switch paths to Windows format before running java
129 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
130 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
131 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
132 | JAVACMD=`cygpath --unix "$JAVACMD"`
133 |
134 | # We build the pattern for arguments to be converted via cygpath
135 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
136 | SEP=""
137 | for dir in $ROOTDIRSRAW ; do
138 | ROOTDIRS="$ROOTDIRS$SEP$dir"
139 | SEP="|"
140 | done
141 | OURCYGPATTERN="(^($ROOTDIRS))"
142 | # Add a user-defined pattern to the cygpath arguments
143 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
144 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
145 | fi
146 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
147 | i=0
148 | for arg in "$@" ; do
149 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
150 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
151 |
152 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
153 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
154 | else
155 | eval `echo args$i`="\"$arg\""
156 | fi
157 | i=`expr $i + 1`
158 | done
159 | case $i in
160 | 0) set -- ;;
161 | 1) set -- "$args0" ;;
162 | 2) set -- "$args0" "$args1" ;;
163 | 3) set -- "$args0" "$args1" "$args2" ;;
164 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
165 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
166 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
167 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
168 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
169 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
170 | esac
171 | fi
172 |
173 | # Escape application args
174 | save () {
175 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
176 | echo " "
177 | }
178 | APP_ARGS=`save "$@"`
179 |
180 | # Collect all arguments for the java command, following the shell quoting and substitution rules
181 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
182 |
183 | exec "$JAVACMD" "$@"
184 |
--------------------------------------------------------------------------------
/src/screens/programs/ProgramsDetails.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { StyleSheet, Text, View, Image, TouchableOpacity, Linking } from "react-native"
3 | import IconII from "react-native-vector-icons/Ionicons"
4 |
5 | import ScrollViewWithHeader from "../../components/ScrollViewWithHeader"
6 |
7 | const ProgramsDetails = (props) => {
8 | const { params } = props.navigation.state
9 | const programDescription = params.programDetail.description
10 | const logoEmission = params.programDetail.logo
11 | const { streamers } = params
12 | const actualStreamers = params.programDetail.anim || streamers
13 | return (
14 |
15 |
16 |
17 |
18 |
19 | {params.programDetail.name}
20 | {params.programDetail.nextLive ? (
21 |
22 | Prochain live : {params.programDetail.nextLive}
23 |
24 | ) : (
25 | undefined
26 | )}
27 | {programDescription}
28 | {actualStreamers && actualStreamers.length > 0 ? (
29 |
30 | Streameurs
31 |
32 | {actualStreamers.map((streamer) => (
33 |
34 |
35 |
36 | ))}
37 |
38 |
39 | ) : (
40 | undefined
41 | )}
42 | {params.programDetail.videos && params.programDetail.videos.length > 0 ? (
43 |
44 | Dernières émissions
45 |
46 | {params.programDetail.videos.map((video) => (
47 | Linking.openURL(video.url)}
51 | >
52 |
53 | {video.title}
54 |
55 | ))}
56 |
57 |
58 | ) : (
59 | undefined
60 | )}
61 | {params.programDetail.url_youtube ? (
62 | Linking.openURL(params.programDetail.url_youtube)}
64 | style={{ flexDirection: "row", marginTop: 8, alignItems: "center" }}
65 | >
66 |
78 |
79 |
80 | VOD YouTube
81 |
82 | ) : (
83 | undefined
84 | )}
85 | {params.programDetail.url_rss ? (
86 | Linking.openURL(params.programDetail.url_rss)}
88 | style={{ flexDirection: "row", marginTop: 8, alignItems: "center" }}
89 | >
90 |
102 |
103 |
104 | RSS Podcast
105 |
106 | ) : (
107 | undefined
108 | )}
109 |
110 |
111 | )
112 | }
113 |
114 | const styles = StyleSheet.create({
115 | root: {
116 | flex: 1,
117 | backgroundColor: "#F2EDE9",
118 | },
119 | logo: {
120 | marginTop: 10,
121 | borderRadius: 40,
122 | height: 80,
123 | width: 80,
124 | },
125 | streamerLogo: {
126 | borderRadius: 30,
127 | height: 60,
128 | width: 60,
129 | },
130 | youtubePhoto: {
131 | width: 300,
132 | height: 169,
133 | alignSelf: "center",
134 | },
135 | youtubeTitle: {
136 | textAlign: "center",
137 | fontSize: 16,
138 | marginTop: 4,
139 | fontFamily: "Montserrat-Light",
140 | color: "#000",
141 | },
142 | container: {
143 | padding: 10,
144 | },
145 | title: {
146 | fontFamily: "Montserrat-Medium",
147 | color: "#000",
148 | fontSize: 20,
149 | textAlign: "center",
150 | marginTop: 10,
151 | },
152 | textContainer: {
153 | textAlign: "justify",
154 | fontSize: 16,
155 | marginTop: 10,
156 | fontFamily: "Montserrat-Light",
157 | color: "#000",
158 | },
159 | streameur: {
160 | height: 70,
161 | width: 70,
162 | borderRadius: 35,
163 | },
164 | })
165 |
166 | export default ProgramsDetails;
167 |
--------------------------------------------------------------------------------
/src/components/Agenda.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from "react"
2 | import { View, Text, StyleSheet, Image, TouchableOpacity, Alert, FlatList } from "react-native"
3 | import { connect } from "react-redux"
4 | import { remainingTime } from "../tools/Date"
5 | import { storeRenegadeData, fetchRenegadeData } from "../data/renegade/actions"
6 | import IconMCI from "react-native-vector-icons/MaterialCommunityIcons"
7 | import Device from "../tools/Device"
8 | import { HomeRoutes } from "../screens/home"
9 |
10 | const TouchOrNot = (props) =>
11 | props.touchable ? (
12 |
13 | {props.children}
14 |
15 | ) : (
16 | {props.children}
17 | )
18 |
19 | class Agenda extends Component {
20 | constructor(props) {
21 | super(props)
22 | this.state = {
23 | currentLiveEvent: null,
24 | }
25 | }
26 |
27 | componentDidMount() {
28 | this.fetchData()
29 | this.liveEventInterval = setInterval(() => {
30 | const currentLiveEvent = this.getLiveEvent()
31 | if (
32 | (this.state.currentLiveEvent === null && currentLiveEvent) ||
33 | (currentLiveEvent &&
34 | this.state &&
35 | this.state.currentLiveEvent &&
36 | this.state.currentLiveEvent.id !== currentLiveEvent.id)
37 | )
38 | this.setState({ currentLiveEvent })
39 | }, 1000)
40 | }
41 |
42 | componentWillUnmount() {
43 | if (this.liveEventInterval) clearInterval(this.liveEventInterval)
44 | }
45 |
46 | fetchData() {
47 | this.props.fetchRenegadeData()
48 | fetch("https://studiorenegade.fr/app_data.json.php")
49 | .then((data) => data.json())
50 | .then((result) => {
51 | setTimeout(() => this.props.storeRenegadeData(result), 1000)
52 | })
53 | .catch((err) => Alert.alert("Oh non !", err.message))
54 | }
55 |
56 | currentDate() {
57 | const now = new Date()
58 | const day = now.getDay()
59 | const month = now.getMonth() + 1
60 | const year = now.getFullYear()
61 |
62 | return `${day}-${month}-${year}`
63 | }
64 |
65 | getLiveEvent() {
66 | const now = new Date().getTime()
67 | return (
68 | this.props.renegade.events.find((event) => event.time_start * 1000 < now && event.time_end * 1000 > now) ||
69 | null
70 | )
71 | }
72 |
73 | getStreamFromEvent(event) {
74 | return this.props.renegade.streams.find((stream) => stream.id === event.stream)
75 | }
76 |
77 | getProgramFromEvent(event) {
78 | return this.props.renegade.programs.find((program) => program.id === event.program)
79 | }
80 |
81 | getStreamerFromEvent(event) {
82 | return this.props.renegade.streamers.find(
83 | (streamer) => streamer.id === (event.streamers ? event.streamers[0] : undefined)
84 | )
85 | }
86 |
87 | getStreamers(streamersId) {
88 | return streamersId.map((id) => this.props.renegade.streamers.find((streamer) => streamer.id === id))
89 | }
90 |
91 | renderProgram(event) {
92 | const program = this.getProgramFromEvent(event)
93 | const streamer = this.getStreamerFromEvent(event)
94 | const stream = this.getStreamFromEvent(event)
95 | const twitchIcon = require("../res/images/twitch_round.png")
96 | const srLogoUri =
97 | event.type === "repeat"
98 | ? "https://studiorenegade.fr/static/img/emission-replay-90.jpg"
99 | : program
100 | ? program.logo
101 | : stream
102 | ? stream.logo
103 | : streamer
104 | ? streamer.logo
105 | : "https://studiorenegade.fr/static/img/emission-90.jpg"
106 | return (
107 |
112 | this.props.navigation.navigate(HomeRoutes.homeDetails, {
113 | programDetail: program || stream,
114 | streamers: event.streamers ? this.getStreamers(event.streamers) : [],
115 | })
116 | }
117 | >
118 |
119 |
120 |
121 | {program ? program.name : event.type === "repeat" ? event.description : event.name}
122 |
123 | {remainingTime(event.time_start * 1000)}
124 |
125 | {(program !== undefined || stream !== undefined) && (
126 |
127 | )}
128 |
129 | )
130 | }
131 |
132 | render() {
133 | const liveEvent = this.state.currentLiveEvent
134 | const program = liveEvent ? this.getProgramFromEvent(liveEvent) : null
135 | const streamer = liveEvent ? this.getStreamerFromEvent(liveEvent) : null
136 | const logo =
137 | liveEvent && liveEvent.type === "repeat"
138 | ? "https://studiorenegade.fr/static/img/emission-replay-90.jpg"
139 | : program
140 | ? program.logo
141 | : streamer
142 | ? streamer.logo
143 | : "https://studiorenegade.fr/static/img/emission-90.jpg"
144 | const events = this.props.renegade.events
145 | .filter((event) => new Date().getTime() < event.time_start * 1000)
146 | .sort((e1, e2) => e1.time_start - e2.time_start)
147 | return (
148 |
149 | {liveEvent && (
150 |
151 |
152 |
153 |
154 | Actuellement en live !
155 |
156 | {program
157 | ? program.name
158 | : liveEvent.type === "repeat"
159 | ? liveEvent.description
160 | : liveEvent.name}
161 |
162 |
163 |
164 |
165 |
166 | )}
167 | Agenda
168 | this.renderProgram(item)}
171 | refreshing={this.props.renegade.isLoading}
172 | style={{ flex: 1 }}
173 | onRefresh={() => this.fetchData()}
174 | keyExtractor={(item) => item.id}
175 | />
176 |
177 | )
178 | }
179 | }
180 |
181 | const styles = StyleSheet.create({
182 | root: {
183 | backgroundColor: "#F2EDE9",
184 | flex: 1,
185 | },
186 | title: {
187 | fontFamily: "Montserrat-Medium",
188 | fontSize: 20,
189 | textAlign: "center",
190 | paddingVertical: 10,
191 | color: "#000",
192 | },
193 | touchLive: {
194 | height: 60,
195 | },
196 | containerLive: {
197 | height: 60,
198 | backgroundColor: "#000",
199 | position: "relative",
200 | flexDirection: "row",
201 | paddingHorizontal: 10,
202 | alignItems: "center",
203 | },
204 | live: {
205 | fontSize: 16,
206 | color: "#FFF",
207 | fontFamily: "Montserrat-Light",
208 | },
209 | emissionLive: {
210 | fontSize: 25,
211 | color: "#FFF",
212 | fontFamily: "Montserrat-Medium",
213 | },
214 | twitchLogo: {
215 | position: "absolute",
216 | left: "70%",
217 | top: "5%",
218 | },
219 | programRoot: {
220 | height: 80,
221 | alignItems: "center",
222 | justifyContent: "center",
223 | flexDirection: "row",
224 | },
225 | programLogo: {
226 | height: 50,
227 | width: 50,
228 | borderRadius: 25,
229 | marginHorizontal: 20,
230 | },
231 | liveLogo: {
232 | height: 50,
233 | width: 50,
234 | borderRadius: 25,
235 | marginRight: 10,
236 | },
237 | programInfo: {
238 | flex: 1,
239 | },
240 | programName: {
241 | fontFamily: "Montserrat-Medium",
242 | color: "#000",
243 | fontSize: 20,
244 | },
245 | programTime: {
246 | fontFamily: "Montserrat-Light",
247 | color: "#000",
248 | },
249 | })
250 |
251 | const mapStateToProps = ({ renegade }) => ({
252 | renegade,
253 | })
254 |
255 | export default connect(
256 | mapStateToProps,
257 | { storeRenegadeData, fetchRenegadeData }
258 | )(Agenda)
259 |
--------------------------------------------------------------------------------
/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: "../../node_modules/react-native/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. If none specified and
19 | * // "index.android.js" exists, it will be used. Otherwise "index.js" is
20 | * // default. Can be overridden with ENTRY_FILE environment variable.
21 | * entryFile: "index.android.js",
22 | *
23 | * // https://reactnative.dev/docs/performance#enable-the-ram-format
24 | * bundleCommand: "ram-bundle",
25 | *
26 | * // whether to bundle JS and assets in debug mode
27 | * bundleInDebug: false,
28 | *
29 | * // whether to bundle JS and assets in release mode
30 | * bundleInRelease: true,
31 | *
32 | * // whether to bundle JS and assets in another build variant (if configured).
33 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
34 | * // The configuration property can be in the following formats
35 | * // 'bundleIn${productFlavor}${buildType}'
36 | * // 'bundleIn${buildType}'
37 | * // bundleInFreeDebug: true,
38 | * // bundleInPaidRelease: true,
39 | * // bundleInBeta: true,
40 | *
41 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
42 | * // for example: to disable dev mode in the staging build type (if configured)
43 | * devDisabledInStaging: true,
44 | * // The configuration property can be in the following formats
45 | * // 'devDisabledIn${productFlavor}${buildType}'
46 | * // 'devDisabledIn${buildType}'
47 | *
48 | * // the root of your project, i.e. where "package.json" lives
49 | * root: "../../",
50 | *
51 | * // where to put the JS bundle asset in debug mode
52 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
53 | *
54 | * // where to put the JS bundle asset in release mode
55 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
56 | *
57 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
58 | * // require('./image.png')), in debug mode
59 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
60 | *
61 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
62 | * // require('./image.png')), in release mode
63 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
64 | *
65 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
66 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
67 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
68 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
69 | * // for example, you might want to remove it from here.
70 | * inputExcludes: ["android/**", "ios/**"],
71 | *
72 | * // override which node gets called and with what additional arguments
73 | * nodeExecutableAndArgs: ["node"],
74 | *
75 | * // supply additional arguments to the packager
76 | * extraPackagerArgs: []
77 | * ]
78 | */
79 |
80 | project.ext.react = [
81 | enableHermes: false, // clean and rebuild if changing
82 | ]
83 |
84 | apply from: "../../node_modules/react-native/react.gradle"
85 |
86 | /**
87 | * Set this to true to create two separate APKs instead of one:
88 | * - An APK that only works on ARM devices
89 | * - An APK that only works on x86 devices
90 | * The advantage is the size of the APK is reduced by about 4MB.
91 | * Upload all the APKs to the Play Store and people will download
92 | * the correct one based on the CPU architecture of their device.
93 | */
94 | def enableSeparateBuildPerCPUArchitecture = false
95 |
96 | /**
97 | * Run Proguard to shrink the Java bytecode in release builds.
98 | */
99 | def enableProguardInReleaseBuilds = false
100 |
101 | /**
102 | * The preferred build flavor of JavaScriptCore.
103 | *
104 | * For example, to use the international variant, you can use:
105 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
106 | *
107 | * The international variant includes ICU i18n library and necessary data
108 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
109 | * give correct results when using with locales other than en-US. Note that
110 | * this variant is about 6MiB larger per architecture than default.
111 | */
112 | def jscFlavor = 'org.webkit:android-jsc:+'
113 |
114 | /**
115 | * Whether to enable the Hermes VM.
116 | *
117 | * This should be set on project.ext.react and mirrored here. If it is not set
118 | * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
119 | * and the benefits of using Hermes will therefore be sharply reduced.
120 | */
121 | def enableHermes = project.ext.react.get("enableHermes", false);
122 |
123 | android {
124 | compileSdkVersion rootProject.ext.compileSdkVersion
125 |
126 | compileOptions {
127 | sourceCompatibility JavaVersion.VERSION_1_8
128 | targetCompatibility JavaVersion.VERSION_1_8
129 | }
130 |
131 | defaultConfig {
132 | applicationId "fr.studiorenegade"
133 | minSdkVersion rootProject.ext.minSdkVersion
134 | targetSdkVersion rootProject.ext.targetSdkVersion
135 | versionCode 7
136 | versionName "1.0"
137 | }
138 | signingConfigs {
139 | release {
140 | if (project.hasProperty('APP_RELEASE_STORE_FILE')) {
141 | storeFile file(APP_RELEASE_STORE_FILE)
142 | storePassword APP_RELEASE_STORE_PASSWORD
143 | keyAlias APP_RELEASE_KEY_ALIAS
144 | keyPassword APP_RELEASE_KEY_PASSWORD
145 | }
146 | }
147 | debug {
148 | storeFile file('debug.keystore')
149 | storePassword 'android'
150 | keyAlias 'androiddebugkey'
151 | keyPassword 'android'
152 | }
153 | }
154 | splits {
155 | abi {
156 | reset()
157 | enable enableSeparateBuildPerCPUArchitecture
158 | universalApk false // If true, also generate a universal APK
159 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
160 | }
161 | }
162 | buildTypes {
163 | debug {
164 | signingConfig signingConfigs.debug
165 | }
166 | release {
167 | signingConfig signingConfigs.release
168 | minifyEnabled enableProguardInReleaseBuilds
169 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
170 | }
171 | }
172 | // applicationVariants are e.g. debug, release
173 | applicationVariants.all { variant ->
174 | variant.outputs.each { output ->
175 | // For each separate APK per architecture, set a unique version code as described here:
176 | // https://developer.android.com/studio/build/configure-apk-splits.html
177 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
178 | def abi = output.getFilter(OutputFile.ABI)
179 | if (abi != null) { // null for the universal-debug, universal-release variants
180 | output.versionCodeOverride =
181 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
182 | }
183 |
184 | }
185 | }
186 | }
187 |
188 | dependencies {
189 | implementation fileTree(dir: "libs", include: ["*.jar"])
190 | //noinspection GradleDynamicVersion
191 | implementation "com.facebook.react:react-native:+" // From node_modules
192 |
193 | implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
194 | debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
195 | exclude group:'com.facebook.fbjni'
196 | }
197 | debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
198 | exclude group:'com.facebook.flipper'
199 | exclude group:'com.squareup.okhttp3', module:'okhttp'
200 | }
201 | debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
202 | exclude group:'com.facebook.flipper'
203 | }
204 |
205 | // Firebase dependencies
206 | implementation "com.google.android.gms:play-services-base:16.1.0"
207 | implementation "com.google.firebase:firebase-core:16.0.9"
208 | implementation "com.google.firebase:firebase-messaging:18.0.0"
209 |
210 | if (enableHermes) {
211 | def hermesPath = "../../node_modules/hermes-engine/android/";
212 | debugImplementation files(hermesPath + "hermes-debug.aar")
213 | releaseImplementation files(hermesPath + "hermes-release.aar")
214 | } else {
215 | implementation jscFlavor
216 | }
217 | }
218 |
219 | // Run this once to be able to run the application with BUCK
220 | // puts all compile dependencies into folder libs for BUCK to use
221 | task copyDownloadableDepsToLibs(type: Copy) {
222 | from configurations.compile
223 | into 'libs'
224 | }
225 |
226 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
227 |
228 | apply plugin: 'com.google.gms.google-services'
229 |
230 | project.ext.vectoricons = [
231 | iconFontNames: [ 'MaterialCommunityIcons.ttf', 'Ionicons.ttf', 'FontAwesome.ttf' ] // Name of the font files you want to copy
232 | ]
233 |
234 | apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
235 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - boost-for-react-native (1.63.0)
3 | - CocoaAsyncSocket (7.6.4)
4 | - CocoaLibEvent (1.0.0)
5 | - Crashlytics (3.14.0):
6 | - Fabric (~> 1.10.2)
7 | - DoubleConversion (1.1.6)
8 | - Fabric (1.10.2)
9 | - FBLazyVector (0.63.2)
10 | - FBReactNativeSpec (0.63.2):
11 | - Folly (= 2020.01.13.00)
12 | - RCTRequired (= 0.63.2)
13 | - RCTTypeSafety (= 0.63.2)
14 | - React-Core (= 0.63.2)
15 | - React-jsi (= 0.63.2)
16 | - ReactCommon/turbomodule/core (= 0.63.2)
17 | - Firebase/Core (6.3.0):
18 | - Firebase/CoreOnly
19 | - FirebaseAnalytics (= 6.0.2)
20 | - Firebase/CoreOnly (6.3.0):
21 | - FirebaseCore (= 6.0.3)
22 | - Firebase/Messaging (6.3.0):
23 | - Firebase/CoreOnly
24 | - FirebaseMessaging (~> 4.1.0)
25 | - FirebaseAnalytics (6.0.2):
26 | - FirebaseCore (~> 6.0)
27 | - FirebaseInstanceID (~> 4.2)
28 | - GoogleAppMeasurement (= 6.0.2)
29 | - GoogleUtilities/AppDelegateSwizzler (~> 6.0)
30 | - GoogleUtilities/MethodSwizzler (~> 6.0)
31 | - GoogleUtilities/Network (~> 6.0)
32 | - "GoogleUtilities/NSData+zlib (~> 6.0)"
33 | - nanopb (~> 0.3)
34 | - FirebaseAnalyticsInterop (1.5.0)
35 | - FirebaseCore (6.0.3):
36 | - GoogleUtilities/Environment (~> 6.0)
37 | - GoogleUtilities/Logger (~> 6.0)
38 | - FirebaseInstanceID (4.2.7):
39 | - FirebaseCore (~> 6.0)
40 | - GoogleUtilities/Environment (~> 6.0)
41 | - GoogleUtilities/UserDefaults (~> 6.0)
42 | - FirebaseMessaging (4.1.1):
43 | - FirebaseAnalyticsInterop (~> 1.1)
44 | - FirebaseCore (~> 6.0)
45 | - FirebaseInstanceID (~> 4.1)
46 | - GoogleUtilities/AppDelegateSwizzler (~> 6.2)
47 | - GoogleUtilities/Environment (~> 6.2)
48 | - GoogleUtilities/Reachability (~> 6.2)
49 | - GoogleUtilities/UserDefaults (~> 6.2)
50 | - Protobuf (~> 3.1)
51 | - Flipper (0.41.5):
52 | - Flipper-Folly (~> 2.2)
53 | - Flipper-RSocket (~> 1.1)
54 | - Flipper-DoubleConversion (1.1.7)
55 | - Flipper-Folly (2.2.0):
56 | - boost-for-react-native
57 | - CocoaLibEvent (~> 1.0)
58 | - Flipper-DoubleConversion
59 | - Flipper-Glog
60 | - OpenSSL-Universal (= 1.0.2.19)
61 | - Flipper-Glog (0.3.6)
62 | - Flipper-PeerTalk (0.0.4)
63 | - Flipper-RSocket (1.1.0):
64 | - Flipper-Folly (~> 2.2)
65 | - FlipperKit (0.41.5):
66 | - FlipperKit/Core (= 0.41.5)
67 | - FlipperKit/Core (0.41.5):
68 | - Flipper (~> 0.41.5)
69 | - FlipperKit/CppBridge
70 | - FlipperKit/FBCxxFollyDynamicConvert
71 | - FlipperKit/FBDefines
72 | - FlipperKit/FKPortForwarding
73 | - FlipperKit/CppBridge (0.41.5):
74 | - Flipper (~> 0.41.5)
75 | - FlipperKit/FBCxxFollyDynamicConvert (0.41.5):
76 | - Flipper-Folly (~> 2.2)
77 | - FlipperKit/FBDefines (0.41.5)
78 | - FlipperKit/FKPortForwarding (0.41.5):
79 | - CocoaAsyncSocket (~> 7.6)
80 | - Flipper-PeerTalk (~> 0.0.4)
81 | - FlipperKit/FlipperKitHighlightOverlay (0.41.5)
82 | - FlipperKit/FlipperKitLayoutPlugin (0.41.5):
83 | - FlipperKit/Core
84 | - FlipperKit/FlipperKitHighlightOverlay
85 | - FlipperKit/FlipperKitLayoutTextSearchable
86 | - YogaKit (~> 1.18)
87 | - FlipperKit/FlipperKitLayoutTextSearchable (0.41.5)
88 | - FlipperKit/FlipperKitNetworkPlugin (0.41.5):
89 | - FlipperKit/Core
90 | - FlipperKit/FlipperKitReactPlugin (0.41.5):
91 | - FlipperKit/Core
92 | - FlipperKit/FlipperKitUserDefaultsPlugin (0.41.5):
93 | - FlipperKit/Core
94 | - FlipperKit/SKIOSNetworkPlugin (0.41.5):
95 | - FlipperKit/Core
96 | - FlipperKit/FlipperKitNetworkPlugin
97 | - Folly (2020.01.13.00):
98 | - boost-for-react-native
99 | - DoubleConversion
100 | - Folly/Default (= 2020.01.13.00)
101 | - glog
102 | - Folly/Default (2020.01.13.00):
103 | - boost-for-react-native
104 | - DoubleConversion
105 | - glog
106 | - glog (0.3.5)
107 | - GoogleAppMeasurement (6.0.2):
108 | - GoogleUtilities/AppDelegateSwizzler (~> 6.0)
109 | - GoogleUtilities/MethodSwizzler (~> 6.0)
110 | - GoogleUtilities/Network (~> 6.0)
111 | - "GoogleUtilities/NSData+zlib (~> 6.0)"
112 | - nanopb (~> 0.3)
113 | - GoogleUtilities/AppDelegateSwizzler (6.7.2):
114 | - GoogleUtilities/Environment
115 | - GoogleUtilities/Logger
116 | - GoogleUtilities/Network
117 | - GoogleUtilities/Environment (6.7.2):
118 | - PromisesObjC (~> 1.2)
119 | - GoogleUtilities/Logger (6.7.2):
120 | - GoogleUtilities/Environment
121 | - GoogleUtilities/MethodSwizzler (6.7.2):
122 | - GoogleUtilities/Logger
123 | - GoogleUtilities/Network (6.7.2):
124 | - GoogleUtilities/Logger
125 | - "GoogleUtilities/NSData+zlib"
126 | - GoogleUtilities/Reachability
127 | - "GoogleUtilities/NSData+zlib (6.7.2)"
128 | - GoogleUtilities/Reachability (6.7.2):
129 | - GoogleUtilities/Logger
130 | - GoogleUtilities/UserDefaults (6.7.2):
131 | - GoogleUtilities/Logger
132 | - nanopb (0.3.9011):
133 | - nanopb/decode (= 0.3.9011)
134 | - nanopb/encode (= 0.3.9011)
135 | - nanopb/decode (0.3.9011)
136 | - nanopb/encode (0.3.9011)
137 | - OpenSSL-Universal (1.0.2.19):
138 | - OpenSSL-Universal/Static (= 1.0.2.19)
139 | - OpenSSL-Universal/Static (1.0.2.19)
140 | - PromisesObjC (1.2.10)
141 | - Protobuf (3.13.0)
142 | - RCTRequired (0.63.2)
143 | - RCTTypeSafety (0.63.2):
144 | - FBLazyVector (= 0.63.2)
145 | - Folly (= 2020.01.13.00)
146 | - RCTRequired (= 0.63.2)
147 | - React-Core (= 0.63.2)
148 | - React (0.63.2):
149 | - React-Core (= 0.63.2)
150 | - React-Core/DevSupport (= 0.63.2)
151 | - React-Core/RCTWebSocket (= 0.63.2)
152 | - React-RCTActionSheet (= 0.63.2)
153 | - React-RCTAnimation (= 0.63.2)
154 | - React-RCTBlob (= 0.63.2)
155 | - React-RCTImage (= 0.63.2)
156 | - React-RCTLinking (= 0.63.2)
157 | - React-RCTNetwork (= 0.63.2)
158 | - React-RCTSettings (= 0.63.2)
159 | - React-RCTText (= 0.63.2)
160 | - React-RCTVibration (= 0.63.2)
161 | - React-callinvoker (0.63.2)
162 | - React-Core (0.63.2):
163 | - Folly (= 2020.01.13.00)
164 | - glog
165 | - React-Core/Default (= 0.63.2)
166 | - React-cxxreact (= 0.63.2)
167 | - React-jsi (= 0.63.2)
168 | - React-jsiexecutor (= 0.63.2)
169 | - Yoga
170 | - React-Core/CoreModulesHeaders (0.63.2):
171 | - Folly (= 2020.01.13.00)
172 | - glog
173 | - React-Core/Default
174 | - React-cxxreact (= 0.63.2)
175 | - React-jsi (= 0.63.2)
176 | - React-jsiexecutor (= 0.63.2)
177 | - Yoga
178 | - React-Core/Default (0.63.2):
179 | - Folly (= 2020.01.13.00)
180 | - glog
181 | - React-cxxreact (= 0.63.2)
182 | - React-jsi (= 0.63.2)
183 | - React-jsiexecutor (= 0.63.2)
184 | - Yoga
185 | - React-Core/DevSupport (0.63.2):
186 | - Folly (= 2020.01.13.00)
187 | - glog
188 | - React-Core/Default (= 0.63.2)
189 | - React-Core/RCTWebSocket (= 0.63.2)
190 | - React-cxxreact (= 0.63.2)
191 | - React-jsi (= 0.63.2)
192 | - React-jsiexecutor (= 0.63.2)
193 | - React-jsinspector (= 0.63.2)
194 | - Yoga
195 | - React-Core/RCTActionSheetHeaders (0.63.2):
196 | - Folly (= 2020.01.13.00)
197 | - glog
198 | - React-Core/Default
199 | - React-cxxreact (= 0.63.2)
200 | - React-jsi (= 0.63.2)
201 | - React-jsiexecutor (= 0.63.2)
202 | - Yoga
203 | - React-Core/RCTAnimationHeaders (0.63.2):
204 | - Folly (= 2020.01.13.00)
205 | - glog
206 | - React-Core/Default
207 | - React-cxxreact (= 0.63.2)
208 | - React-jsi (= 0.63.2)
209 | - React-jsiexecutor (= 0.63.2)
210 | - Yoga
211 | - React-Core/RCTBlobHeaders (0.63.2):
212 | - Folly (= 2020.01.13.00)
213 | - glog
214 | - React-Core/Default
215 | - React-cxxreact (= 0.63.2)
216 | - React-jsi (= 0.63.2)
217 | - React-jsiexecutor (= 0.63.2)
218 | - Yoga
219 | - React-Core/RCTImageHeaders (0.63.2):
220 | - Folly (= 2020.01.13.00)
221 | - glog
222 | - React-Core/Default
223 | - React-cxxreact (= 0.63.2)
224 | - React-jsi (= 0.63.2)
225 | - React-jsiexecutor (= 0.63.2)
226 | - Yoga
227 | - React-Core/RCTLinkingHeaders (0.63.2):
228 | - Folly (= 2020.01.13.00)
229 | - glog
230 | - React-Core/Default
231 | - React-cxxreact (= 0.63.2)
232 | - React-jsi (= 0.63.2)
233 | - React-jsiexecutor (= 0.63.2)
234 | - Yoga
235 | - React-Core/RCTNetworkHeaders (0.63.2):
236 | - Folly (= 2020.01.13.00)
237 | - glog
238 | - React-Core/Default
239 | - React-cxxreact (= 0.63.2)
240 | - React-jsi (= 0.63.2)
241 | - React-jsiexecutor (= 0.63.2)
242 | - Yoga
243 | - React-Core/RCTSettingsHeaders (0.63.2):
244 | - Folly (= 2020.01.13.00)
245 | - glog
246 | - React-Core/Default
247 | - React-cxxreact (= 0.63.2)
248 | - React-jsi (= 0.63.2)
249 | - React-jsiexecutor (= 0.63.2)
250 | - Yoga
251 | - React-Core/RCTTextHeaders (0.63.2):
252 | - Folly (= 2020.01.13.00)
253 | - glog
254 | - React-Core/Default
255 | - React-cxxreact (= 0.63.2)
256 | - React-jsi (= 0.63.2)
257 | - React-jsiexecutor (= 0.63.2)
258 | - Yoga
259 | - React-Core/RCTVibrationHeaders (0.63.2):
260 | - Folly (= 2020.01.13.00)
261 | - glog
262 | - React-Core/Default
263 | - React-cxxreact (= 0.63.2)
264 | - React-jsi (= 0.63.2)
265 | - React-jsiexecutor (= 0.63.2)
266 | - Yoga
267 | - React-Core/RCTWebSocket (0.63.2):
268 | - Folly (= 2020.01.13.00)
269 | - glog
270 | - React-Core/Default (= 0.63.2)
271 | - React-cxxreact (= 0.63.2)
272 | - React-jsi (= 0.63.2)
273 | - React-jsiexecutor (= 0.63.2)
274 | - Yoga
275 | - React-CoreModules (0.63.2):
276 | - FBReactNativeSpec (= 0.63.2)
277 | - Folly (= 2020.01.13.00)
278 | - RCTTypeSafety (= 0.63.2)
279 | - React-Core/CoreModulesHeaders (= 0.63.2)
280 | - React-jsi (= 0.63.2)
281 | - React-RCTImage (= 0.63.2)
282 | - ReactCommon/turbomodule/core (= 0.63.2)
283 | - React-cxxreact (0.63.2):
284 | - boost-for-react-native (= 1.63.0)
285 | - DoubleConversion
286 | - Folly (= 2020.01.13.00)
287 | - glog
288 | - React-callinvoker (= 0.63.2)
289 | - React-jsinspector (= 0.63.2)
290 | - React-jsi (0.63.2):
291 | - boost-for-react-native (= 1.63.0)
292 | - DoubleConversion
293 | - Folly (= 2020.01.13.00)
294 | - glog
295 | - React-jsi/Default (= 0.63.2)
296 | - React-jsi/Default (0.63.2):
297 | - boost-for-react-native (= 1.63.0)
298 | - DoubleConversion
299 | - Folly (= 2020.01.13.00)
300 | - glog
301 | - React-jsiexecutor (0.63.2):
302 | - DoubleConversion
303 | - Folly (= 2020.01.13.00)
304 | - glog
305 | - React-cxxreact (= 0.63.2)
306 | - React-jsi (= 0.63.2)
307 | - React-jsinspector (0.63.2)
308 | - react-native-date-picker (3.2.3):
309 | - React
310 | - react-native-safe-area-context (3.1.7):
311 | - React
312 | - React-RCTActionSheet (0.63.2):
313 | - React-Core/RCTActionSheetHeaders (= 0.63.2)
314 | - React-RCTAnimation (0.63.2):
315 | - FBReactNativeSpec (= 0.63.2)
316 | - Folly (= 2020.01.13.00)
317 | - RCTTypeSafety (= 0.63.2)
318 | - React-Core/RCTAnimationHeaders (= 0.63.2)
319 | - React-jsi (= 0.63.2)
320 | - ReactCommon/turbomodule/core (= 0.63.2)
321 | - React-RCTBlob (0.63.2):
322 | - FBReactNativeSpec (= 0.63.2)
323 | - Folly (= 2020.01.13.00)
324 | - React-Core/RCTBlobHeaders (= 0.63.2)
325 | - React-Core/RCTWebSocket (= 0.63.2)
326 | - React-jsi (= 0.63.2)
327 | - React-RCTNetwork (= 0.63.2)
328 | - ReactCommon/turbomodule/core (= 0.63.2)
329 | - React-RCTImage (0.63.2):
330 | - FBReactNativeSpec (= 0.63.2)
331 | - Folly (= 2020.01.13.00)
332 | - RCTTypeSafety (= 0.63.2)
333 | - React-Core/RCTImageHeaders (= 0.63.2)
334 | - React-jsi (= 0.63.2)
335 | - React-RCTNetwork (= 0.63.2)
336 | - ReactCommon/turbomodule/core (= 0.63.2)
337 | - React-RCTLinking (0.63.2):
338 | - FBReactNativeSpec (= 0.63.2)
339 | - React-Core/RCTLinkingHeaders (= 0.63.2)
340 | - React-jsi (= 0.63.2)
341 | - ReactCommon/turbomodule/core (= 0.63.2)
342 | - React-RCTNetwork (0.63.2):
343 | - FBReactNativeSpec (= 0.63.2)
344 | - Folly (= 2020.01.13.00)
345 | - RCTTypeSafety (= 0.63.2)
346 | - React-Core/RCTNetworkHeaders (= 0.63.2)
347 | - React-jsi (= 0.63.2)
348 | - ReactCommon/turbomodule/core (= 0.63.2)
349 | - React-RCTSettings (0.63.2):
350 | - FBReactNativeSpec (= 0.63.2)
351 | - Folly (= 2020.01.13.00)
352 | - RCTTypeSafety (= 0.63.2)
353 | - React-Core/RCTSettingsHeaders (= 0.63.2)
354 | - React-jsi (= 0.63.2)
355 | - ReactCommon/turbomodule/core (= 0.63.2)
356 | - React-RCTText (0.63.2):
357 | - React-Core/RCTTextHeaders (= 0.63.2)
358 | - React-RCTVibration (0.63.2):
359 | - FBReactNativeSpec (= 0.63.2)
360 | - Folly (= 2020.01.13.00)
361 | - React-Core/RCTVibrationHeaders (= 0.63.2)
362 | - React-jsi (= 0.63.2)
363 | - ReactCommon/turbomodule/core (= 0.63.2)
364 | - ReactCommon/turbomodule/core (0.63.2):
365 | - DoubleConversion
366 | - Folly (= 2020.01.13.00)
367 | - glog
368 | - React-callinvoker (= 0.63.2)
369 | - React-Core (= 0.63.2)
370 | - React-cxxreact (= 0.63.2)
371 | - React-jsi (= 0.63.2)
372 | - RNCAsyncStorage (1.12.0):
373 | - React
374 | - RNCMaskedView (0.1.10):
375 | - React
376 | - RNDeviceInfo (6.0.2):
377 | - React
378 | - RNFirebase (5.5.6):
379 | - Firebase/Core
380 | - React
381 | - RNFirebase/Crashlytics (= 5.5.6)
382 | - RNFirebase/Crashlytics (5.5.6):
383 | - Crashlytics
384 | - Fabric
385 | - Firebase/Core
386 | - React
387 | - RNGestureHandler (1.8.0):
388 | - React
389 | - RNReanimated (1.13.0):
390 | - React
391 | - RNScreens (2.10.1):
392 | - React
393 | - RNVectorIcons (7.1.0):
394 | - React
395 | - Yoga (1.14.0)
396 | - YogaKit (1.18.1):
397 | - Yoga (~> 1.14)
398 |
399 | DEPENDENCIES:
400 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
401 | - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
402 | - FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
403 | - Firebase/Core (~> 6.3.0)
404 | - Firebase/Messaging (~> 6.3.0)
405 | - Flipper (~> 0.41.1)
406 | - Flipper-DoubleConversion (= 1.1.7)
407 | - Flipper-Folly (~> 2.2)
408 | - Flipper-Glog (= 0.3.6)
409 | - Flipper-PeerTalk (~> 0.0.4)
410 | - Flipper-RSocket (~> 1.1)
411 | - FlipperKit (~> 0.41.1)
412 | - FlipperKit/Core (~> 0.41.1)
413 | - FlipperKit/CppBridge (~> 0.41.1)
414 | - FlipperKit/FBCxxFollyDynamicConvert (~> 0.41.1)
415 | - FlipperKit/FBDefines (~> 0.41.1)
416 | - FlipperKit/FKPortForwarding (~> 0.41.1)
417 | - FlipperKit/FlipperKitHighlightOverlay (~> 0.41.1)
418 | - FlipperKit/FlipperKitLayoutPlugin (~> 0.41.1)
419 | - FlipperKit/FlipperKitLayoutTextSearchable (~> 0.41.1)
420 | - FlipperKit/FlipperKitNetworkPlugin (~> 0.41.1)
421 | - FlipperKit/FlipperKitReactPlugin (~> 0.41.1)
422 | - FlipperKit/FlipperKitUserDefaultsPlugin (~> 0.41.1)
423 | - FlipperKit/SKIOSNetworkPlugin (~> 0.41.1)
424 | - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
425 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
426 | - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
427 | - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
428 | - React (from `../node_modules/react-native/`)
429 | - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
430 | - React-Core (from `../node_modules/react-native/`)
431 | - React-Core/DevSupport (from `../node_modules/react-native/`)
432 | - React-Core/RCTWebSocket (from `../node_modules/react-native/`)
433 | - React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
434 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
435 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
436 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
437 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
438 | - react-native-date-picker (from `../node_modules/react-native-date-picker`)
439 | - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
440 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
441 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
442 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
443 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
444 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
445 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
446 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
447 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`)
448 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
449 | - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
450 | - "RNCAsyncStorage (from `../node_modules/@react-native-community/async-storage`)"
451 | - "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
452 | - RNDeviceInfo (from `../node_modules/react-native-device-info`)
453 | - RNFirebase (from `../node_modules/react-native-firebase/ios`)
454 | - RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
455 | - RNReanimated (from `../node_modules/react-native-reanimated`)
456 | - RNScreens (from `../node_modules/react-native-screens`)
457 | - RNVectorIcons (from `../node_modules/react-native-vector-icons`)
458 | - Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
459 |
460 | SPEC REPOS:
461 | trunk:
462 | - boost-for-react-native
463 | - CocoaAsyncSocket
464 | - CocoaLibEvent
465 | - Crashlytics
466 | - Fabric
467 | - Firebase
468 | - FirebaseAnalytics
469 | - FirebaseAnalyticsInterop
470 | - FirebaseCore
471 | - FirebaseInstanceID
472 | - FirebaseMessaging
473 | - Flipper
474 | - Flipper-DoubleConversion
475 | - Flipper-Folly
476 | - Flipper-Glog
477 | - Flipper-PeerTalk
478 | - Flipper-RSocket
479 | - FlipperKit
480 | - GoogleAppMeasurement
481 | - GoogleUtilities
482 | - nanopb
483 | - OpenSSL-Universal
484 | - PromisesObjC
485 | - Protobuf
486 | - YogaKit
487 |
488 | EXTERNAL SOURCES:
489 | DoubleConversion:
490 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
491 | FBLazyVector:
492 | :path: "../node_modules/react-native/Libraries/FBLazyVector"
493 | FBReactNativeSpec:
494 | :path: "../node_modules/react-native/Libraries/FBReactNativeSpec"
495 | Folly:
496 | :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
497 | glog:
498 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
499 | RCTRequired:
500 | :path: "../node_modules/react-native/Libraries/RCTRequired"
501 | RCTTypeSafety:
502 | :path: "../node_modules/react-native/Libraries/TypeSafety"
503 | React:
504 | :path: "../node_modules/react-native/"
505 | React-callinvoker:
506 | :path: "../node_modules/react-native/ReactCommon/callinvoker"
507 | React-Core:
508 | :path: "../node_modules/react-native/"
509 | React-CoreModules:
510 | :path: "../node_modules/react-native/React/CoreModules"
511 | React-cxxreact:
512 | :path: "../node_modules/react-native/ReactCommon/cxxreact"
513 | React-jsi:
514 | :path: "../node_modules/react-native/ReactCommon/jsi"
515 | React-jsiexecutor:
516 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor"
517 | React-jsinspector:
518 | :path: "../node_modules/react-native/ReactCommon/jsinspector"
519 | react-native-date-picker:
520 | :path: "../node_modules/react-native-date-picker"
521 | react-native-safe-area-context:
522 | :path: "../node_modules/react-native-safe-area-context"
523 | React-RCTActionSheet:
524 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS"
525 | React-RCTAnimation:
526 | :path: "../node_modules/react-native/Libraries/NativeAnimation"
527 | React-RCTBlob:
528 | :path: "../node_modules/react-native/Libraries/Blob"
529 | React-RCTImage:
530 | :path: "../node_modules/react-native/Libraries/Image"
531 | React-RCTLinking:
532 | :path: "../node_modules/react-native/Libraries/LinkingIOS"
533 | React-RCTNetwork:
534 | :path: "../node_modules/react-native/Libraries/Network"
535 | React-RCTSettings:
536 | :path: "../node_modules/react-native/Libraries/Settings"
537 | React-RCTText:
538 | :path: "../node_modules/react-native/Libraries/Text"
539 | React-RCTVibration:
540 | :path: "../node_modules/react-native/Libraries/Vibration"
541 | ReactCommon:
542 | :path: "../node_modules/react-native/ReactCommon"
543 | RNCAsyncStorage:
544 | :path: "../node_modules/@react-native-community/async-storage"
545 | RNCMaskedView:
546 | :path: "../node_modules/@react-native-community/masked-view"
547 | RNDeviceInfo:
548 | :path: "../node_modules/react-native-device-info"
549 | RNFirebase:
550 | :path: "../node_modules/react-native-firebase/ios"
551 | RNGestureHandler:
552 | :path: "../node_modules/react-native-gesture-handler"
553 | RNReanimated:
554 | :path: "../node_modules/react-native-reanimated"
555 | RNScreens:
556 | :path: "../node_modules/react-native-screens"
557 | RNVectorIcons:
558 | :path: "../node_modules/react-native-vector-icons"
559 | Yoga:
560 | :path: "../node_modules/react-native/ReactCommon/yoga"
561 |
562 | SPEC CHECKSUMS:
563 | boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
564 | CocoaAsyncSocket: 694058e7c0ed05a9e217d1b3c7ded962f4180845
565 | CocoaLibEvent: 2fab71b8bd46dd33ddb959f7928ec5909f838e3f
566 | Crashlytics: 540b7e5f5da5a042647227a5e3ac51d85eed06df
567 | DoubleConversion: cde416483dac037923206447da6e1454df403714
568 | Fabric: 706c8b8098fff96c33c0db69cbf81f9c551d0d74
569 | FBLazyVector: 3ef4a7f62e7db01092f9d517d2ebc0d0677c4a37
570 | FBReactNativeSpec: dc7fa9088f0f2a998503a352b0554d69a4391c5a
571 | Firebase: 8432d732974498afd5987e9001a05f90f1a3d625
572 | FirebaseAnalytics: 470ddab7253b21ad5a40bebd4a9903d7ae19386a
573 | FirebaseAnalyticsInterop: 3f86269c38ae41f47afeb43ebf32a001f58fcdae
574 | FirebaseCore: 68f8a7f50cdae542715d4e86afa37c4067217dcb
575 | FirebaseInstanceID: ebd2ea79ee38db0cb5f5167b17a0d387e1cc7b6e
576 | FirebaseMessaging: 6bb0bdaf64c55fef7a219b7bb1e94e94a0855ced
577 | Flipper: 33585e2d9810fe5528346be33bcf71b37bb7ae13
578 | Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
579 | Flipper-Folly: c12092ea368353b58e992843a990a3225d4533c3
580 | Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6
581 | Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
582 | Flipper-RSocket: 64e7431a55835eb953b0bf984ef3b90ae9fdddd7
583 | FlipperKit: bc68102cd4952a258a23c9c1b316c7bec1fecf83
584 | Folly: b73c3869541e86821df3c387eb0af5f65addfab4
585 | glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
586 | GoogleAppMeasurement: a35a645835bae31b6bdc0576396bc23908f12a22
587 | GoogleUtilities: 7f2f5a07f888cdb145101d6042bc4422f57e70b3
588 | nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
589 | OpenSSL-Universal: 8b48cc0d10c1b2923617dfe5c178aa9ed2689355
590 | PromisesObjC: b14b1c6b68e306650688599de8a45e49fae81151
591 | Protobuf: 3dac39b34a08151c6d949560efe3f86134a3f748
592 | RCTRequired: f13f25e7b12f925f1f6a6a8c69d929a03c0129fe
593 | RCTTypeSafety: 44982c5c8e43ff4141eb519a8ddc88059acd1f3a
594 | React: e1c65dd41cb9db13b99f24608e47dd595f28ca9a
595 | React-callinvoker: 552a6a6bc8b3bb794cf108ad59e5a9e2e3b4fc98
596 | React-Core: 9d341e725dc9cd2f49e4c49ad1fc4e8776aa2639
597 | React-CoreModules: 5335e168165da7f7083ce7147768d36d3e292318
598 | React-cxxreact: d3261ec5f7d11743fbf21e263a34ea51d1f13ebc
599 | React-jsi: 54245e1d5f4b690dec614a73a3795964eeef13a8
600 | React-jsiexecutor: 8ca588cc921e70590820ce72b8789b02c67cce38
601 | React-jsinspector: b14e62ebe7a66e9231e9581279909f2fc3db6606
602 | react-native-date-picker: b397b8ae18c880afb543f52741625ff5353341a4
603 | react-native-safe-area-context: 955ecfce672683b495d9294d2f154a9ad1d9796b
604 | React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
605 | React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
606 | React-RCTBlob: 39cf0ece1927996c4466510e25d2105f67010e13
607 | React-RCTImage: de355d738727b09ad3692f2a979affbd54b5f378
608 | React-RCTLinking: 8122f221d395a63364b2c0078ce284214bd04575
609 | React-RCTNetwork: 8f96c7b49ea6a0f28f98258f347b6ad218bc0830
610 | React-RCTSettings: 8a49622aff9c1925f5455fa340b6fe4853d64ab6
611 | React-RCTText: 1b6773e776e4b33f90468c20fe3b16ca3e224bb8
612 | React-RCTVibration: 4d2e726957f4087449739b595f107c0d4b6c2d2d
613 | ReactCommon: a0a1edbebcac5e91338371b72ffc66aa822792ce
614 | RNCAsyncStorage: 2a692bcb9b69b76a2f1a95f33db057129700af64
615 | RNCMaskedView: 5a8ec07677aa885546a0d98da336457e2bea557f
616 | RNDeviceInfo: bdd61e8b070d13a1dd9d022091981075ed4cde16
617 | RNFirebase: ac0de8b24c6f91ae9459575491ed6a77327619c6
618 | RNGestureHandler: 7a5833d0f788dbd107fbb913e09aa0c1ff333c39
619 | RNReanimated: 89f5e0a04d1dd52fbf27e7e7030d8f80a646a3fc
620 | RNScreens: b748efec66e095134c7166ca333b628cd7e6f3e2
621 | RNVectorIcons: bc69e6a278b14842063605de32bec61f0b251a59
622 | Yoga: 7740b94929bbacbddda59bf115b5317e9a161598
623 | YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
624 |
625 | PODFILE CHECKSUM: 387e6db17ea059f4f63ad32d7086be4eefd136bb
626 |
627 | COCOAPODS: 1.9.3
628 |
--------------------------------------------------------------------------------