getTurboModule(
27 | const std::string &name,
28 | const JavaTurboModule::InitParams ¶ms) override;
29 |
30 | /**
31 | * Test-only method. Allows user to verify whether a TurboModule can be
32 | * created by instances of this class.
33 | */
34 | bool canCreateTurboModule(const std::string &name);
35 | };
36 |
37 | } // namespace react
38 | } // namespace facebook
39 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/kindesdkrn/newarchitecture/components/MainComponentsRegistry.java:
--------------------------------------------------------------------------------
1 | package com.kindesdkrn.newarchitecture.components;
2 |
3 | import com.facebook.jni.HybridData;
4 | import com.facebook.proguard.annotations.DoNotStrip;
5 | import com.facebook.react.fabric.ComponentFactory;
6 | import com.facebook.soloader.SoLoader;
7 |
8 | /**
9 | * Class responsible to load the custom Fabric Components. This class has native methods and needs a
10 | * corresponding C++ implementation/header file to work correctly (already placed inside the jni/
11 | * folder for you).
12 | *
13 | * Please note that this class is used ONLY if you opt-in for the New Architecture (see the
14 | * `newArchEnabled` property). Is ignored otherwise.
15 | */
16 | @DoNotStrip
17 | public class MainComponentsRegistry {
18 | static {
19 | SoLoader.loadLibrary("fabricjni");
20 | }
21 |
22 | @DoNotStrip private final HybridData mHybridData;
23 |
24 | @DoNotStrip
25 | private native HybridData initHybrid(ComponentFactory componentFactory);
26 |
27 | @DoNotStrip
28 | private MainComponentsRegistry(ComponentFactory componentFactory) {
29 | mHybridData = initHybrid(componentFactory);
30 | }
31 |
32 | @DoNotStrip
33 | public static MainComponentsRegistry register(ComponentFactory componentFactory) {
34 | return new MainComponentsRegistry(componentFactory);
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "KindeSDKRN",
3 | "version": "0.0.1",
4 | "private": true,
5 | "license": "MIT",
6 | "scripts": {
7 | "android": "react-native run-android",
8 | "ios": "react-native run-ios",
9 | "start": "react-native start",
10 | "test": "jest",
11 | "lint": "eslint . --ext .js,.jsx,.ts,.tsx"
12 | },
13 | "dependencies": {
14 | "@kinde-oss/react-native-sdk-0-7x": "^1.2.1",
15 | "react": "18.1.0",
16 | "react-native": "0.70.6"
17 | },
18 | "devDependencies": {
19 | "@babel/core": "^7.12.9",
20 | "@babel/runtime": "^7.12.5",
21 | "@react-native-community/eslint-config": "^2.0.0",
22 | "@tsconfig/react-native": "^2.0.2",
23 | "@types/jest": "^26.0.23",
24 | "@types/node": "^20.3.1",
25 | "@types/react": "^18.0.21",
26 | "@types/react-native": "^0.70.6",
27 | "@types/react-test-renderer": "^18.0.0",
28 | "@typescript-eslint/eslint-plugin": "^5.37.0",
29 | "@typescript-eslint/parser": "^5.37.0",
30 | "babel-jest": "^26.6.3",
31 | "eslint": "^7.32.0",
32 | "jest": "^26.6.3",
33 | "metro-react-native-babel-preset": "0.72.3",
34 | "react-test-renderer": "18.1.0",
35 | "typescript": "^4.8.3"
36 | },
37 | "jest": {
38 | "preset": "react-native",
39 | "moduleFileExtensions": [
40 | "ts",
41 | "tsx",
42 | "js",
43 | "jsx",
44 | "json",
45 | "node"
46 | ]
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
13 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/android/app/_BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")
12 |
13 | lib_deps = []
14 |
15 | create_aar_targets(glob(["libs/*.aar"]))
16 |
17 | create_jar_targets(glob(["libs/*.jar"]))
18 |
19 | android_library(
20 | name = "all-libs",
21 | exported_deps = lib_deps,
22 | )
23 |
24 | android_library(
25 | name = "app-code",
26 | srcs = glob([
27 | "src/main/java/**/*.java",
28 | ]),
29 | deps = [
30 | ":all-libs",
31 | ":build_config",
32 | ":res",
33 | ],
34 | )
35 |
36 | android_build_config(
37 | name = "build_config",
38 | package = "com.kindesdkrn",
39 | )
40 |
41 | android_resource(
42 | name = "res",
43 | package = "com.kindesdkrn",
44 | res = "src/main/res",
45 | )
46 |
47 | android_binary(
48 | name = "app",
49 | keystore = "//android/keystores:debug",
50 | manifest = "src/main/AndroidManifest.xml",
51 | package_type = "debug",
52 | deps = [
53 | ":app-code",
54 | ],
55 | )
56 |
--------------------------------------------------------------------------------
/src/components/Welcome.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {Linking, StyleSheet, Text, TouchableOpacity, View} from 'react-native';
3 |
4 | const Welcome = () => {
5 | return (
6 |
7 |
8 | Let's start authenticating with KindeAuth
9 |
10 | Configure your app
11 |
13 | Linking.openURL('https://kinde.com/docs/developer-tools')
14 | }
15 | style={{
16 | ...styles.btn,
17 | alignItems: 'center',
18 | backgroundColor: '#FFF',
19 | marginTop: 5,
20 | }}>
21 |
22 | Go to docs
23 |
24 |
25 |
26 | );
27 | };
28 |
29 | export default Welcome;
30 |
31 | const styles = StyleSheet.create({
32 | container: {
33 | flex: 1,
34 | justifyContent: 'center',
35 | alignItems: 'center',
36 | paddingHorizontal: 50,
37 | backgroundColor: '#000',
38 | borderRadius: 15,
39 | marginBottom: 10,
40 | },
41 | welcome: {
42 | fontSize: 20,
43 | textAlign: 'center',
44 | color: '#FFF',
45 | fontWeight: '600',
46 | marginBottom: 5,
47 | },
48 | text: {
49 | fontWeight: '600',
50 | color: '#000',
51 | },
52 | btn: {
53 | alignItems: 'center',
54 | backgroundColor: '#000',
55 | paddingHorizontal: 15,
56 | paddingVertical: 10,
57 | borderRadius: 5,
58 | },
59 | });
60 |
--------------------------------------------------------------------------------
/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp:
--------------------------------------------------------------------------------
1 | #include "MainApplicationTurboModuleManagerDelegate.h"
2 | #include "MainApplicationModuleProvider.h"
3 |
4 | namespace facebook {
5 | namespace react {
6 |
7 | jni::local_ref
8 | MainApplicationTurboModuleManagerDelegate::initHybrid(
9 | jni::alias_ref) {
10 | return makeCxxInstance();
11 | }
12 |
13 | void MainApplicationTurboModuleManagerDelegate::registerNatives() {
14 | registerHybrid({
15 | makeNativeMethod(
16 | "initHybrid", MainApplicationTurboModuleManagerDelegate::initHybrid),
17 | makeNativeMethod(
18 | "canCreateTurboModule",
19 | MainApplicationTurboModuleManagerDelegate::canCreateTurboModule),
20 | });
21 | }
22 |
23 | std::shared_ptr
24 | MainApplicationTurboModuleManagerDelegate::getTurboModule(
25 | const std::string &name,
26 | const std::shared_ptr &jsInvoker) {
27 | // Not implemented yet: provide pure-C++ NativeModules here.
28 | return nullptr;
29 | }
30 |
31 | std::shared_ptr
32 | MainApplicationTurboModuleManagerDelegate::getTurboModule(
33 | const std::string &name,
34 | const JavaTurboModule::InitParams ¶ms) {
35 | return MainApplicationModuleProvider(name, params);
36 | }
37 |
38 | bool MainApplicationTurboModuleManagerDelegate::canCreateTurboModule(
39 | const std::string &name) {
40 | return getTurboModule(name, nullptr) != nullptr ||
41 | getTurboModule(name, {.moduleName = name}) != nullptr;
42 | }
43 |
44 | } // namespace react
45 | } // namespace facebook
46 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | require_relative '../node_modules/react-native/scripts/react_native_pods'
2 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
3 |
4 | platform :ios, '12.4'
5 | install! 'cocoapods', :deterministic_uuids => false
6 |
7 | target 'KindeSDKRN' do
8 | config = use_native_modules!
9 |
10 | # Flags change depending on the env values.
11 | flags = get_default_flags()
12 |
13 | use_react_native!(
14 | :path => config[:reactNativePath],
15 | # Hermes is now enabled by default. Disable by setting this flag to false.
16 | # Upcoming versions of React Native may rely on get_default_flags(), but
17 | # we make it explicit here to aid in the React Native upgrade process.
18 | :hermes_enabled => true,
19 | :fabric_enabled => flags[:fabric_enabled],
20 | # Enables Flipper.
21 | #
22 | # Note that if you have use_frameworks! enabled, Flipper will not work and
23 | # you should disable the next line.
24 | :flipper_configuration => FlipperConfiguration.enabled,
25 | # An absolute path to your application root.
26 | :app_path => "#{Pod::Config.instance.installation_root}/.."
27 | )
28 |
29 | target 'KindeSDKRNTests' do
30 | inherit! :complete
31 | # Pods for testing
32 | end
33 |
34 | pod 'RNKeychain', :path => '../node_modules/react-native-keychain'
35 | pod 'RNInAppBrowser', :path => '../node_modules/react-native-inappbrowser-reborn'
36 |
37 | post_install do |installer|
38 | react_native_post_install(
39 | installer,
40 | # Set `mac_catalyst_enabled` to `true` in order to apply patches
41 | # necessary for Mac Catalyst builds
42 | :mac_catalyst_enabled => false
43 | )
44 | __apply_Xcode_12_5_M1_post_install_workaround(installer)
45 | end
46 | end
47 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/kindesdkrn/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.kindesdkrn;
2 |
3 | import com.facebook.react.ReactActivity;
4 | import com.facebook.react.ReactActivityDelegate;
5 | import com.facebook.react.ReactRootView;
6 |
7 | public class MainActivity extends ReactActivity {
8 |
9 | /**
10 | * Returns the name of the main component registered from JavaScript. This is used to schedule
11 | * rendering of the component.
12 | */
13 | @Override
14 | protected String getMainComponentName() {
15 | return "KindeSDKRN";
16 | }
17 |
18 | /**
19 | * Returns the instance of the {@link ReactActivityDelegate}. There the RootView is created and
20 | * you can specify the renderer you wish to use - the new renderer (Fabric) or the old renderer
21 | * (Paper).
22 | */
23 | @Override
24 | protected ReactActivityDelegate createReactActivityDelegate() {
25 | return new MainActivityDelegate(this, getMainComponentName());
26 | }
27 |
28 | public static class MainActivityDelegate extends ReactActivityDelegate {
29 | public MainActivityDelegate(ReactActivity activity, String mainComponentName) {
30 | super(activity, mainComponentName);
31 | }
32 |
33 | @Override
34 | protected ReactRootView createRootView() {
35 | ReactRootView reactRootView = new ReactRootView(getContext());
36 | // If you opted-in for the New Architecture, we enable the Fabric Renderer.
37 | reactRootView.setIsFabric(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED);
38 | return reactRootView;
39 | }
40 |
41 | @Override
42 | protected boolean isConcurrentRootEnabled() {
43 | // If you opted-in for the New Architecture, we enable Concurrent Root (i.e. React 18).
44 | // More on this on https://reactjs.org/blog/2022/03/29/react-v18.html
45 | return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
46 | }
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/src/components/Avatar.tsx:
--------------------------------------------------------------------------------
1 | import {UserProfile} from '@kinde-oss/react-native-sdk-0-7x';
2 | import React from 'react';
3 | import {StyleSheet, Text, TouchableOpacity, View} from 'react-native';
4 |
5 | type AvatarProps = {
6 | userProfile: UserProfile;
7 | handleLogout: () => void;
8 | };
9 |
10 | const Avatar: React.FC = ({handleLogout, userProfile}) => {
11 | if (!userProfile?.given_name && !userProfile.family_name) {
12 | return null;
13 | }
14 | const getShortName = () => {
15 | return `${userProfile?.given_name?.charAt(0) ?? ''}${
16 | userProfile?.family_name?.charAt(0) ?? ''
17 | }`;
18 | };
19 | return (
20 |
21 |
22 |
27 | {getShortName()}
28 |
29 |
30 |
31 |
32 | {userProfile.given_name ?? ''} {userProfile.family_name ?? ''}
33 |
34 |
35 |
36 | Logout
37 |
38 |
39 | );
40 | };
41 |
42 | export default Avatar;
43 |
44 | const styles = StyleSheet.create({
45 | rootAvatar: {
46 | width: 30,
47 | height: 30,
48 | backgroundColor: '#000',
49 | borderRadius: 25,
50 | marginRight: 10,
51 | padding: 5,
52 | },
53 | text: {
54 | fontWeight: '600',
55 | color: '#FFF',
56 | },
57 | btn: {
58 | alignItems: 'center',
59 | backgroundColor: '#000',
60 | paddingHorizontal: 15,
61 | paddingVertical: 10,
62 | borderRadius: 5,
63 | },
64 | });
65 |
--------------------------------------------------------------------------------
/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: -Xmx512m -XX:MaxMetaspaceSize=256m
13 | org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
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 | # AndroidX package structure to make it clearer which packages are bundled with the
21 | # Android operating system, and which are packaged with your app's APK
22 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
23 | android.useAndroidX=true
24 | # Automatically convert third-party libraries to use AndroidX
25 | android.enableJetifier=true
26 |
27 | # Version of flipper SDK to use with React Native
28 | FLIPPER_VERSION=0.125.0
29 |
30 | # Use this property to specify which architecture you want to build.
31 | # You can also override it from the CLI using
32 | # ./gradlew -PreactNativeArchitectures=x86_64
33 | reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
34 |
35 | # Use this property to enable support to the new architecture.
36 | # This will allow you to use TurboModules and the Fabric render in
37 | # your application. You should enable this flag either if you want
38 | # to write custom TurboModules/Fabric components OR use libraries that
39 | # are providing them.
40 | newArchEnabled=false
41 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext {
5 | buildToolsVersion = "31.0.0"
6 | minSdkVersion = 21
7 | compileSdkVersion = 31
8 | targetSdkVersion = 31
9 |
10 | androidXAnnotation = "1.2.0"
11 | androidXBrowser = "1.3.0"
12 | if (System.properties['os.arch'] == "aarch64") {
13 | // For M1 Users we need to use the NDK 24 which added support for aarch64
14 | ndkVersion = "24.0.8215888"
15 | } else {
16 | // Otherwise we default to the side-by-side NDK version from AGP.
17 | ndkVersion = "21.4.7075529"
18 | }
19 | }
20 | repositories {
21 | google()
22 | mavenCentral()
23 | }
24 | dependencies {
25 | classpath("com.android.tools.build:gradle:7.2.1")
26 | classpath("com.facebook.react:react-native-gradle-plugin")
27 | classpath("de.undercouch:gradle-download-task:5.0.1")
28 | // NOTE: Do not place your application dependencies here; they belong
29 | // in the individual module build.gradle files
30 | }
31 | }
32 |
33 | allprojects {
34 | repositories {
35 | maven {
36 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
37 | url("$rootDir/../node_modules/react-native/android")
38 | }
39 | maven {
40 | // Android JSC is installed from npm
41 | url("$rootDir/../node_modules/jsc-android/dist")
42 | }
43 | mavenCentral {
44 | // We don't want to fetch react-native from Maven Central as there are
45 | // older versions over there.
46 | content {
47 | excludeGroup "com.facebook.react"
48 | }
49 | }
50 | google()
51 | maven { url 'https://www.jitpack.io' }
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/kindesdkrn/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java:
--------------------------------------------------------------------------------
1 | package com.kindesdkrn.newarchitecture.modules;
2 |
3 | import com.facebook.jni.HybridData;
4 | import com.facebook.react.ReactPackage;
5 | import com.facebook.react.ReactPackageTurboModuleManagerDelegate;
6 | import com.facebook.react.bridge.ReactApplicationContext;
7 | import com.facebook.soloader.SoLoader;
8 | import java.util.List;
9 |
10 | /**
11 | * Class responsible to load the TurboModules. This class has native methods and needs a
12 | * corresponding C++ implementation/header file to work correctly (already placed inside the jni/
13 | * folder for you).
14 | *
15 | * Please note that this class is used ONLY if you opt-in for the New Architecture (see the
16 | * `newArchEnabled` property). Is ignored otherwise.
17 | */
18 | public class MainApplicationTurboModuleManagerDelegate
19 | extends ReactPackageTurboModuleManagerDelegate {
20 |
21 | private static volatile boolean sIsSoLibraryLoaded;
22 |
23 | protected MainApplicationTurboModuleManagerDelegate(
24 | ReactApplicationContext reactApplicationContext, List packages) {
25 | super(reactApplicationContext, packages);
26 | }
27 |
28 | protected native HybridData initHybrid();
29 |
30 | native boolean canCreateTurboModule(String moduleName);
31 |
32 | public static class Builder extends ReactPackageTurboModuleManagerDelegate.Builder {
33 | protected MainApplicationTurboModuleManagerDelegate build(
34 | ReactApplicationContext context, List packages) {
35 | return new MainApplicationTurboModuleManagerDelegate(context, packages);
36 | }
37 | }
38 |
39 | @Override
40 | protected synchronized void maybeLoadOtherSoLibraries() {
41 | if (!sIsSoLibraryLoaded) {
42 | // If you change the name of your application .so file in the Android.mk file,
43 | // make sure you update the name here as well.
44 | SoLoader.loadLibrary("kindesdkrn_appmodules");
45 | sIsSoLibraryLoaded = true;
46 | }
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/rn_edit_text_material.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
21 |
22 |
23 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/ios/KindeSDKRN/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | KindeSDKRN
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.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | NSAppTransportSecurity
28 |
29 | NSExceptionDomains
30 |
31 | localhost
32 |
33 | NSExceptionAllowsInsecureHTTPLoads
34 |
35 |
36 |
37 |
38 | CFBundleURLTypes
39 |
40 |
41 | CFBundleTypeRole
42 | Editor
43 | CFBundleURLName
44 | your_schema
45 | CFBundleURLSchemes
46 |
47 | your_schema
48 |
49 |
50 |
51 | NSLocationWhenInUseUsageDescription
52 |
53 | UILaunchStoryboardName
54 | LaunchScreen
55 | UIRequiredDeviceCapabilities
56 |
57 | armv7
58 |
59 | UISupportedInterfaceOrientations
60 |
61 | UIInterfaceOrientationPortrait
62 | UIInterfaceOrientationLandscapeLeft
63 | UIInterfaceOrientationLandscapeRight
64 |
65 | UIViewControllerBasedStatusBarAppearance
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/ios/KindeSDKRNTests/KindeSDKRNTests.m:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | #import
5 | #import
6 |
7 | #define TIMEOUT_SECONDS 600
8 | #define TEXT_TO_LOOK_FOR @"Welcome to React"
9 |
10 | @interface KindeSDKRNTests : XCTestCase
11 |
12 | @end
13 |
14 | @implementation KindeSDKRNTests
15 |
16 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test
17 | {
18 | if (test(view)) {
19 | return YES;
20 | }
21 | for (UIView *subview in [view subviews]) {
22 | if ([self findSubviewInView:subview matching:test]) {
23 | return YES;
24 | }
25 | }
26 | return NO;
27 | }
28 |
29 | - (void)testRendersWelcomeScreen
30 | {
31 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
32 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
33 | BOOL foundElement = NO;
34 |
35 | __block NSString *redboxError = nil;
36 | #ifdef DEBUG
37 | RCTSetLogFunction(
38 | ^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
39 | if (level >= RCTLogLevelError) {
40 | redboxError = message;
41 | }
42 | });
43 | #endif
44 |
45 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
46 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
47 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
48 |
49 | foundElement = [self findSubviewInView:vc.view
50 | matching:^BOOL(UIView *view) {
51 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
52 | return YES;
53 | }
54 | return NO;
55 | }];
56 | }
57 |
58 | #ifdef DEBUG
59 | RCTSetLogFunction(RCTDefaultLogFunction);
60 | #endif
61 |
62 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
63 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
64 | }
65 |
66 | @end
67 |
--------------------------------------------------------------------------------
/android/app/src/main/jni/MainComponentsRegistry.cpp:
--------------------------------------------------------------------------------
1 | #include "MainComponentsRegistry.h"
2 |
3 | #include
4 | #include
5 | #include
6 | #include
7 | #include
8 |
9 | namespace facebook {
10 | namespace react {
11 |
12 | MainComponentsRegistry::MainComponentsRegistry(ComponentFactory *delegate) {}
13 |
14 | std::shared_ptr
15 | MainComponentsRegistry::sharedProviderRegistry() {
16 | auto providerRegistry = CoreComponentsRegistry::sharedProviderRegistry();
17 |
18 | // Autolinked providers registered by RN CLI
19 | rncli_registerProviders(providerRegistry);
20 |
21 | // Custom Fabric Components go here. You can register custom
22 | // components coming from your App or from 3rd party libraries here.
23 | //
24 | // providerRegistry->add(concreteComponentDescriptorProvider<
25 | // AocViewerComponentDescriptor>());
26 | return providerRegistry;
27 | }
28 |
29 | jni::local_ref
30 | MainComponentsRegistry::initHybrid(
31 | jni::alias_ref,
32 | ComponentFactory *delegate) {
33 | auto instance = makeCxxInstance(delegate);
34 |
35 | auto buildRegistryFunction =
36 | [](EventDispatcher::Weak const &eventDispatcher,
37 | ContextContainer::Shared const &contextContainer)
38 | -> ComponentDescriptorRegistry::Shared {
39 | auto registry = MainComponentsRegistry::sharedProviderRegistry()
40 | ->createComponentDescriptorRegistry(
41 | {eventDispatcher, contextContainer});
42 |
43 | auto mutableRegistry =
44 | std::const_pointer_cast(registry);
45 |
46 | mutableRegistry->setFallbackComponentDescriptor(
47 | std::make_shared(
48 | ComponentDescriptorParameters{
49 | eventDispatcher, contextContainer, nullptr}));
50 |
51 | return registry;
52 | };
53 |
54 | delegate->buildRegistryFunction = buildRegistryFunction;
55 | return instance;
56 | }
57 |
58 | void MainComponentsRegistry::registerNatives() {
59 | registerHybrid({
60 | makeNativeMethod("initHybrid", MainComponentsRegistry::initHybrid),
61 | });
62 | }
63 |
64 | } // namespace react
65 | } // namespace facebook
66 |
--------------------------------------------------------------------------------
/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | CFPropertyList (3.0.6)
5 | rexml
6 | activesupport (7.0.5)
7 | concurrent-ruby (~> 1.0, >= 1.0.2)
8 | i18n (>= 1.6, < 2)
9 | minitest (>= 5.1)
10 | tzinfo (~> 2.0)
11 | addressable (2.8.4)
12 | public_suffix (>= 2.0.2, < 6.0)
13 | algoliasearch (1.27.5)
14 | httpclient (~> 2.8, >= 2.8.3)
15 | json (>= 1.5.1)
16 | atomos (0.1.3)
17 | claide (1.1.0)
18 | cocoapods (1.12.1)
19 | addressable (~> 2.8)
20 | claide (>= 1.0.2, < 2.0)
21 | cocoapods-core (= 1.12.1)
22 | cocoapods-deintegrate (>= 1.0.3, < 2.0)
23 | cocoapods-downloader (>= 1.6.0, < 2.0)
24 | cocoapods-plugins (>= 1.0.0, < 2.0)
25 | cocoapods-search (>= 1.0.0, < 2.0)
26 | cocoapods-trunk (>= 1.6.0, < 2.0)
27 | cocoapods-try (>= 1.1.0, < 2.0)
28 | colored2 (~> 3.1)
29 | escape (~> 0.0.4)
30 | fourflusher (>= 2.3.0, < 3.0)
31 | gh_inspector (~> 1.0)
32 | molinillo (~> 0.8.0)
33 | nap (~> 1.0)
34 | ruby-macho (>= 2.3.0, < 3.0)
35 | xcodeproj (>= 1.21.0, < 2.0)
36 | cocoapods-core (1.12.1)
37 | activesupport (>= 5.0, < 8)
38 | addressable (~> 2.8)
39 | algoliasearch (~> 1.0)
40 | concurrent-ruby (~> 1.1)
41 | fuzzy_match (~> 2.0.4)
42 | nap (~> 1.0)
43 | netrc (~> 0.11)
44 | public_suffix (~> 4.0)
45 | typhoeus (~> 1.0)
46 | cocoapods-deintegrate (1.0.5)
47 | cocoapods-downloader (1.6.3)
48 | cocoapods-plugins (1.0.0)
49 | nap
50 | cocoapods-search (1.0.1)
51 | cocoapods-trunk (1.6.0)
52 | nap (>= 0.8, < 2.0)
53 | netrc (~> 0.11)
54 | cocoapods-try (1.2.0)
55 | colored2 (3.1.2)
56 | concurrent-ruby (1.2.2)
57 | escape (0.0.4)
58 | ethon (0.16.0)
59 | ffi (>= 1.15.0)
60 | ffi (1.15.5)
61 | fourflusher (2.3.1)
62 | fuzzy_match (2.0.4)
63 | gh_inspector (1.1.3)
64 | httpclient (2.8.3)
65 | i18n (1.14.1)
66 | concurrent-ruby (~> 1.0)
67 | json (2.6.3)
68 | minitest (5.18.0)
69 | molinillo (0.8.0)
70 | nanaimo (0.3.0)
71 | nap (1.1.0)
72 | netrc (0.11.0)
73 | public_suffix (4.0.7)
74 | rexml (3.2.5)
75 | ruby-macho (2.5.1)
76 | typhoeus (1.4.0)
77 | ethon (>= 0.9.0)
78 | tzinfo (2.0.6)
79 | concurrent-ruby (~> 1.0)
80 | xcodeproj (1.22.0)
81 | CFPropertyList (>= 2.3.3, < 4.0)
82 | atomos (~> 0.1.3)
83 | claide (>= 1.0.2, < 2.0)
84 | colored2 (~> 3.1)
85 | nanaimo (~> 0.3.0)
86 | rexml (~> 3.2.4)
87 |
88 | PLATFORMS
89 | ruby
90 |
91 | DEPENDENCIES
92 | cocoapods (~> 1.11, >= 1.11.2)
93 |
94 | RUBY VERSION
95 | ruby 2.7.5p203
96 |
97 | BUNDLED WITH
98 | 2.4.8
99 |
--------------------------------------------------------------------------------
/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 execute
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 execute
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 | :execute
68 | @rem Setup the command line
69 |
70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
71 |
72 |
73 | @rem Execute Gradle
74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
75 |
76 | :end
77 | @rem End local scope for the variables with windows NT shell
78 | if "%ERRORLEVEL%"=="0" goto mainEnd
79 |
80 | :fail
81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
82 | rem the _cmd.exe /c_ return code!
83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84 | exit /b 1
85 |
86 | :mainEnd
87 | if "%OS%"=="Windows_NT" endlocal
88 |
89 | :omega
90 |
--------------------------------------------------------------------------------
/android/app/src/debug/java/com/kindesdkrn/ReactNativeFlipper.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Meta Platforms, Inc. and 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 com.kindesdkrn;
8 |
9 | import android.content.Context;
10 | import com.facebook.flipper.android.AndroidFlipperClient;
11 | import com.facebook.flipper.android.utils.FlipperUtils;
12 | import com.facebook.flipper.core.FlipperClient;
13 | import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;
14 | import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin;
15 | import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin;
16 | import com.facebook.flipper.plugins.inspector.DescriptorMapping;
17 | import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin;
18 | import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor;
19 | import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
20 | import com.facebook.flipper.plugins.react.ReactFlipperPlugin;
21 | import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
22 | import com.facebook.react.ReactInstanceEventListener;
23 | import com.facebook.react.ReactInstanceManager;
24 | import com.facebook.react.bridge.ReactContext;
25 | import com.facebook.react.modules.network.NetworkingModule;
26 | import okhttp3.OkHttpClient;
27 |
28 | public class ReactNativeFlipper {
29 | public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {
30 | if (FlipperUtils.shouldEnableFlipper(context)) {
31 | final FlipperClient client = AndroidFlipperClient.getInstance(context);
32 |
33 | client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));
34 | client.addPlugin(new ReactFlipperPlugin());
35 | client.addPlugin(new DatabasesFlipperPlugin(context));
36 | client.addPlugin(new SharedPreferencesFlipperPlugin(context));
37 | client.addPlugin(CrashReporterPlugin.getInstance());
38 |
39 | NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();
40 | NetworkingModule.setCustomClientBuilder(
41 | new NetworkingModule.CustomClientBuilder() {
42 | @Override
43 | public void apply(OkHttpClient.Builder builder) {
44 | builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin));
45 | }
46 | });
47 | client.addPlugin(networkFlipperPlugin);
48 | client.start();
49 |
50 | // Fresco Plugin needs to ensure that ImagePipelineFactory is initialized
51 | // Hence we run if after all native modules have been initialized
52 | ReactContext reactContext = reactInstanceManager.getCurrentReactContext();
53 | if (reactContext == null) {
54 | reactInstanceManager.addReactInstanceEventListener(
55 | new ReactInstanceEventListener() {
56 | @Override
57 | public void onReactContextInitialized(ReactContext reactContext) {
58 | reactInstanceManager.removeReactInstanceEventListener(this);
59 | reactContext.runOnNativeModulesQueueThread(
60 | new Runnable() {
61 | @Override
62 | public void run() {
63 | client.addPlugin(new FrescoFlipperPlugin());
64 | }
65 | });
66 | }
67 | });
68 | } else {
69 | client.addPlugin(new FrescoFlipperPlugin());
70 | }
71 | }
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/ios/KindeSDKRN.xcodeproj/xcshareddata/xcschemes/KindeSDKRN.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 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/kindesdkrn/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.kindesdkrn;
2 |
3 | import android.app.Application;
4 | import android.content.Context;
5 | import com.facebook.react.PackageList;
6 | import com.facebook.react.ReactApplication;
7 | import com.facebook.react.ReactInstanceManager;
8 | import com.facebook.react.ReactNativeHost;
9 | import com.facebook.react.ReactPackage;
10 | import com.facebook.react.config.ReactFeatureFlags;
11 | import com.facebook.soloader.SoLoader;
12 | import com.kindesdkrn.newarchitecture.MainApplicationReactNativeHost;
13 | import java.lang.reflect.InvocationTargetException;
14 | import java.util.List;
15 | import com.oblador.keychain.KeychainPackage;
16 | import com.proyecto26.inappbrowser.RNInAppBrowserPackage;
17 |
18 |
19 | public class MainApplication extends Application implements ReactApplication {
20 |
21 | private final ReactNativeHost mReactNativeHost =
22 | new ReactNativeHost(this) {
23 | @Override
24 | public boolean getUseDeveloperSupport() {
25 | return BuildConfig.DEBUG;
26 | }
27 |
28 | @Override
29 | protected List getPackages() {
30 | @SuppressWarnings("UnnecessaryLocalVariable")
31 | List packages = new PackageList(this).getPackages();
32 | // Packages that cannot be autolinked yet can be added manually here, for example:
33 | // packages.add(new MyReactNativePackage());
34 | packages.add(new KeychainPackage());
35 | packages.add(new RNInAppBrowserPackage());
36 |
37 | return packages;
38 | }
39 |
40 | @Override
41 | protected String getJSMainModuleName() {
42 | return "index";
43 | }
44 | };
45 |
46 | private final ReactNativeHost mNewArchitectureNativeHost =
47 | new MainApplicationReactNativeHost(this);
48 |
49 | @Override
50 | public ReactNativeHost getReactNativeHost() {
51 | if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
52 | return mNewArchitectureNativeHost;
53 | } else {
54 | return mReactNativeHost;
55 | }
56 | }
57 |
58 | @Override
59 | public void onCreate() {
60 | super.onCreate();
61 | // If you opted-in for the New Architecture, we enable the TurboModule system
62 | ReactFeatureFlags.useTurboModules = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
63 | SoLoader.init(this, /* native exopackage */ false);
64 | initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
65 | }
66 |
67 | /**
68 | * Loads Flipper in React Native templates. Call this in the onCreate method with something like
69 | * initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
70 | *
71 | * @param context
72 | * @param reactInstanceManager
73 | */
74 | private static void initializeFlipper(
75 | Context context, ReactInstanceManager reactInstanceManager) {
76 | if (BuildConfig.DEBUG) {
77 | try {
78 | /*
79 | We use reflection here to pick up the class that initializes Flipper,
80 | since Flipper library is not available in release mode
81 | */
82 | Class> aClass = Class.forName("com.kindesdkrn.ReactNativeFlipper");
83 | aClass
84 | .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
85 | .invoke(null, context, reactInstanceManager);
86 | } catch (ClassNotFoundException e) {
87 | e.printStackTrace();
88 | } catch (NoSuchMethodException e) {
89 | e.printStackTrace();
90 | } catch (IllegalAccessException e) {
91 | e.printStackTrace();
92 | } catch (InvocationTargetException e) {
93 | e.printStackTrace();
94 | }
95 | }
96 | }
97 | }
98 |
--------------------------------------------------------------------------------
/ios/KindeSDKRN/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
24 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Kinde Starter Kit - React Native 0.7x
2 |
3 | The Kinde Starter Kit for React Native SDK 0.7x.
4 |
5 | [](https://makeapullrequest.com) [](https://kinde.com/docs/developer-tools) [](https://thekindecommunity.slack.com)
6 |
7 | ## Register an account on Kinde
8 |
9 | To get started set up an account on [Kinde](https://app.kinde.com/register).
10 |
11 | ## Development
12 |
13 | ### Prerequisites
14 |
15 | - NodeJS version 16.x or higher
16 | - Ruby version 2.7.5 or higher
17 |
18 | Follow [the installation instructions for your chosen OS](https://reactnative.dev/docs/environment-setup) to install dependencies
19 |
20 | ### Initial set up
21 |
22 |
23 | 1. Clone the repository to your machine:
24 | ```shell
25 | git clone https://github.com/kinde-starter-kits/kinde-react-native-starter-kit-0-7x.git
26 | ```
27 | 2. Go into the project:
28 | ```shell
29 | cd kinde-react-native-starter-kit-0-7x
30 | ```
31 | 3. Install the dependencies:
32 | ```shell
33 | npm install
34 |
35 | # [iOS] Install iOS native dependencies
36 | cd ios
37 | bundle install && bundle exec pod install
38 | ```
39 |
40 | ### Setup your local environment
41 |
42 | You should change Kinde config in the `src/components/Header.tsx` file:
43 |
44 | ```javascript
45 | new KindeSDK(
46 | 'https://your_kinde_domain.kinde.com',
47 | 'your_schema://your_kinde_domain.kinde.com/kinde_callback',
48 | 'your_kinde_client_id',
49 | 'your_schema://your_kinde_domain.kinde.com/kinde_callback',
50 | );
51 | ```
52 |
53 | ### Set your Callback and Logout URLs
54 |
55 | Your user will be redirected to Kinde to authenticate. After they have logged in or registered they will be redirected back to your NextJS application.
56 |
57 | You need to specify in Kinde which url you would like your user to be redirected to in order to authenticate your app.
58 |
59 | On the App Keys page set `Allowed callback URLs` to your deep linking
60 |
61 | > Important! This is required for your users to successfully log in to your app.
62 |
63 | You will also need to set the url they will be redirected to upon logout. Set the `Allowed logout redirect URLs` to your deep linking.
64 |
65 | ### Configuration Deep link
66 |
67 | #### Android
68 |
69 | Open `AndroidManifest.xml` and change your scheme:
70 |
71 | ```xml
72 |
73 |
74 |
75 |
76 |
77 |
78 | ```
79 | #### iOS
80 |
81 | Please make sure you have configuration URL scheme in `Info.plist`:
82 |
83 | ```swift
84 | ...
85 | CFBundleURLTypes
86 |
87 |
88 | CFBundleTypeRole
89 | Editor
90 | CFBundleURLName
91 | your_schema
92 | CFBundleURLSchemes
93 |
94 | your_schema
95 |
96 |
97 |
98 | ...
99 |
100 | ```
101 |
102 | ### How to start?
103 |
104 | #### Start the metro server
105 |
106 | Run below command:
107 |
108 | ```shell
109 | npm start --reset-cache
110 | ```
111 |
112 | #### Start your app
113 | ```shell
114 | # iOS
115 | npm run ios
116 | # or for Android
117 | npm run android
118 | ```
119 |
120 | ## Documentation
121 |
122 | For details on integrating this SDK into your project, head over to the [Kinde docs](https://kinde.com/docs/) and see the [React Native SDK 0.6x](https://kinde.com/docs/developer-tools/react-native-sdk) doc 👍🏼.
123 |
124 | ## General Tips
125 |
126 | If you got the error `'value' is unavailable: introduced in iOS 12.0` when trying to build the app, you can follow the below steps to fix that:
127 |
128 | 1. In your Xcode project navigator, select Pods.
129 | 2. Under Targets, select React-Codegen
130 | 3. Set the window to Build Settings
131 | 4. Under Deployment, set iOS Deployment Target to 12.4
132 | 5. Clean project and rebuild: Product > Clean Build Folder, Product > Build
133 |
134 | 
135 | ## Publishing
136 |
137 | The core team handles publishing.
138 |
139 | ## Contributing
140 |
141 | Please refer to Kinde’s [contributing guidelines](https://github.com/kinde-oss/.github/blob/489e2ca9c3307c2b2e098a885e22f2239116394a/CONTRIBUTING.md).
142 |
143 | ## License
144 |
145 | By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.
--------------------------------------------------------------------------------
/ios/KindeSDKRN/AppDelegate.mm:
--------------------------------------------------------------------------------
1 | #import "AppDelegate.h"
2 |
3 | #import
4 | #import
5 | #import
6 |
7 | #import
8 |
9 | #if RCT_NEW_ARCH_ENABLED
10 | #import
11 | #import
12 | #import
13 | #import
14 | #import
15 | #import
16 |
17 | #import
18 |
19 | static NSString *const kRNConcurrentRoot = @"concurrentRoot";
20 |
21 | @interface AppDelegate () {
22 | RCTTurboModuleManager *_turboModuleManager;
23 | RCTSurfacePresenterBridgeAdapter *_bridgeAdapter;
24 | std::shared_ptr _reactNativeConfig;
25 | facebook::react::ContextContainer::Shared _contextContainer;
26 | }
27 | @end
28 | #endif
29 |
30 | @implementation AppDelegate
31 |
32 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
33 | {
34 | RCTAppSetupPrepareApp(application);
35 |
36 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
37 |
38 | #if RCT_NEW_ARCH_ENABLED
39 | _contextContainer = std::make_shared();
40 | _reactNativeConfig = std::make_shared();
41 | _contextContainer->insert("ReactNativeConfig", _reactNativeConfig);
42 | _bridgeAdapter = [[RCTSurfacePresenterBridgeAdapter alloc] initWithBridge:bridge contextContainer:_contextContainer];
43 | bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
44 | #endif
45 |
46 | NSDictionary *initProps = [self prepareInitialProps];
47 | UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"KindeSDKRN", initProps);
48 |
49 | if (@available(iOS 13.0, *)) {
50 | rootView.backgroundColor = [UIColor systemBackgroundColor];
51 | } else {
52 | rootView.backgroundColor = [UIColor whiteColor];
53 | }
54 |
55 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
56 | UIViewController *rootViewController = [UIViewController new];
57 | rootViewController.view = rootView;
58 | self.window.rootViewController = rootViewController;
59 | [self.window makeKeyAndVisible];
60 | return YES;
61 | }
62 |
63 | /// This method controls whether the `concurrentRoot`feature of React18 is turned on or off.
64 | ///
65 | /// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
66 | /// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
67 | /// @return: `true` if the `concurrentRoot` feture is enabled. Otherwise, it returns `false`.
68 | - (BOOL)concurrentRootEnabled
69 | {
70 | // Switch this bool to turn on and off the concurrent root
71 | return true;
72 | }
73 |
74 | - (NSDictionary *)prepareInitialProps
75 | {
76 | NSMutableDictionary *initProps = [NSMutableDictionary new];
77 |
78 | #ifdef RCT_NEW_ARCH_ENABLED
79 | initProps[kRNConcurrentRoot] = @([self concurrentRootEnabled]);
80 | #endif
81 |
82 | return initProps;
83 | }
84 |
85 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
86 | {
87 | #if DEBUG
88 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
89 | #else
90 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
91 | #endif
92 | }
93 |
94 | #if RCT_NEW_ARCH_ENABLED
95 |
96 | #pragma mark - RCTCxxBridgeDelegate
97 |
98 | - (std::unique_ptr)jsExecutorFactoryForBridge:(RCTBridge *)bridge
99 | {
100 | _turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge
101 | delegate:self
102 | jsInvoker:bridge.jsCallInvoker];
103 | return RCTAppSetupDefaultJsExecutorFactory(bridge, _turboModuleManager);
104 | }
105 |
106 | #pragma mark RCTTurboModuleManagerDelegate
107 |
108 | - (Class)getModuleClassFromName:(const char *)name
109 | {
110 | return RCTCoreModulesClassProvider(name);
111 | }
112 |
113 | - (std::shared_ptr)getTurboModule:(const std::string &)name
114 | jsInvoker:(std::shared_ptr)jsInvoker
115 | {
116 | return nullptr;
117 | }
118 |
119 | - (std::shared_ptr)getTurboModule:(const std::string &)name
120 | initParams:
121 | (const facebook::react::ObjCTurboModule::InitParams &)params
122 | {
123 | return nullptr;
124 | }
125 |
126 | - (id)getModuleInstanceFromClass:(Class)moduleClass
127 | {
128 | return RCTAppSetupDefaultModuleFromClass(moduleClass);
129 | }
130 |
131 | #endif
132 |
133 | @end
134 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/kindesdkrn/newarchitecture/MainApplicationReactNativeHost.java:
--------------------------------------------------------------------------------
1 | package com.kindesdkrn.newarchitecture;
2 |
3 | import android.app.Application;
4 | import androidx.annotation.NonNull;
5 | import com.facebook.react.PackageList;
6 | import com.facebook.react.ReactInstanceManager;
7 | import com.facebook.react.ReactNativeHost;
8 | import com.facebook.react.ReactPackage;
9 | import com.facebook.react.ReactPackageTurboModuleManagerDelegate;
10 | import com.facebook.react.bridge.JSIModulePackage;
11 | import com.facebook.react.bridge.JSIModuleProvider;
12 | import com.facebook.react.bridge.JSIModuleSpec;
13 | import com.facebook.react.bridge.JSIModuleType;
14 | import com.facebook.react.bridge.JavaScriptContextHolder;
15 | import com.facebook.react.bridge.ReactApplicationContext;
16 | import com.facebook.react.bridge.UIManager;
17 | import com.facebook.react.fabric.ComponentFactory;
18 | import com.facebook.react.fabric.CoreComponentsRegistry;
19 | import com.facebook.react.fabric.FabricJSIModuleProvider;
20 | import com.facebook.react.fabric.ReactNativeConfig;
21 | import com.facebook.react.uimanager.ViewManagerRegistry;
22 | import com.kindesdkrn.BuildConfig;
23 | import com.kindesdkrn.newarchitecture.components.MainComponentsRegistry;
24 | import com.kindesdkrn.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate;
25 | import java.util.ArrayList;
26 | import java.util.List;
27 |
28 | /**
29 | * A {@link ReactNativeHost} that helps you load everything needed for the New Architecture, both
30 | * TurboModule delegates and the Fabric Renderer.
31 | *
32 | * Please note that this class is used ONLY if you opt-in for the New Architecture (see the
33 | * `newArchEnabled` property). Is ignored otherwise.
34 | */
35 | public class MainApplicationReactNativeHost extends ReactNativeHost {
36 | public MainApplicationReactNativeHost(Application application) {
37 | super(application);
38 | }
39 |
40 | @Override
41 | public boolean getUseDeveloperSupport() {
42 | return BuildConfig.DEBUG;
43 | }
44 |
45 | @Override
46 | protected List getPackages() {
47 | List packages = new PackageList(this).getPackages();
48 | // Packages that cannot be autolinked yet can be added manually here, for example:
49 | // packages.add(new MyReactNativePackage());
50 | // TurboModules must also be loaded here providing a valid TurboReactPackage implementation:
51 | // packages.add(new TurboReactPackage() { ... });
52 | // If you have custom Fabric Components, their ViewManagers should also be loaded here
53 | // inside a ReactPackage.
54 | return packages;
55 | }
56 |
57 | @Override
58 | protected String getJSMainModuleName() {
59 | return "index";
60 | }
61 |
62 | @NonNull
63 | @Override
64 | protected ReactPackageTurboModuleManagerDelegate.Builder
65 | getReactPackageTurboModuleManagerDelegateBuilder() {
66 | // Here we provide the ReactPackageTurboModuleManagerDelegate Builder. This is necessary
67 | // for the new architecture and to use TurboModules correctly.
68 | return new MainApplicationTurboModuleManagerDelegate.Builder();
69 | }
70 |
71 | @Override
72 | protected JSIModulePackage getJSIModulePackage() {
73 | return new JSIModulePackage() {
74 | @Override
75 | public List getJSIModules(
76 | final ReactApplicationContext reactApplicationContext,
77 | final JavaScriptContextHolder jsContext) {
78 | final List specs = new ArrayList<>();
79 |
80 | // Here we provide a new JSIModuleSpec that will be responsible of providing the
81 | // custom Fabric Components.
82 | specs.add(
83 | new JSIModuleSpec() {
84 | @Override
85 | public JSIModuleType getJSIModuleType() {
86 | return JSIModuleType.UIManager;
87 | }
88 |
89 | @Override
90 | public JSIModuleProvider getJSIModuleProvider() {
91 | final ComponentFactory componentFactory = new ComponentFactory();
92 | CoreComponentsRegistry.register(componentFactory);
93 |
94 | // Here we register a Components Registry.
95 | // The one that is generated with the template contains no components
96 | // and just provides you the one from React Native core.
97 | MainComponentsRegistry.register(componentFactory);
98 |
99 | final ReactInstanceManager reactInstanceManager = getReactInstanceManager();
100 |
101 | ViewManagerRegistry viewManagerRegistry =
102 | new ViewManagerRegistry(
103 | reactInstanceManager.getOrCreateViewManagers(reactApplicationContext));
104 |
105 | return new FabricJSIModuleProvider(
106 | reactApplicationContext,
107 | componentFactory,
108 | ReactNativeConfig.DEFAULT_CONFIG,
109 | viewManagerRegistry);
110 | }
111 | });
112 | return specs;
113 | }
114 | };
115 | }
116 | }
117 |
--------------------------------------------------------------------------------
/src/components/Header.tsx:
--------------------------------------------------------------------------------
1 | import {useCallback, useContext, useEffect, useMemo, useState} from 'react';
2 | import {
3 | ActivityIndicator,
4 | StyleSheet,
5 | Text,
6 | TouchableOpacity,
7 | View,
8 | } from 'react-native';
9 | import {
10 | KindeSDK,
11 | Storage,
12 | TokenType,
13 | UserProfile,
14 | } from '@kinde-oss/react-native-sdk-0-7x';
15 | import Avatar from './Avatar';
16 | import LoadingContext from './context/LoadingContext';
17 | import {dependencies} from '../../package.json';
18 | import React from 'react';
19 |
20 | const Header = () => {
21 | const [userProfile, setUserProfile] = useState(
22 | undefined,
23 | );
24 |
25 | const {isLoading, setIsLoading} = useContext(LoadingContext);
26 | const client = useMemo(
27 | () =>
28 | new KindeSDK(
29 | 'https://your_kinde_domain.kinde.com',
30 | 'your_schema://your_kinde_domain.kinde.com/kinde_callback',
31 | 'your_kinde_client_id',
32 | 'your_schema://your_kinde_domain.kinde.com/kinde_callback',
33 | ),
34 | [],
35 | );
36 |
37 | const loadData = useCallback(async () => {
38 | setIsLoading(true);
39 |
40 | const dataPrint: any = {
41 | 'React Version': dependencies.react,
42 | 'React Native Version': dependencies['react-native'],
43 | };
44 | const token = await client.getToken();
45 | dataPrint['Full Token'] = JSON.stringify(token);
46 |
47 | const accessToken = await Storage.getAccessToken();
48 | dataPrint['Access Token'] = accessToken;
49 |
50 | const getClaims = await client.getClaims();
51 | dataPrint['Get Claims'] = JSON.stringify(getClaims);
52 |
53 | const getOrganization = await client.getOrganization();
54 | dataPrint['Get Organization'] = JSON.stringify(getOrganization);
55 |
56 | const getUserDetails = await client.getUserDetails();
57 | dataPrint['Get User Details'] = JSON.stringify(getUserDetails);
58 | setUserProfile({...getUserDetails});
59 |
60 | const getClaimJti = await client.getClaim('jti');
61 | dataPrint['Get Claim Jti'] = JSON.stringify(getClaimJti);
62 |
63 | const given_name = await client.getClaim('given_name', TokenType.ID_TOKEN);
64 | dataPrint['Get Claim Given Name'] = JSON.stringify(given_name);
65 |
66 | const getUserOrganizations = await client.getUserOrganizations();
67 | dataPrint['Get User Organizations'] = JSON.stringify(getUserOrganizations);
68 |
69 | console.log(JSON.stringify(dataPrint, undefined, 4));
70 |
71 | // <-- Enable this block code when you're running debug mode to make the output prettier -->
72 | // const keys = Object.keys(dataPrint);
73 | // console.table(keys.map(k => ({Target: k, Result: dataPrint[k]})));
74 |
75 | setIsLoading(false);
76 | }, [client, setIsLoading, setUserProfile]);
77 |
78 | const checkAuthenticate = async () => {
79 | if (await client.isAuthenticated) {
80 | loadData();
81 | }
82 | };
83 |
84 | useEffect(() => {
85 | checkAuthenticate();
86 | // eslint-disable-next-line react-hooks/exhaustive-deps
87 | }, []);
88 |
89 | const handleSignIn = async () => {
90 | const token = await client.login(); // You can also add org_code as parameter, f.e: client.login({org_code: 'org_123'});
91 | if (token) {
92 | loadData();
93 | }
94 | };
95 |
96 | const handleSignUp = async () => {
97 | const token = await client.register(); // You can also add org_code as parameter, f.e: client.login({org_code: 'org_123'});
98 | if (token) {
99 | loadData();
100 | }
101 | };
102 |
103 | const handleLogout = async () => {
104 | const isLoggedOut = await client.logout();
105 | if (isLoggedOut) {
106 | setUserProfile(undefined);
107 | }
108 | };
109 |
110 | const renderContent = () => {
111 | if (isLoading) {
112 | return ;
113 | }
114 |
115 | if (userProfile) {
116 | return ;
117 | }
118 |
119 | return (
120 |
121 |
125 | Sign In
126 |
127 |
131 | Sign Up
132 |
133 |
134 | );
135 | };
136 |
137 | return (
138 |
139 |
140 | KindeAuth
141 |
142 |
143 | {renderContent()}
144 |
145 | );
146 | };
147 |
148 | export default Header;
149 |
150 | const styles = StyleSheet.create({
151 | root: {
152 | flex: 1,
153 | backgroundColor: '#FFF',
154 | padding: 20,
155 | },
156 | header: {
157 | flexDirection: 'row',
158 | justifyContent: 'space-between',
159 | alignItems: 'center',
160 | marginTop: 15,
161 | marginBottom: 20,
162 | backgroundColor: '#FFF',
163 | },
164 | text: {
165 | fontWeight: '600',
166 | color: '#000',
167 | fontSize: 16,
168 | },
169 | btn: {
170 | alignItems: 'center',
171 | backgroundColor: '#FFF',
172 | paddingHorizontal: 15,
173 | paddingVertical: 10,
174 | borderRadius: 5,
175 | },
176 | });
177 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #
4 | # Copyright © 2015-2021 the original 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 POSIX generated by Gradle.
22 | #
23 | # Important for running:
24 | #
25 | # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
26 | # noncompliant, but you have some other compliant shell such as ksh or
27 | # bash, then to run this script, type that shell name before the whole
28 | # command line, like:
29 | #
30 | # ksh Gradle
31 | #
32 | # Busybox and similar reduced shells will NOT work, because this script
33 | # requires all of these POSIX shell features:
34 | # * functions;
35 | # * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
36 | # «${var#prefix}», «${var%suffix}», and «$( cmd )»;
37 | # * compound commands having a testable exit status, especially «case»;
38 | # * various built-in commands including «command», «set», and «ulimit».
39 | #
40 | # Important for patching:
41 | #
42 | # (2) This script targets any POSIX shell, so it avoids extensions provided
43 | # by Bash, Ksh, etc; in particular arrays are avoided.
44 | #
45 | # The "traditional" practice of packing multiple parameters into a
46 | # space-separated string is a well documented source of bugs and security
47 | # problems, so this is (mostly) avoided, by progressively accumulating
48 | # options in "$@", and eventually passing that to Java.
49 | #
50 | # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
51 | # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
52 | # see the in-line comments for details.
53 | #
54 | # There are tweaks for specific operating systems such as AIX, CygWin,
55 | # Darwin, MinGW, and NonStop.
56 | #
57 | # (3) This script is generated from the Groovy template
58 | # https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59 | # within the Gradle project.
60 | #
61 | # You can find Gradle at https://github.com/gradle/gradle/.
62 | #
63 | ##############################################################################
64 |
65 | # Attempt to set APP_HOME
66 |
67 | # Resolve links: $0 may be a link
68 | app_path=$0
69 |
70 | # Need this for daisy-chained symlinks.
71 | while
72 | APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
73 | [ -h "$app_path" ]
74 | do
75 | ls=$( ls -ld "$app_path" )
76 | link=${ls#*' -> '}
77 | case $link in #(
78 | /*) app_path=$link ;; #(
79 | *) app_path=$APP_HOME$link ;;
80 | esac
81 | done
82 |
83 | APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84 |
85 | APP_NAME="Gradle"
86 | APP_BASE_NAME=${0##*/}
87 |
88 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
90 |
91 | # Use the maximum available, or set MAX_FD != -1 to use that value.
92 | MAX_FD=maximum
93 |
94 | warn () {
95 | echo "$*"
96 | } >&2
97 |
98 | die () {
99 | echo
100 | echo "$*"
101 | echo
102 | exit 1
103 | } >&2
104 |
105 | # OS specific support (must be 'true' or 'false').
106 | cygwin=false
107 | msys=false
108 | darwin=false
109 | nonstop=false
110 | case "$( uname )" in #(
111 | CYGWIN* ) cygwin=true ;; #(
112 | Darwin* ) darwin=true ;; #(
113 | MSYS* | MINGW* ) msys=true ;; #(
114 | NONSTOP* ) nonstop=true ;;
115 | esac
116 |
117 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
118 |
119 |
120 | # Determine the Java command to use to start the JVM.
121 | if [ -n "$JAVA_HOME" ] ; then
122 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
123 | # IBM's JDK on AIX uses strange locations for the executables
124 | JAVACMD=$JAVA_HOME/jre/sh/java
125 | else
126 | JAVACMD=$JAVA_HOME/bin/java
127 | fi
128 | if [ ! -x "$JAVACMD" ] ; then
129 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
130 |
131 | Please set the JAVA_HOME variable in your environment to match the
132 | location of your Java installation."
133 | fi
134 | else
135 | JAVACMD=java
136 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
137 |
138 | Please set the JAVA_HOME variable in your environment to match the
139 | location of your Java installation."
140 | fi
141 |
142 | # Increase the maximum file descriptors if we can.
143 | if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144 | case $MAX_FD in #(
145 | max*)
146 | MAX_FD=$( ulimit -H -n ) ||
147 | warn "Could not query maximum file descriptor limit"
148 | esac
149 | case $MAX_FD in #(
150 | '' | soft) :;; #(
151 | *)
152 | ulimit -n "$MAX_FD" ||
153 | warn "Could not set maximum file descriptor limit to $MAX_FD"
154 | esac
155 | fi
156 |
157 | # Collect all arguments for the java command, stacking in reverse order:
158 | # * args from the command line
159 | # * the main class name
160 | # * -classpath
161 | # * -D...appname settings
162 | # * --module-path (only if needed)
163 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
164 |
165 | # For Cygwin or MSYS, switch paths to Windows format before running java
166 | if "$cygwin" || "$msys" ; then
167 | APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
168 | CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
169 |
170 | JAVACMD=$( cygpath --unix "$JAVACMD" )
171 |
172 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
173 | for arg do
174 | if
175 | case $arg in #(
176 | -*) false ;; # don't mess with options #(
177 | /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
178 | [ -e "$t" ] ;; #(
179 | *) false ;;
180 | esac
181 | then
182 | arg=$( cygpath --path --ignore --mixed "$arg" )
183 | fi
184 | # Roll the args list around exactly as many times as the number of
185 | # args, so each arg winds up back in the position where it started, but
186 | # possibly modified.
187 | #
188 | # NB: a `for` loop captures its iteration list before it begins, so
189 | # changing the positional parameters here affects neither the number of
190 | # iterations, nor the values presented in `arg`.
191 | shift # remove old arg
192 | set -- "$@" "$arg" # push replacement arg
193 | done
194 | fi
195 |
196 | # Collect all arguments for the java command;
197 | # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
198 | # shell script including quotes and variable substitutions, so put them in
199 | # double quotes to make sure that they get re-expanded; and
200 | # * put everything else in single quotes, so that it's not re-expanded.
201 |
202 | set -- \
203 | "-Dorg.gradle.appname=$APP_BASE_NAME" \
204 | -classpath "$CLASSPATH" \
205 | org.gradle.wrapper.GradleWrapperMain \
206 | "$@"
207 |
208 | # Use "xargs" to parse quoted args.
209 | #
210 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
211 | #
212 | # In Bash we could simply go:
213 | #
214 | # readarray ARGS < <( xargs -n1 <<<"$var" ) &&
215 | # set -- "${ARGS[@]}" "$@"
216 | #
217 | # but POSIX shell has neither arrays nor command substitution, so instead we
218 | # post-process each arg (as a line of input to sed) to backslash-escape any
219 | # character that might be a shell metacharacter, then use eval to reverse
220 | # that process (while maintaining the separation between arguments), and wrap
221 | # the whole thing up as a single "set" statement.
222 | #
223 | # This will of course break if any of these variables contains a newline or
224 | # an unmatched quote.
225 | #
226 |
227 | eval "set -- $(
228 | printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
229 | xargs -n1 |
230 | sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
231 | tr '\n' ' '
232 | )" '"$@"'
233 |
234 | exec "$JAVACMD" "$@"
235 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 | import org.apache.tools.ant.taskdefs.condition.Os
5 |
6 | /**
7 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
8 | * and bundleReleaseJsAndAssets).
9 | * These basically call `react-native bundle` with the correct arguments during the Android build
10 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
11 | * bundle directly from the development server. Below you can see all the possible configurations
12 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
13 | * `apply from: "../../node_modules/react-native/react.gradle"` line.
14 | *
15 | * project.ext.react = [
16 | * // the name of the generated asset file containing your JS bundle
17 | * bundleAssetName: "index.android.bundle",
18 | *
19 | * // the entry file for bundle generation. If none specified and
20 | * // "index.android.js" exists, it will be used. Otherwise "index.js" is
21 | * // default. Can be overridden with ENTRY_FILE environment variable.
22 | * entryFile: "index.android.js",
23 | *
24 | * // https://reactnative.dev/docs/performance#enable-the-ram-format
25 | * bundleCommand: "ram-bundle",
26 | *
27 | * // whether to bundle JS and assets in debug mode
28 | * bundleInDebug: false,
29 | *
30 | * // whether to bundle JS and assets in release mode
31 | * bundleInRelease: true,
32 | *
33 | * // whether to bundle JS and assets in another build variant (if configured).
34 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
35 | * // The configuration property can be in the following formats
36 | * // 'bundleIn${productFlavor}${buildType}'
37 | * // 'bundleIn${buildType}'
38 | * // bundleInFreeDebug: true,
39 | * // bundleInPaidRelease: true,
40 | * // bundleInBeta: true,
41 | *
42 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
43 | * // for example: to disable dev mode in the staging build type (if configured)
44 | * devDisabledInStaging: true,
45 | * // The configuration property can be in the following formats
46 | * // 'devDisabledIn${productFlavor}${buildType}'
47 | * // 'devDisabledIn${buildType}'
48 | *
49 | * // the root of your project, i.e. where "package.json" lives
50 | * root: "../../",
51 | *
52 | * // where to put the JS bundle asset in debug mode
53 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
54 | *
55 | * // where to put the JS bundle asset in release mode
56 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
57 | *
58 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
59 | * // require('./image.png')), in debug mode
60 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
61 | *
62 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
63 | * // require('./image.png')), in release mode
64 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
65 | *
66 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
67 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
68 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
69 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
70 | * // for example, you might want to remove it from here.
71 | * inputExcludes: ["android/**", "ios/**"],
72 | *
73 | * // override which node gets called and with what additional arguments
74 | * nodeExecutableAndArgs: ["node"],
75 | *
76 | * // supply additional arguments to the packager
77 | * extraPackagerArgs: []
78 | * ]
79 | */
80 |
81 | project.ext.react = [
82 | enableHermes: true, // clean and rebuild if changing
83 | ]
84 |
85 | apply from: "../../node_modules/react-native/react.gradle"
86 |
87 | /**
88 | * Set this to true to create two separate APKs instead of one:
89 | * - An APK that only works on ARM devices
90 | * - An APK that only works on x86 devices
91 | * The advantage is the size of the APK is reduced by about 4MB.
92 | * Upload all the APKs to the Play Store and people will download
93 | * the correct one based on the CPU architecture of their device.
94 | */
95 | def enableSeparateBuildPerCPUArchitecture = false
96 |
97 | /**
98 | * Run Proguard to shrink the Java bytecode in release builds.
99 | */
100 | def enableProguardInReleaseBuilds = false
101 |
102 | /**
103 | * The preferred build flavor of JavaScriptCore.
104 | *
105 | * For example, to use the international variant, you can use:
106 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
107 | *
108 | * The international variant includes ICU i18n library and necessary data
109 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
110 | * give correct results when using with locales other than en-US. Note that
111 | * this variant is about 6MiB larger per architecture than default.
112 | */
113 | def jscFlavor = 'org.webkit:android-jsc:+'
114 |
115 | /**
116 | * Whether to enable the Hermes VM.
117 | *
118 | * This should be set on project.ext.react and that value will be read here. If it is not set
119 | * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
120 | * and the benefits of using Hermes will therefore be sharply reduced.
121 | */
122 | def enableHermes = project.ext.react.get("enableHermes", false);
123 |
124 | /**
125 | * Architectures to build native code for.
126 | */
127 | def reactNativeArchitectures() {
128 | def value = project.getProperties().get("reactNativeArchitectures")
129 | return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
130 | }
131 |
132 | android {
133 | ndkVersion rootProject.ext.ndkVersion
134 |
135 | compileSdkVersion rootProject.ext.compileSdkVersion
136 |
137 | defaultConfig {
138 | applicationId "com.kindesdkrn"
139 | minSdkVersion rootProject.ext.minSdkVersion
140 | targetSdkVersion rootProject.ext.targetSdkVersion
141 | versionCode 1
142 | versionName "1.0"
143 | buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
144 |
145 | if (isNewArchitectureEnabled()) {
146 | // We configure the CMake build only if you decide to opt-in for the New Architecture.
147 | externalNativeBuild {
148 | cmake {
149 | arguments "-DPROJECT_BUILD_DIR=$buildDir",
150 | "-DREACT_ANDROID_DIR=$rootDir/../node_modules/react-native/ReactAndroid",
151 | "-DREACT_ANDROID_BUILD_DIR=$rootDir/../node_modules/react-native/ReactAndroid/build",
152 | "-DNODE_MODULES_DIR=$rootDir/../node_modules",
153 | "-DANDROID_STL=c++_shared"
154 | }
155 | }
156 | if (!enableSeparateBuildPerCPUArchitecture) {
157 | ndk {
158 | abiFilters (*reactNativeArchitectures())
159 | }
160 | }
161 | }
162 | }
163 |
164 | if (isNewArchitectureEnabled()) {
165 | // We configure the NDK build only if you decide to opt-in for the New Architecture.
166 | externalNativeBuild {
167 | cmake {
168 | path "$projectDir/src/main/jni/CMakeLists.txt"
169 | }
170 | }
171 | def reactAndroidProjectDir = project(':ReactAndroid').projectDir
172 | def packageReactNdkDebugLibs = tasks.register("packageReactNdkDebugLibs", Copy) {
173 | dependsOn(":ReactAndroid:packageReactNdkDebugLibsForBuck")
174 | from("$reactAndroidProjectDir/src/main/jni/prebuilt/lib")
175 | into("$buildDir/react-ndk/exported")
176 | }
177 | def packageReactNdkReleaseLibs = tasks.register("packageReactNdkReleaseLibs", Copy) {
178 | dependsOn(":ReactAndroid:packageReactNdkReleaseLibsForBuck")
179 | from("$reactAndroidProjectDir/src/main/jni/prebuilt/lib")
180 | into("$buildDir/react-ndk/exported")
181 | }
182 | afterEvaluate {
183 | // If you wish to add a custom TurboModule or component locally,
184 | // you should uncomment this line.
185 | // preBuild.dependsOn("generateCodegenArtifactsFromSchema")
186 | preDebugBuild.dependsOn(packageReactNdkDebugLibs)
187 | preReleaseBuild.dependsOn(packageReactNdkReleaseLibs)
188 |
189 | // Due to a bug inside AGP, we have to explicitly set a dependency
190 | // between configureCMakeDebug* tasks and the preBuild tasks.
191 | // This can be removed once this is solved: https://issuetracker.google.com/issues/207403732
192 | configureCMakeRelWithDebInfo.dependsOn(preReleaseBuild)
193 | configureCMakeDebug.dependsOn(preDebugBuild)
194 | reactNativeArchitectures().each { architecture ->
195 | tasks.findByName("configureCMakeDebug[${architecture}]")?.configure {
196 | dependsOn("preDebugBuild")
197 | }
198 | tasks.findByName("configureCMakeRelWithDebInfo[${architecture}]")?.configure {
199 | dependsOn("preReleaseBuild")
200 | }
201 | }
202 | }
203 | }
204 |
205 | splits {
206 | abi {
207 | reset()
208 | enable enableSeparateBuildPerCPUArchitecture
209 | universalApk false // If true, also generate a universal APK
210 | include (*reactNativeArchitectures())
211 | }
212 | }
213 | signingConfigs {
214 | debug {
215 | storeFile file('debug.keystore')
216 | storePassword 'android'
217 | keyAlias 'androiddebugkey'
218 | keyPassword 'android'
219 | }
220 | }
221 | buildTypes {
222 | debug {
223 | signingConfig signingConfigs.debug
224 | }
225 | release {
226 | // Caution! In production, you need to generate your own keystore file.
227 | // see https://reactnative.dev/docs/signed-apk-android.
228 | signingConfig signingConfigs.debug
229 | minifyEnabled enableProguardInReleaseBuilds
230 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
231 | }
232 | }
233 |
234 | // applicationVariants are e.g. debug, release
235 | applicationVariants.all { variant ->
236 | variant.outputs.each { output ->
237 | // For each separate APK per architecture, set a unique version code as described here:
238 | // https://developer.android.com/studio/build/configure-apk-splits.html
239 | // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc.
240 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
241 | def abi = output.getFilter(OutputFile.ABI)
242 | if (abi != null) { // null for the universal-debug, universal-release variants
243 | output.versionCodeOverride =
244 | defaultConfig.versionCode * 1000 + versionCodes.get(abi)
245 | }
246 |
247 | }
248 | }
249 | }
250 |
251 | dependencies {
252 | implementation fileTree(dir: "libs", include: ["*.jar"])
253 |
254 | //noinspection GradleDynamicVersion
255 | implementation "com.facebook.react:react-native:+" // From node_modules
256 |
257 | implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
258 |
259 | implementation project(':react-native-keychain')
260 |
261 | implementation project(':react-native-inappbrowser-reborn')
262 |
263 | debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
264 | exclude group:'com.facebook.fbjni'
265 | }
266 |
267 | debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
268 | exclude group:'com.facebook.flipper'
269 | exclude group:'com.squareup.okhttp3', module:'okhttp'
270 | }
271 |
272 | debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
273 | exclude group:'com.facebook.flipper'
274 | }
275 |
276 | if (enableHermes) {
277 | //noinspection GradleDynamicVersion
278 | implementation("com.facebook.react:hermes-engine:+") { // From node_modules
279 | exclude group:'com.facebook.fbjni'
280 | }
281 | } else {
282 | implementation jscFlavor
283 | }
284 | }
285 |
286 | if (isNewArchitectureEnabled()) {
287 | // If new architecture is enabled, we let you build RN from source
288 | // Otherwise we fallback to a prebuilt .aar bundled in the NPM package.
289 | // This will be applied to all the imported transtitive dependency.
290 | configurations.all {
291 | resolutionStrategy.dependencySubstitution {
292 | substitute(module("com.facebook.react:react-native"))
293 | .using(project(":ReactAndroid"))
294 | .because("On New Architecture we're building React Native from source")
295 | substitute(module("com.facebook.react:hermes-engine"))
296 | .using(project(":ReactAndroid:hermes-engine"))
297 | .because("On New Architecture we're building Hermes from source")
298 | }
299 | }
300 | }
301 |
302 | // Run this once to be able to run the application with BUCK
303 | // puts all compile dependencies into folder libs for BUCK to use
304 | task copyDownloadableDepsToLibs(type: Copy) {
305 | from configurations.implementation
306 | into 'libs'
307 | }
308 |
309 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
310 |
311 | def isNewArchitectureEnabled() {
312 | // To opt-in for the New Architecture, you can either:
313 | // - Set `newArchEnabled` to true inside the `gradle.properties` file
314 | // - Invoke gradle with `-newArchEnabled=true`
315 | // - Set an environment variable `ORG_GRADLE_PROJECT_newArchEnabled=true`
316 | return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
317 | }
318 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - boost (1.76.0)
3 | - CocoaAsyncSocket (7.6.5)
4 | - DoubleConversion (1.1.6)
5 | - FBLazyVector (0.70.6)
6 | - FBReactNativeSpec (0.70.6):
7 | - RCT-Folly (= 2021.07.22.00)
8 | - RCTRequired (= 0.70.6)
9 | - RCTTypeSafety (= 0.70.6)
10 | - React-Core (= 0.70.6)
11 | - React-jsi (= 0.70.6)
12 | - ReactCommon/turbomodule/core (= 0.70.6)
13 | - Flipper (0.125.0):
14 | - Flipper-Folly (~> 2.6)
15 | - Flipper-RSocket (~> 1.4)
16 | - Flipper-Boost-iOSX (1.76.0.1.11)
17 | - Flipper-DoubleConversion (3.2.0.1)
18 | - Flipper-Fmt (7.1.7)
19 | - Flipper-Folly (2.6.10):
20 | - Flipper-Boost-iOSX
21 | - Flipper-DoubleConversion
22 | - Flipper-Fmt (= 7.1.7)
23 | - Flipper-Glog
24 | - libevent (~> 2.1.12)
25 | - OpenSSL-Universal (= 1.1.1100)
26 | - Flipper-Glog (0.5.0.5)
27 | - Flipper-PeerTalk (0.0.4)
28 | - Flipper-RSocket (1.4.3):
29 | - Flipper-Folly (~> 2.6)
30 | - FlipperKit (0.125.0):
31 | - FlipperKit/Core (= 0.125.0)
32 | - FlipperKit/Core (0.125.0):
33 | - Flipper (~> 0.125.0)
34 | - FlipperKit/CppBridge
35 | - FlipperKit/FBCxxFollyDynamicConvert
36 | - FlipperKit/FBDefines
37 | - FlipperKit/FKPortForwarding
38 | - SocketRocket (~> 0.6.0)
39 | - FlipperKit/CppBridge (0.125.0):
40 | - Flipper (~> 0.125.0)
41 | - FlipperKit/FBCxxFollyDynamicConvert (0.125.0):
42 | - Flipper-Folly (~> 2.6)
43 | - FlipperKit/FBDefines (0.125.0)
44 | - FlipperKit/FKPortForwarding (0.125.0):
45 | - CocoaAsyncSocket (~> 7.6)
46 | - Flipper-PeerTalk (~> 0.0.4)
47 | - FlipperKit/FlipperKitHighlightOverlay (0.125.0)
48 | - FlipperKit/FlipperKitLayoutHelpers (0.125.0):
49 | - FlipperKit/Core
50 | - FlipperKit/FlipperKitHighlightOverlay
51 | - FlipperKit/FlipperKitLayoutTextSearchable
52 | - FlipperKit/FlipperKitLayoutIOSDescriptors (0.125.0):
53 | - FlipperKit/Core
54 | - FlipperKit/FlipperKitHighlightOverlay
55 | - FlipperKit/FlipperKitLayoutHelpers
56 | - YogaKit (~> 1.18)
57 | - FlipperKit/FlipperKitLayoutPlugin (0.125.0):
58 | - FlipperKit/Core
59 | - FlipperKit/FlipperKitHighlightOverlay
60 | - FlipperKit/FlipperKitLayoutHelpers
61 | - FlipperKit/FlipperKitLayoutIOSDescriptors
62 | - FlipperKit/FlipperKitLayoutTextSearchable
63 | - YogaKit (~> 1.18)
64 | - FlipperKit/FlipperKitLayoutTextSearchable (0.125.0)
65 | - FlipperKit/FlipperKitNetworkPlugin (0.125.0):
66 | - FlipperKit/Core
67 | - FlipperKit/FlipperKitReactPlugin (0.125.0):
68 | - FlipperKit/Core
69 | - FlipperKit/FlipperKitUserDefaultsPlugin (0.125.0):
70 | - FlipperKit/Core
71 | - FlipperKit/SKIOSNetworkPlugin (0.125.0):
72 | - FlipperKit/Core
73 | - FlipperKit/FlipperKitNetworkPlugin
74 | - fmt (6.2.1)
75 | - glog (0.3.5)
76 | - hermes-engine (0.70.6)
77 | - libevent (2.1.12)
78 | - OpenSSL-Universal (1.1.1100)
79 | - RCT-Folly (2021.07.22.00):
80 | - boost
81 | - DoubleConversion
82 | - fmt (~> 6.2.1)
83 | - glog
84 | - RCT-Folly/Default (= 2021.07.22.00)
85 | - RCT-Folly/Default (2021.07.22.00):
86 | - boost
87 | - DoubleConversion
88 | - fmt (~> 6.2.1)
89 | - glog
90 | - RCT-Folly/Futures (2021.07.22.00):
91 | - boost
92 | - DoubleConversion
93 | - fmt (~> 6.2.1)
94 | - glog
95 | - libevent
96 | - RCTRequired (0.70.6)
97 | - RCTTypeSafety (0.70.6):
98 | - FBLazyVector (= 0.70.6)
99 | - RCTRequired (= 0.70.6)
100 | - React-Core (= 0.70.6)
101 | - React (0.70.6):
102 | - React-Core (= 0.70.6)
103 | - React-Core/DevSupport (= 0.70.6)
104 | - React-Core/RCTWebSocket (= 0.70.6)
105 | - React-RCTActionSheet (= 0.70.6)
106 | - React-RCTAnimation (= 0.70.6)
107 | - React-RCTBlob (= 0.70.6)
108 | - React-RCTImage (= 0.70.6)
109 | - React-RCTLinking (= 0.70.6)
110 | - React-RCTNetwork (= 0.70.6)
111 | - React-RCTSettings (= 0.70.6)
112 | - React-RCTText (= 0.70.6)
113 | - React-RCTVibration (= 0.70.6)
114 | - React-bridging (0.70.6):
115 | - RCT-Folly (= 2021.07.22.00)
116 | - React-jsi (= 0.70.6)
117 | - React-callinvoker (0.70.6)
118 | - React-Codegen (0.70.6):
119 | - FBReactNativeSpec (= 0.70.6)
120 | - RCT-Folly (= 2021.07.22.00)
121 | - RCTRequired (= 0.70.6)
122 | - RCTTypeSafety (= 0.70.6)
123 | - React-Core (= 0.70.6)
124 | - React-jsi (= 0.70.6)
125 | - React-jsiexecutor (= 0.70.6)
126 | - ReactCommon/turbomodule/core (= 0.70.6)
127 | - React-Core (0.70.6):
128 | - glog
129 | - RCT-Folly (= 2021.07.22.00)
130 | - React-Core/Default (= 0.70.6)
131 | - React-cxxreact (= 0.70.6)
132 | - React-jsi (= 0.70.6)
133 | - React-jsiexecutor (= 0.70.6)
134 | - React-perflogger (= 0.70.6)
135 | - Yoga
136 | - React-Core/CoreModulesHeaders (0.70.6):
137 | - glog
138 | - RCT-Folly (= 2021.07.22.00)
139 | - React-Core/Default
140 | - React-cxxreact (= 0.70.6)
141 | - React-jsi (= 0.70.6)
142 | - React-jsiexecutor (= 0.70.6)
143 | - React-perflogger (= 0.70.6)
144 | - Yoga
145 | - React-Core/Default (0.70.6):
146 | - glog
147 | - RCT-Folly (= 2021.07.22.00)
148 | - React-cxxreact (= 0.70.6)
149 | - React-jsi (= 0.70.6)
150 | - React-jsiexecutor (= 0.70.6)
151 | - React-perflogger (= 0.70.6)
152 | - Yoga
153 | - React-Core/DevSupport (0.70.6):
154 | - glog
155 | - RCT-Folly (= 2021.07.22.00)
156 | - React-Core/Default (= 0.70.6)
157 | - React-Core/RCTWebSocket (= 0.70.6)
158 | - React-cxxreact (= 0.70.6)
159 | - React-jsi (= 0.70.6)
160 | - React-jsiexecutor (= 0.70.6)
161 | - React-jsinspector (= 0.70.6)
162 | - React-perflogger (= 0.70.6)
163 | - Yoga
164 | - React-Core/RCTActionSheetHeaders (0.70.6):
165 | - glog
166 | - RCT-Folly (= 2021.07.22.00)
167 | - React-Core/Default
168 | - React-cxxreact (= 0.70.6)
169 | - React-jsi (= 0.70.6)
170 | - React-jsiexecutor (= 0.70.6)
171 | - React-perflogger (= 0.70.6)
172 | - Yoga
173 | - React-Core/RCTAnimationHeaders (0.70.6):
174 | - glog
175 | - RCT-Folly (= 2021.07.22.00)
176 | - React-Core/Default
177 | - React-cxxreact (= 0.70.6)
178 | - React-jsi (= 0.70.6)
179 | - React-jsiexecutor (= 0.70.6)
180 | - React-perflogger (= 0.70.6)
181 | - Yoga
182 | - React-Core/RCTBlobHeaders (0.70.6):
183 | - glog
184 | - RCT-Folly (= 2021.07.22.00)
185 | - React-Core/Default
186 | - React-cxxreact (= 0.70.6)
187 | - React-jsi (= 0.70.6)
188 | - React-jsiexecutor (= 0.70.6)
189 | - React-perflogger (= 0.70.6)
190 | - Yoga
191 | - React-Core/RCTImageHeaders (0.70.6):
192 | - glog
193 | - RCT-Folly (= 2021.07.22.00)
194 | - React-Core/Default
195 | - React-cxxreact (= 0.70.6)
196 | - React-jsi (= 0.70.6)
197 | - React-jsiexecutor (= 0.70.6)
198 | - React-perflogger (= 0.70.6)
199 | - Yoga
200 | - React-Core/RCTLinkingHeaders (0.70.6):
201 | - glog
202 | - RCT-Folly (= 2021.07.22.00)
203 | - React-Core/Default
204 | - React-cxxreact (= 0.70.6)
205 | - React-jsi (= 0.70.6)
206 | - React-jsiexecutor (= 0.70.6)
207 | - React-perflogger (= 0.70.6)
208 | - Yoga
209 | - React-Core/RCTNetworkHeaders (0.70.6):
210 | - glog
211 | - RCT-Folly (= 2021.07.22.00)
212 | - React-Core/Default
213 | - React-cxxreact (= 0.70.6)
214 | - React-jsi (= 0.70.6)
215 | - React-jsiexecutor (= 0.70.6)
216 | - React-perflogger (= 0.70.6)
217 | - Yoga
218 | - React-Core/RCTSettingsHeaders (0.70.6):
219 | - glog
220 | - RCT-Folly (= 2021.07.22.00)
221 | - React-Core/Default
222 | - React-cxxreact (= 0.70.6)
223 | - React-jsi (= 0.70.6)
224 | - React-jsiexecutor (= 0.70.6)
225 | - React-perflogger (= 0.70.6)
226 | - Yoga
227 | - React-Core/RCTTextHeaders (0.70.6):
228 | - glog
229 | - RCT-Folly (= 2021.07.22.00)
230 | - React-Core/Default
231 | - React-cxxreact (= 0.70.6)
232 | - React-jsi (= 0.70.6)
233 | - React-jsiexecutor (= 0.70.6)
234 | - React-perflogger (= 0.70.6)
235 | - Yoga
236 | - React-Core/RCTVibrationHeaders (0.70.6):
237 | - glog
238 | - RCT-Folly (= 2021.07.22.00)
239 | - React-Core/Default
240 | - React-cxxreact (= 0.70.6)
241 | - React-jsi (= 0.70.6)
242 | - React-jsiexecutor (= 0.70.6)
243 | - React-perflogger (= 0.70.6)
244 | - Yoga
245 | - React-Core/RCTWebSocket (0.70.6):
246 | - glog
247 | - RCT-Folly (= 2021.07.22.00)
248 | - React-Core/Default (= 0.70.6)
249 | - React-cxxreact (= 0.70.6)
250 | - React-jsi (= 0.70.6)
251 | - React-jsiexecutor (= 0.70.6)
252 | - React-perflogger (= 0.70.6)
253 | - Yoga
254 | - React-CoreModules (0.70.6):
255 | - RCT-Folly (= 2021.07.22.00)
256 | - RCTTypeSafety (= 0.70.6)
257 | - React-Codegen (= 0.70.6)
258 | - React-Core/CoreModulesHeaders (= 0.70.6)
259 | - React-jsi (= 0.70.6)
260 | - React-RCTImage (= 0.70.6)
261 | - ReactCommon/turbomodule/core (= 0.70.6)
262 | - React-cxxreact (0.70.6):
263 | - boost (= 1.76.0)
264 | - DoubleConversion
265 | - glog
266 | - RCT-Folly (= 2021.07.22.00)
267 | - React-callinvoker (= 0.70.6)
268 | - React-jsi (= 0.70.6)
269 | - React-jsinspector (= 0.70.6)
270 | - React-logger (= 0.70.6)
271 | - React-perflogger (= 0.70.6)
272 | - React-runtimeexecutor (= 0.70.6)
273 | - React-hermes (0.70.6):
274 | - DoubleConversion
275 | - glog
276 | - hermes-engine
277 | - RCT-Folly (= 2021.07.22.00)
278 | - RCT-Folly/Futures (= 2021.07.22.00)
279 | - React-cxxreact (= 0.70.6)
280 | - React-jsi (= 0.70.6)
281 | - React-jsiexecutor (= 0.70.6)
282 | - React-jsinspector (= 0.70.6)
283 | - React-perflogger (= 0.70.6)
284 | - React-jsi (0.70.6):
285 | - boost (= 1.76.0)
286 | - DoubleConversion
287 | - glog
288 | - RCT-Folly (= 2021.07.22.00)
289 | - React-jsi/Default (= 0.70.6)
290 | - React-jsi/Default (0.70.6):
291 | - boost (= 1.76.0)
292 | - DoubleConversion
293 | - glog
294 | - RCT-Folly (= 2021.07.22.00)
295 | - React-jsiexecutor (0.70.6):
296 | - DoubleConversion
297 | - glog
298 | - RCT-Folly (= 2021.07.22.00)
299 | - React-cxxreact (= 0.70.6)
300 | - React-jsi (= 0.70.6)
301 | - React-perflogger (= 0.70.6)
302 | - React-jsinspector (0.70.6)
303 | - React-logger (0.70.6):
304 | - glog
305 | - React-perflogger (0.70.6)
306 | - React-RCTActionSheet (0.70.6):
307 | - React-Core/RCTActionSheetHeaders (= 0.70.6)
308 | - React-RCTAnimation (0.70.6):
309 | - RCT-Folly (= 2021.07.22.00)
310 | - RCTTypeSafety (= 0.70.6)
311 | - React-Codegen (= 0.70.6)
312 | - React-Core/RCTAnimationHeaders (= 0.70.6)
313 | - React-jsi (= 0.70.6)
314 | - ReactCommon/turbomodule/core (= 0.70.6)
315 | - React-RCTBlob (0.70.6):
316 | - RCT-Folly (= 2021.07.22.00)
317 | - React-Codegen (= 0.70.6)
318 | - React-Core/RCTBlobHeaders (= 0.70.6)
319 | - React-Core/RCTWebSocket (= 0.70.6)
320 | - React-jsi (= 0.70.6)
321 | - React-RCTNetwork (= 0.70.6)
322 | - ReactCommon/turbomodule/core (= 0.70.6)
323 | - React-RCTImage (0.70.6):
324 | - RCT-Folly (= 2021.07.22.00)
325 | - RCTTypeSafety (= 0.70.6)
326 | - React-Codegen (= 0.70.6)
327 | - React-Core/RCTImageHeaders (= 0.70.6)
328 | - React-jsi (= 0.70.6)
329 | - React-RCTNetwork (= 0.70.6)
330 | - ReactCommon/turbomodule/core (= 0.70.6)
331 | - React-RCTLinking (0.70.6):
332 | - React-Codegen (= 0.70.6)
333 | - React-Core/RCTLinkingHeaders (= 0.70.6)
334 | - React-jsi (= 0.70.6)
335 | - ReactCommon/turbomodule/core (= 0.70.6)
336 | - React-RCTNetwork (0.70.6):
337 | - RCT-Folly (= 2021.07.22.00)
338 | - RCTTypeSafety (= 0.70.6)
339 | - React-Codegen (= 0.70.6)
340 | - React-Core/RCTNetworkHeaders (= 0.70.6)
341 | - React-jsi (= 0.70.6)
342 | - ReactCommon/turbomodule/core (= 0.70.6)
343 | - React-RCTSettings (0.70.6):
344 | - RCT-Folly (= 2021.07.22.00)
345 | - RCTTypeSafety (= 0.70.6)
346 | - React-Codegen (= 0.70.6)
347 | - React-Core/RCTSettingsHeaders (= 0.70.6)
348 | - React-jsi (= 0.70.6)
349 | - ReactCommon/turbomodule/core (= 0.70.6)
350 | - React-RCTText (0.70.6):
351 | - React-Core/RCTTextHeaders (= 0.70.6)
352 | - React-RCTVibration (0.70.6):
353 | - RCT-Folly (= 2021.07.22.00)
354 | - React-Codegen (= 0.70.6)
355 | - React-Core/RCTVibrationHeaders (= 0.70.6)
356 | - React-jsi (= 0.70.6)
357 | - ReactCommon/turbomodule/core (= 0.70.6)
358 | - React-runtimeexecutor (0.70.6):
359 | - React-jsi (= 0.70.6)
360 | - ReactCommon/turbomodule/core (0.70.6):
361 | - DoubleConversion
362 | - glog
363 | - RCT-Folly (= 2021.07.22.00)
364 | - React-bridging (= 0.70.6)
365 | - React-callinvoker (= 0.70.6)
366 | - React-Core (= 0.70.6)
367 | - React-cxxreact (= 0.70.6)
368 | - React-jsi (= 0.70.6)
369 | - React-logger (= 0.70.6)
370 | - React-perflogger (= 0.70.6)
371 | - RNInAppBrowser (3.7.0):
372 | - React-Core
373 | - RNKeychain (8.1.1):
374 | - React-Core
375 | - SocketRocket (0.6.0)
376 | - Yoga (1.14.0)
377 | - YogaKit (1.18.1):
378 | - Yoga (~> 1.14)
379 |
380 | DEPENDENCIES:
381 | - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
382 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
383 | - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
384 | - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
385 | - Flipper (= 0.125.0)
386 | - Flipper-Boost-iOSX (= 1.76.0.1.11)
387 | - Flipper-DoubleConversion (= 3.2.0.1)
388 | - Flipper-Fmt (= 7.1.7)
389 | - Flipper-Folly (= 2.6.10)
390 | - Flipper-Glog (= 0.5.0.5)
391 | - Flipper-PeerTalk (= 0.0.4)
392 | - Flipper-RSocket (= 1.4.3)
393 | - FlipperKit (= 0.125.0)
394 | - FlipperKit/Core (= 0.125.0)
395 | - FlipperKit/CppBridge (= 0.125.0)
396 | - FlipperKit/FBCxxFollyDynamicConvert (= 0.125.0)
397 | - FlipperKit/FBDefines (= 0.125.0)
398 | - FlipperKit/FKPortForwarding (= 0.125.0)
399 | - FlipperKit/FlipperKitHighlightOverlay (= 0.125.0)
400 | - FlipperKit/FlipperKitLayoutPlugin (= 0.125.0)
401 | - FlipperKit/FlipperKitLayoutTextSearchable (= 0.125.0)
402 | - FlipperKit/FlipperKitNetworkPlugin (= 0.125.0)
403 | - FlipperKit/FlipperKitReactPlugin (= 0.125.0)
404 | - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.125.0)
405 | - FlipperKit/SKIOSNetworkPlugin (= 0.125.0)
406 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
407 | - hermes-engine (from `../node_modules/react-native/sdks/hermes/hermes-engine.podspec`)
408 | - libevent (~> 2.1.12)
409 | - OpenSSL-Universal (= 1.1.1100)
410 | - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
411 | - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
412 | - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
413 | - React (from `../node_modules/react-native/`)
414 | - React-bridging (from `../node_modules/react-native/ReactCommon`)
415 | - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
416 | - React-Codegen (from `build/generated/ios`)
417 | - React-Core (from `../node_modules/react-native/`)
418 | - React-Core/DevSupport (from `../node_modules/react-native/`)
419 | - React-Core/RCTWebSocket (from `../node_modules/react-native/`)
420 | - React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
421 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
422 | - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`)
423 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
424 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
425 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
426 | - React-logger (from `../node_modules/react-native/ReactCommon/logger`)
427 | - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
428 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
429 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
430 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
431 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
432 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
433 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
434 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
435 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`)
436 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
437 | - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
438 | - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
439 | - RNInAppBrowser (from `../node_modules/react-native-inappbrowser-reborn`)
440 | - RNKeychain (from `../node_modules/react-native-keychain`)
441 | - Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
442 |
443 | SPEC REPOS:
444 | trunk:
445 | - CocoaAsyncSocket
446 | - Flipper
447 | - Flipper-Boost-iOSX
448 | - Flipper-DoubleConversion
449 | - Flipper-Fmt
450 | - Flipper-Folly
451 | - Flipper-Glog
452 | - Flipper-PeerTalk
453 | - Flipper-RSocket
454 | - FlipperKit
455 | - fmt
456 | - libevent
457 | - OpenSSL-Universal
458 | - SocketRocket
459 | - YogaKit
460 |
461 | EXTERNAL SOURCES:
462 | boost:
463 | :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
464 | DoubleConversion:
465 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
466 | FBLazyVector:
467 | :path: "../node_modules/react-native/Libraries/FBLazyVector"
468 | FBReactNativeSpec:
469 | :path: "../node_modules/react-native/React/FBReactNativeSpec"
470 | glog:
471 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
472 | hermes-engine:
473 | :podspec: "../node_modules/react-native/sdks/hermes/hermes-engine.podspec"
474 | RCT-Folly:
475 | :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
476 | RCTRequired:
477 | :path: "../node_modules/react-native/Libraries/RCTRequired"
478 | RCTTypeSafety:
479 | :path: "../node_modules/react-native/Libraries/TypeSafety"
480 | React:
481 | :path: "../node_modules/react-native/"
482 | React-bridging:
483 | :path: "../node_modules/react-native/ReactCommon"
484 | React-callinvoker:
485 | :path: "../node_modules/react-native/ReactCommon/callinvoker"
486 | React-Codegen:
487 | :path: build/generated/ios
488 | React-Core:
489 | :path: "../node_modules/react-native/"
490 | React-CoreModules:
491 | :path: "../node_modules/react-native/React/CoreModules"
492 | React-cxxreact:
493 | :path: "../node_modules/react-native/ReactCommon/cxxreact"
494 | React-hermes:
495 | :path: "../node_modules/react-native/ReactCommon/hermes"
496 | React-jsi:
497 | :path: "../node_modules/react-native/ReactCommon/jsi"
498 | React-jsiexecutor:
499 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor"
500 | React-jsinspector:
501 | :path: "../node_modules/react-native/ReactCommon/jsinspector"
502 | React-logger:
503 | :path: "../node_modules/react-native/ReactCommon/logger"
504 | React-perflogger:
505 | :path: "../node_modules/react-native/ReactCommon/reactperflogger"
506 | React-RCTActionSheet:
507 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS"
508 | React-RCTAnimation:
509 | :path: "../node_modules/react-native/Libraries/NativeAnimation"
510 | React-RCTBlob:
511 | :path: "../node_modules/react-native/Libraries/Blob"
512 | React-RCTImage:
513 | :path: "../node_modules/react-native/Libraries/Image"
514 | React-RCTLinking:
515 | :path: "../node_modules/react-native/Libraries/LinkingIOS"
516 | React-RCTNetwork:
517 | :path: "../node_modules/react-native/Libraries/Network"
518 | React-RCTSettings:
519 | :path: "../node_modules/react-native/Libraries/Settings"
520 | React-RCTText:
521 | :path: "../node_modules/react-native/Libraries/Text"
522 | React-RCTVibration:
523 | :path: "../node_modules/react-native/Libraries/Vibration"
524 | React-runtimeexecutor:
525 | :path: "../node_modules/react-native/ReactCommon/runtimeexecutor"
526 | ReactCommon:
527 | :path: "../node_modules/react-native/ReactCommon"
528 | RNInAppBrowser:
529 | :path: "../node_modules/react-native-inappbrowser-reborn"
530 | RNKeychain:
531 | :path: "../node_modules/react-native-keychain"
532 | Yoga:
533 | :path: "../node_modules/react-native/ReactCommon/yoga"
534 |
535 | SPEC CHECKSUMS:
536 | boost: a7c83b31436843459a1961bfd74b96033dc77234
537 | CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
538 | DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
539 | FBLazyVector: 48289402952f4f7a4e235de70a9a590aa0b79ef4
540 | FBReactNativeSpec: dd1186fd05255e3457baa2f4ca65e94c2cd1e3ac
541 | Flipper: 26fc4b7382499f1281eb8cb921e5c3ad6de91fe0
542 | Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c
543 | Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30
544 | Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b
545 | Flipper-Folly: 584845625005ff068a6ebf41f857f468decd26b3
546 | Flipper-Glog: 70c50ce58ddaf67dc35180db05f191692570f446
547 | Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
548 | Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541
549 | FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86
550 | fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
551 | glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
552 | hermes-engine: 2af7b7a59128f250adfd86f15aa1d5a2ecd39995
553 | libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
554 | OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
555 | RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
556 | RCTRequired: e1866f61af7049eb3d8e08e8b133abd38bc1ca7a
557 | RCTTypeSafety: 27c2ac1b00609a432ced1ae701247593f07f901e
558 | React: bb3e06418d2cc48a84f9666a576c7b38e89cd7db
559 | React-bridging: 572502ec59c9de30309afdc4932e278214288913
560 | React-callinvoker: 6b708b79c69f3359d42f1abb4663f620dbd4dadf
561 | React-Codegen: 74e1cd7cee692a8b983c18df3274b5e749de07c8
562 | React-Core: b587d0a624f9611b0e032505f3d6f25e8daa2bee
563 | React-CoreModules: c6ff48b985e7aa622e82ca51c2c353c7803eb04e
564 | React-cxxreact: ade3d9e63c599afdead3c35f8a8bd12b3da6730b
565 | React-hermes: ed09ae33512bbb8d31b2411778f3af1a2eb681a1
566 | React-jsi: 5a3952e0c6d57460ad9ee2c905025b4c28f71087
567 | React-jsiexecutor: b4a65947391c658450151275aa406f2b8263178f
568 | React-jsinspector: 60769e5a0a6d4b32294a2456077f59d0266f9a8b
569 | React-logger: 1623c216abaa88974afce404dc8f479406bbc3a0
570 | React-perflogger: 8c79399b0500a30ee8152d0f9f11beae7fc36595
571 | React-RCTActionSheet: 7316773acabb374642b926c19aef1c115df5c466
572 | React-RCTAnimation: 5341e288375451297057391227f691d9b2326c3d
573 | React-RCTBlob: b0615fc2daf2b5684ade8fadcab659f16f6f0efa
574 | React-RCTImage: 6487b9600f268ecedcaa86114d97954d31ad4750
575 | React-RCTLinking: c8018ae9ebfefcec3839d690d4725f8d15e4e4b3
576 | React-RCTNetwork: 8aa63578741e0fe1205c28d7d4b40dbfdabce8a8
577 | React-RCTSettings: d00c15ad369cd62242a4dfcc6f277912b4a84ed3
578 | React-RCTText: f532e5ca52681ecaecea452b3ad7a5b630f50d75
579 | React-RCTVibration: c75ceef7aa60a33b2d5731ebe5800ddde40cefc4
580 | React-runtimeexecutor: 15437b576139df27635400de0599d9844f1ab817
581 | ReactCommon: 349be31adeecffc7986a0de875d7fb0dcf4e251c
582 | RNInAppBrowser: e36d6935517101ccba0e875bac8ad7b0cb655364
583 | RNKeychain: ff836453cba46938e0e9e4c22e43d43fa2c90333
584 | SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
585 | Yoga: 99caf8d5ab45e9d637ee6e0174ec16fbbb01bcfc
586 | YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
587 |
588 | PODFILE CHECKSUM: 56960e3d44d98232a726fb55e04a62b3f215cb8c
589 |
590 | COCOAPODS: 1.12.1
591 |
--------------------------------------------------------------------------------
/ios/KindeSDKRN.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 54;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00E356F31AD99517003FC87E /* KindeSDKRNTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* KindeSDKRNTests.m */; };
11 | 0C80B921A6F3F58F76C31292 /* libPods-KindeSDKRN.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-KindeSDKRN.a */; };
12 | 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
13 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
14 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
15 | 7699B88040F8A987B510C191 /* libPods-KindeSDKRN-KindeSDKRNTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-KindeSDKRN-KindeSDKRNTests.a */; };
16 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXContainerItemProxy section */
20 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
21 | isa = PBXContainerItemProxy;
22 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
23 | proxyType = 1;
24 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
25 | remoteInfo = KindeSDKRN;
26 | };
27 | /* End PBXContainerItemProxy section */
28 |
29 | /* Begin PBXFileReference section */
30 | 00E356EE1AD99517003FC87E /* KindeSDKRNTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KindeSDKRNTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
31 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
32 | 00E356F21AD99517003FC87E /* KindeSDKRNTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KindeSDKRNTests.m; sourceTree = ""; };
33 | 13B07F961A680F5B00A75B9A /* KindeSDKRN.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KindeSDKRN.app; sourceTree = BUILT_PRODUCTS_DIR; };
34 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = KindeSDKRN/AppDelegate.h; sourceTree = ""; };
35 | 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = KindeSDKRN/AppDelegate.mm; sourceTree = ""; };
36 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = KindeSDKRN/Images.xcassets; sourceTree = ""; };
37 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = KindeSDKRN/Info.plist; sourceTree = ""; };
38 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = KindeSDKRN/main.m; sourceTree = ""; };
39 | 19F6CBCC0A4E27FBF8BF4A61 /* libPods-KindeSDKRN-KindeSDKRNTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-KindeSDKRN-KindeSDKRNTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
40 | 3B4392A12AC88292D35C810B /* Pods-KindeSDKRN.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KindeSDKRN.debug.xcconfig"; path = "Target Support Files/Pods-KindeSDKRN/Pods-KindeSDKRN.debug.xcconfig"; sourceTree = ""; };
41 | 5709B34CF0A7D63546082F79 /* Pods-KindeSDKRN.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KindeSDKRN.release.xcconfig"; path = "Target Support Files/Pods-KindeSDKRN/Pods-KindeSDKRN.release.xcconfig"; sourceTree = ""; };
42 | 5B7EB9410499542E8C5724F5 /* Pods-KindeSDKRN-KindeSDKRNTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KindeSDKRN-KindeSDKRNTests.debug.xcconfig"; path = "Target Support Files/Pods-KindeSDKRN-KindeSDKRNTests/Pods-KindeSDKRN-KindeSDKRNTests.debug.xcconfig"; sourceTree = ""; };
43 | 5DCACB8F33CDC322A6C60F78 /* libPods-KindeSDKRN.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-KindeSDKRN.a"; sourceTree = BUILT_PRODUCTS_DIR; };
44 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = KindeSDKRN/LaunchScreen.storyboard; sourceTree = ""; };
45 | 89C6BE57DB24E9ADA2F236DE /* Pods-KindeSDKRN-KindeSDKRNTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KindeSDKRN-KindeSDKRNTests.release.xcconfig"; path = "Target Support Files/Pods-KindeSDKRN-KindeSDKRNTests/Pods-KindeSDKRN-KindeSDKRNTests.release.xcconfig"; sourceTree = ""; };
46 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
47 | /* End PBXFileReference section */
48 |
49 | /* Begin PBXFrameworksBuildPhase section */
50 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
51 | isa = PBXFrameworksBuildPhase;
52 | buildActionMask = 2147483647;
53 | files = (
54 | 7699B88040F8A987B510C191 /* libPods-KindeSDKRN-KindeSDKRNTests.a in Frameworks */,
55 | );
56 | runOnlyForDeploymentPostprocessing = 0;
57 | };
58 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
59 | isa = PBXFrameworksBuildPhase;
60 | buildActionMask = 2147483647;
61 | files = (
62 | 0C80B921A6F3F58F76C31292 /* libPods-KindeSDKRN.a in Frameworks */,
63 | );
64 | runOnlyForDeploymentPostprocessing = 0;
65 | };
66 | /* End PBXFrameworksBuildPhase section */
67 |
68 | /* Begin PBXGroup section */
69 | 00E356EF1AD99517003FC87E /* KindeSDKRNTests */ = {
70 | isa = PBXGroup;
71 | children = (
72 | 00E356F21AD99517003FC87E /* KindeSDKRNTests.m */,
73 | 00E356F01AD99517003FC87E /* Supporting Files */,
74 | );
75 | path = KindeSDKRNTests;
76 | sourceTree = "";
77 | };
78 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
79 | isa = PBXGroup;
80 | children = (
81 | 00E356F11AD99517003FC87E /* Info.plist */,
82 | );
83 | name = "Supporting Files";
84 | sourceTree = "";
85 | };
86 | 13B07FAE1A68108700A75B9A /* KindeSDKRN */ = {
87 | isa = PBXGroup;
88 | children = (
89 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
90 | 13B07FB01A68108700A75B9A /* AppDelegate.mm */,
91 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
92 | 13B07FB61A68108700A75B9A /* Info.plist */,
93 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
94 | 13B07FB71A68108700A75B9A /* main.m */,
95 | );
96 | name = KindeSDKRN;
97 | sourceTree = "";
98 | };
99 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
100 | isa = PBXGroup;
101 | children = (
102 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
103 | 5DCACB8F33CDC322A6C60F78 /* libPods-KindeSDKRN.a */,
104 | 19F6CBCC0A4E27FBF8BF4A61 /* libPods-KindeSDKRN-KindeSDKRNTests.a */,
105 | );
106 | name = Frameworks;
107 | sourceTree = "";
108 | };
109 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
110 | isa = PBXGroup;
111 | children = (
112 | );
113 | name = Libraries;
114 | sourceTree = "";
115 | };
116 | 83CBB9F61A601CBA00E9B192 = {
117 | isa = PBXGroup;
118 | children = (
119 | 13B07FAE1A68108700A75B9A /* KindeSDKRN */,
120 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
121 | 00E356EF1AD99517003FC87E /* KindeSDKRNTests */,
122 | 83CBBA001A601CBA00E9B192 /* Products */,
123 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
124 | BBD78D7AC51CEA395F1C20DB /* Pods */,
125 | );
126 | indentWidth = 2;
127 | sourceTree = "";
128 | tabWidth = 2;
129 | usesTabs = 0;
130 | };
131 | 83CBBA001A601CBA00E9B192 /* Products */ = {
132 | isa = PBXGroup;
133 | children = (
134 | 13B07F961A680F5B00A75B9A /* KindeSDKRN.app */,
135 | 00E356EE1AD99517003FC87E /* KindeSDKRNTests.xctest */,
136 | );
137 | name = Products;
138 | sourceTree = "";
139 | };
140 | BBD78D7AC51CEA395F1C20DB /* Pods */ = {
141 | isa = PBXGroup;
142 | children = (
143 | 3B4392A12AC88292D35C810B /* Pods-KindeSDKRN.debug.xcconfig */,
144 | 5709B34CF0A7D63546082F79 /* Pods-KindeSDKRN.release.xcconfig */,
145 | 5B7EB9410499542E8C5724F5 /* Pods-KindeSDKRN-KindeSDKRNTests.debug.xcconfig */,
146 | 89C6BE57DB24E9ADA2F236DE /* Pods-KindeSDKRN-KindeSDKRNTests.release.xcconfig */,
147 | );
148 | path = Pods;
149 | sourceTree = "";
150 | };
151 | /* End PBXGroup section */
152 |
153 | /* Begin PBXNativeTarget section */
154 | 00E356ED1AD99517003FC87E /* KindeSDKRNTests */ = {
155 | isa = PBXNativeTarget;
156 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "KindeSDKRNTests" */;
157 | buildPhases = (
158 | A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */,
159 | 00E356EA1AD99517003FC87E /* Sources */,
160 | 00E356EB1AD99517003FC87E /* Frameworks */,
161 | 00E356EC1AD99517003FC87E /* Resources */,
162 | C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */,
163 | F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */,
164 | );
165 | buildRules = (
166 | );
167 | dependencies = (
168 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
169 | );
170 | name = KindeSDKRNTests;
171 | productName = KindeSDKRNTests;
172 | productReference = 00E356EE1AD99517003FC87E /* KindeSDKRNTests.xctest */;
173 | productType = "com.apple.product-type.bundle.unit-test";
174 | };
175 | 13B07F861A680F5B00A75B9A /* KindeSDKRN */ = {
176 | isa = PBXNativeTarget;
177 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "KindeSDKRN" */;
178 | buildPhases = (
179 | C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
180 | FD10A7F022414F080027D42C /* Start Packager */,
181 | 13B07F871A680F5B00A75B9A /* Sources */,
182 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
183 | 13B07F8E1A680F5B00A75B9A /* Resources */,
184 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
185 | 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */,
186 | E235C05ADACE081382539298 /* [CP] Copy Pods Resources */,
187 | );
188 | buildRules = (
189 | );
190 | dependencies = (
191 | );
192 | name = KindeSDKRN;
193 | productName = KindeSDKRN;
194 | productReference = 13B07F961A680F5B00A75B9A /* KindeSDKRN.app */;
195 | productType = "com.apple.product-type.application";
196 | };
197 | /* End PBXNativeTarget section */
198 |
199 | /* Begin PBXProject section */
200 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
201 | isa = PBXProject;
202 | attributes = {
203 | LastUpgradeCheck = 1210;
204 | TargetAttributes = {
205 | 00E356ED1AD99517003FC87E = {
206 | CreatedOnToolsVersion = 6.2;
207 | TestTargetID = 13B07F861A680F5B00A75B9A;
208 | };
209 | 13B07F861A680F5B00A75B9A = {
210 | LastSwiftMigration = 1120;
211 | };
212 | };
213 | };
214 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "KindeSDKRN" */;
215 | compatibilityVersion = "Xcode 12.0";
216 | developmentRegion = en;
217 | hasScannedForEncodings = 0;
218 | knownRegions = (
219 | en,
220 | Base,
221 | );
222 | mainGroup = 83CBB9F61A601CBA00E9B192;
223 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
224 | projectDirPath = "";
225 | projectRoot = "";
226 | targets = (
227 | 13B07F861A680F5B00A75B9A /* KindeSDKRN */,
228 | 00E356ED1AD99517003FC87E /* KindeSDKRNTests */,
229 | );
230 | };
231 | /* End PBXProject section */
232 |
233 | /* Begin PBXResourcesBuildPhase section */
234 | 00E356EC1AD99517003FC87E /* Resources */ = {
235 | isa = PBXResourcesBuildPhase;
236 | buildActionMask = 2147483647;
237 | files = (
238 | );
239 | runOnlyForDeploymentPostprocessing = 0;
240 | };
241 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
242 | isa = PBXResourcesBuildPhase;
243 | buildActionMask = 2147483647;
244 | files = (
245 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
246 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
247 | );
248 | runOnlyForDeploymentPostprocessing = 0;
249 | };
250 | /* End PBXResourcesBuildPhase section */
251 |
252 | /* Begin PBXShellScriptBuildPhase section */
253 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
254 | isa = PBXShellScriptBuildPhase;
255 | buildActionMask = 2147483647;
256 | files = (
257 | );
258 | inputPaths = (
259 | "$(SRCROOT)/.xcode.env.local",
260 | "$(SRCROOT)/.xcode.env",
261 | );
262 | name = "Bundle React Native code and images";
263 | outputPaths = (
264 | );
265 | runOnlyForDeploymentPostprocessing = 0;
266 | shellPath = /bin/sh;
267 | shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
268 | };
269 | 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
270 | isa = PBXShellScriptBuildPhase;
271 | buildActionMask = 2147483647;
272 | files = (
273 | );
274 | inputFileListPaths = (
275 | "${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN/Pods-KindeSDKRN-frameworks-${CONFIGURATION}-input-files.xcfilelist",
276 | );
277 | name = "[CP] Embed Pods Frameworks";
278 | outputFileListPaths = (
279 | "${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN/Pods-KindeSDKRN-frameworks-${CONFIGURATION}-output-files.xcfilelist",
280 | );
281 | runOnlyForDeploymentPostprocessing = 0;
282 | shellPath = /bin/sh;
283 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN/Pods-KindeSDKRN-frameworks.sh\"\n";
284 | showEnvVarsInLog = 0;
285 | };
286 | A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = {
287 | isa = PBXShellScriptBuildPhase;
288 | buildActionMask = 2147483647;
289 | files = (
290 | );
291 | inputFileListPaths = (
292 | );
293 | inputPaths = (
294 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
295 | "${PODS_ROOT}/Manifest.lock",
296 | );
297 | name = "[CP] Check Pods Manifest.lock";
298 | outputFileListPaths = (
299 | );
300 | outputPaths = (
301 | "$(DERIVED_FILE_DIR)/Pods-KindeSDKRN-KindeSDKRNTests-checkManifestLockResult.txt",
302 | );
303 | runOnlyForDeploymentPostprocessing = 0;
304 | shellPath = /bin/sh;
305 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
306 | showEnvVarsInLog = 0;
307 | };
308 | C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
309 | isa = PBXShellScriptBuildPhase;
310 | buildActionMask = 2147483647;
311 | files = (
312 | );
313 | inputFileListPaths = (
314 | );
315 | inputPaths = (
316 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
317 | "${PODS_ROOT}/Manifest.lock",
318 | );
319 | name = "[CP] Check Pods Manifest.lock";
320 | outputFileListPaths = (
321 | );
322 | outputPaths = (
323 | "$(DERIVED_FILE_DIR)/Pods-KindeSDKRN-checkManifestLockResult.txt",
324 | );
325 | runOnlyForDeploymentPostprocessing = 0;
326 | shellPath = /bin/sh;
327 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
328 | showEnvVarsInLog = 0;
329 | };
330 | C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = {
331 | isa = PBXShellScriptBuildPhase;
332 | buildActionMask = 2147483647;
333 | files = (
334 | );
335 | inputFileListPaths = (
336 | "${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN-KindeSDKRNTests/Pods-KindeSDKRN-KindeSDKRNTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
337 | );
338 | name = "[CP] Embed Pods Frameworks";
339 | outputFileListPaths = (
340 | "${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN-KindeSDKRNTests/Pods-KindeSDKRN-KindeSDKRNTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
341 | );
342 | runOnlyForDeploymentPostprocessing = 0;
343 | shellPath = /bin/sh;
344 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN-KindeSDKRNTests/Pods-KindeSDKRN-KindeSDKRNTests-frameworks.sh\"\n";
345 | showEnvVarsInLog = 0;
346 | };
347 | E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
348 | isa = PBXShellScriptBuildPhase;
349 | buildActionMask = 2147483647;
350 | files = (
351 | );
352 | inputFileListPaths = (
353 | "${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN/Pods-KindeSDKRN-resources-${CONFIGURATION}-input-files.xcfilelist",
354 | );
355 | name = "[CP] Copy Pods Resources";
356 | outputFileListPaths = (
357 | "${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN/Pods-KindeSDKRN-resources-${CONFIGURATION}-output-files.xcfilelist",
358 | );
359 | runOnlyForDeploymentPostprocessing = 0;
360 | shellPath = /bin/sh;
361 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN/Pods-KindeSDKRN-resources.sh\"\n";
362 | showEnvVarsInLog = 0;
363 | };
364 | F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = {
365 | isa = PBXShellScriptBuildPhase;
366 | buildActionMask = 2147483647;
367 | files = (
368 | );
369 | inputFileListPaths = (
370 | "${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN-KindeSDKRNTests/Pods-KindeSDKRN-KindeSDKRNTests-resources-${CONFIGURATION}-input-files.xcfilelist",
371 | );
372 | name = "[CP] Copy Pods Resources";
373 | outputFileListPaths = (
374 | "${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN-KindeSDKRNTests/Pods-KindeSDKRN-KindeSDKRNTests-resources-${CONFIGURATION}-output-files.xcfilelist",
375 | );
376 | runOnlyForDeploymentPostprocessing = 0;
377 | shellPath = /bin/sh;
378 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KindeSDKRN-KindeSDKRNTests/Pods-KindeSDKRN-KindeSDKRNTests-resources.sh\"\n";
379 | showEnvVarsInLog = 0;
380 | };
381 | FD10A7F022414F080027D42C /* Start Packager */ = {
382 | isa = PBXShellScriptBuildPhase;
383 | buildActionMask = 2147483647;
384 | files = (
385 | );
386 | inputFileListPaths = (
387 | );
388 | inputPaths = (
389 | );
390 | name = "Start Packager";
391 | outputFileListPaths = (
392 | );
393 | outputPaths = (
394 | );
395 | runOnlyForDeploymentPostprocessing = 0;
396 | shellPath = /bin/sh;
397 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n";
398 | showEnvVarsInLog = 0;
399 | };
400 | /* End PBXShellScriptBuildPhase section */
401 |
402 | /* Begin PBXSourcesBuildPhase section */
403 | 00E356EA1AD99517003FC87E /* Sources */ = {
404 | isa = PBXSourcesBuildPhase;
405 | buildActionMask = 2147483647;
406 | files = (
407 | 00E356F31AD99517003FC87E /* KindeSDKRNTests.m in Sources */,
408 | );
409 | runOnlyForDeploymentPostprocessing = 0;
410 | };
411 | 13B07F871A680F5B00A75B9A /* Sources */ = {
412 | isa = PBXSourcesBuildPhase;
413 | buildActionMask = 2147483647;
414 | files = (
415 | 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,
416 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
417 | );
418 | runOnlyForDeploymentPostprocessing = 0;
419 | };
420 | /* End PBXSourcesBuildPhase section */
421 |
422 | /* Begin PBXTargetDependency section */
423 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
424 | isa = PBXTargetDependency;
425 | target = 13B07F861A680F5B00A75B9A /* KindeSDKRN */;
426 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
427 | };
428 | /* End PBXTargetDependency section */
429 |
430 | /* Begin XCBuildConfiguration section */
431 | 00E356F61AD99517003FC87E /* Debug */ = {
432 | isa = XCBuildConfiguration;
433 | baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-KindeSDKRN-KindeSDKRNTests.debug.xcconfig */;
434 | buildSettings = {
435 | BUNDLE_LOADER = "$(TEST_HOST)";
436 | GCC_PREPROCESSOR_DEFINITIONS = (
437 | "DEBUG=1",
438 | "$(inherited)",
439 | );
440 | INFOPLIST_FILE = KindeSDKRNTests/Info.plist;
441 | IPHONEOS_DEPLOYMENT_TARGET = 12.4;
442 | LD_RUNPATH_SEARCH_PATHS = (
443 | "$(inherited)",
444 | "@executable_path/Frameworks",
445 | "@loader_path/Frameworks",
446 | );
447 | OTHER_LDFLAGS = (
448 | "-ObjC",
449 | "-lc++",
450 | "$(inherited)",
451 | );
452 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
453 | PRODUCT_NAME = "$(TARGET_NAME)";
454 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KindeSDKRN.app/KindeSDKRN";
455 | };
456 | name = Debug;
457 | };
458 | 00E356F71AD99517003FC87E /* Release */ = {
459 | isa = XCBuildConfiguration;
460 | baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-KindeSDKRN-KindeSDKRNTests.release.xcconfig */;
461 | buildSettings = {
462 | BUNDLE_LOADER = "$(TEST_HOST)";
463 | COPY_PHASE_STRIP = NO;
464 | INFOPLIST_FILE = KindeSDKRNTests/Info.plist;
465 | IPHONEOS_DEPLOYMENT_TARGET = 12.4;
466 | LD_RUNPATH_SEARCH_PATHS = (
467 | "$(inherited)",
468 | "@executable_path/Frameworks",
469 | "@loader_path/Frameworks",
470 | );
471 | OTHER_LDFLAGS = (
472 | "-ObjC",
473 | "-lc++",
474 | "$(inherited)",
475 | );
476 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
477 | PRODUCT_NAME = "$(TARGET_NAME)";
478 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KindeSDKRN.app/KindeSDKRN";
479 | };
480 | name = Release;
481 | };
482 | 13B07F941A680F5B00A75B9A /* Debug */ = {
483 | isa = XCBuildConfiguration;
484 | baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-KindeSDKRN.debug.xcconfig */;
485 | buildSettings = {
486 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
487 | CLANG_ENABLE_MODULES = YES;
488 | CURRENT_PROJECT_VERSION = 1;
489 | ENABLE_BITCODE = NO;
490 | INFOPLIST_FILE = KindeSDKRN/Info.plist;
491 | LD_RUNPATH_SEARCH_PATHS = (
492 | "$(inherited)",
493 | "@executable_path/Frameworks",
494 | );
495 | OTHER_LDFLAGS = (
496 | "$(inherited)",
497 | "-ObjC",
498 | "-lc++",
499 | );
500 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
501 | PRODUCT_NAME = KindeSDKRN;
502 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
503 | SWIFT_VERSION = 5.0;
504 | VERSIONING_SYSTEM = "apple-generic";
505 | };
506 | name = Debug;
507 | };
508 | 13B07F951A680F5B00A75B9A /* Release */ = {
509 | isa = XCBuildConfiguration;
510 | baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-KindeSDKRN.release.xcconfig */;
511 | buildSettings = {
512 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
513 | CLANG_ENABLE_MODULES = YES;
514 | CURRENT_PROJECT_VERSION = 1;
515 | INFOPLIST_FILE = KindeSDKRN/Info.plist;
516 | LD_RUNPATH_SEARCH_PATHS = (
517 | "$(inherited)",
518 | "@executable_path/Frameworks",
519 | );
520 | OTHER_LDFLAGS = (
521 | "$(inherited)",
522 | "-ObjC",
523 | "-lc++",
524 | );
525 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
526 | PRODUCT_NAME = KindeSDKRN;
527 | SWIFT_VERSION = 5.0;
528 | VERSIONING_SYSTEM = "apple-generic";
529 | };
530 | name = Release;
531 | };
532 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
533 | isa = XCBuildConfiguration;
534 | buildSettings = {
535 | ALWAYS_SEARCH_USER_PATHS = NO;
536 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
537 | CLANG_CXX_LANGUAGE_STANDARD = "c++17";
538 | CLANG_CXX_LIBRARY = "libc++";
539 | CLANG_ENABLE_MODULES = YES;
540 | CLANG_ENABLE_OBJC_ARC = YES;
541 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
542 | CLANG_WARN_BOOL_CONVERSION = YES;
543 | CLANG_WARN_COMMA = YES;
544 | CLANG_WARN_CONSTANT_CONVERSION = YES;
545 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
546 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
547 | CLANG_WARN_EMPTY_BODY = YES;
548 | CLANG_WARN_ENUM_CONVERSION = YES;
549 | CLANG_WARN_INFINITE_RECURSION = YES;
550 | CLANG_WARN_INT_CONVERSION = YES;
551 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
552 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
553 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
554 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
555 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
556 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
557 | CLANG_WARN_STRICT_PROTOTYPES = YES;
558 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
559 | CLANG_WARN_UNREACHABLE_CODE = YES;
560 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
561 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
562 | COPY_PHASE_STRIP = NO;
563 | ENABLE_STRICT_OBJC_MSGSEND = YES;
564 | ENABLE_TESTABILITY = YES;
565 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
566 | GCC_C_LANGUAGE_STANDARD = gnu99;
567 | GCC_DYNAMIC_NO_PIC = NO;
568 | GCC_NO_COMMON_BLOCKS = YES;
569 | GCC_OPTIMIZATION_LEVEL = 0;
570 | GCC_PREPROCESSOR_DEFINITIONS = (
571 | "DEBUG=1",
572 | "$(inherited)",
573 | );
574 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
575 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
576 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
577 | GCC_WARN_UNDECLARED_SELECTOR = YES;
578 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
579 | GCC_WARN_UNUSED_FUNCTION = YES;
580 | GCC_WARN_UNUSED_VARIABLE = YES;
581 | IPHONEOS_DEPLOYMENT_TARGET = 12.4;
582 | LD_RUNPATH_SEARCH_PATHS = (
583 | /usr/lib/swift,
584 | "$(inherited)",
585 | );
586 | LIBRARY_SEARCH_PATHS = (
587 | "\"$(SDKROOT)/usr/lib/swift\"",
588 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
589 | "\"$(inherited)\"",
590 | );
591 | MTL_ENABLE_DEBUG_INFO = YES;
592 | ONLY_ACTIVE_ARCH = YES;
593 | OTHER_CPLUSPLUSFLAGS = (
594 | "$(OTHER_CFLAGS)",
595 | "-DFOLLY_NO_CONFIG",
596 | "-DFOLLY_MOBILE=1",
597 | "-DFOLLY_USE_LIBCPP=1",
598 | );
599 | REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
600 | SDKROOT = iphoneos;
601 | };
602 | name = Debug;
603 | };
604 | 83CBBA211A601CBA00E9B192 /* Release */ = {
605 | isa = XCBuildConfiguration;
606 | buildSettings = {
607 | ALWAYS_SEARCH_USER_PATHS = NO;
608 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
609 | CLANG_CXX_LANGUAGE_STANDARD = "c++17";
610 | CLANG_CXX_LIBRARY = "libc++";
611 | CLANG_ENABLE_MODULES = YES;
612 | CLANG_ENABLE_OBJC_ARC = YES;
613 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
614 | CLANG_WARN_BOOL_CONVERSION = YES;
615 | CLANG_WARN_COMMA = YES;
616 | CLANG_WARN_CONSTANT_CONVERSION = YES;
617 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
618 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
619 | CLANG_WARN_EMPTY_BODY = YES;
620 | CLANG_WARN_ENUM_CONVERSION = YES;
621 | CLANG_WARN_INFINITE_RECURSION = YES;
622 | CLANG_WARN_INT_CONVERSION = YES;
623 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
624 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
625 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
626 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
627 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
628 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
629 | CLANG_WARN_STRICT_PROTOTYPES = YES;
630 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
631 | CLANG_WARN_UNREACHABLE_CODE = YES;
632 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
633 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
634 | COPY_PHASE_STRIP = YES;
635 | ENABLE_NS_ASSERTIONS = NO;
636 | ENABLE_STRICT_OBJC_MSGSEND = YES;
637 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
638 | GCC_C_LANGUAGE_STANDARD = gnu99;
639 | GCC_NO_COMMON_BLOCKS = YES;
640 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
641 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
642 | GCC_WARN_UNDECLARED_SELECTOR = YES;
643 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
644 | GCC_WARN_UNUSED_FUNCTION = YES;
645 | GCC_WARN_UNUSED_VARIABLE = YES;
646 | IPHONEOS_DEPLOYMENT_TARGET = 12.4;
647 | LD_RUNPATH_SEARCH_PATHS = (
648 | /usr/lib/swift,
649 | "$(inherited)",
650 | );
651 | LIBRARY_SEARCH_PATHS = (
652 | "\"$(SDKROOT)/usr/lib/swift\"",
653 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
654 | "\"$(inherited)\"",
655 | );
656 | MTL_ENABLE_DEBUG_INFO = NO;
657 | OTHER_CPLUSPLUSFLAGS = (
658 | "$(OTHER_CFLAGS)",
659 | "-DFOLLY_NO_CONFIG",
660 | "-DFOLLY_MOBILE=1",
661 | "-DFOLLY_USE_LIBCPP=1",
662 | );
663 | REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
664 | SDKROOT = iphoneos;
665 | VALIDATE_PRODUCT = YES;
666 | };
667 | name = Release;
668 | };
669 | /* End XCBuildConfiguration section */
670 |
671 | /* Begin XCConfigurationList section */
672 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "KindeSDKRNTests" */ = {
673 | isa = XCConfigurationList;
674 | buildConfigurations = (
675 | 00E356F61AD99517003FC87E /* Debug */,
676 | 00E356F71AD99517003FC87E /* Release */,
677 | );
678 | defaultConfigurationIsVisible = 0;
679 | defaultConfigurationName = Release;
680 | };
681 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "KindeSDKRN" */ = {
682 | isa = XCConfigurationList;
683 | buildConfigurations = (
684 | 13B07F941A680F5B00A75B9A /* Debug */,
685 | 13B07F951A680F5B00A75B9A /* Release */,
686 | );
687 | defaultConfigurationIsVisible = 0;
688 | defaultConfigurationName = Release;
689 | };
690 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "KindeSDKRN" */ = {
691 | isa = XCConfigurationList;
692 | buildConfigurations = (
693 | 83CBBA201A601CBA00E9B192 /* Debug */,
694 | 83CBBA211A601CBA00E9B192 /* Release */,
695 | );
696 | defaultConfigurationIsVisible = 0;
697 | defaultConfigurationName = Release;
698 | };
699 | /* End XCConfigurationList section */
700 | };
701 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
702 | }
703 |
--------------------------------------------------------------------------------