From 4d4a4882511767c66c39c8d096b21813b541c919 Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Wed, 20 Apr 2022 21:06:36 +0400 Subject: [PATCH] [RNKC-004] - reanme package to react-native-keyboard-controller --- CONTRIBUTING.md | 4 +- README.md | 8 +- android/build.gradle | 6 +- android/gradle.properties | 6 +- android/src/main/AndroidManifest.xml | 2 +- .../KeyboardControllerPackage.kt} | 6 +- .../KeyboardControllerViewManager.kt} | 8 +- ...anslateDeferringInsetsAnimationCallback.kt | 4 +- .../events/KeyboardTransitionEvent.kt | 2 +- example/android/app/build.gradle | 10 +- .../ReactNativeFlipper.java | 2 +- .../android/app/src/main/AndroidManifest.xml | 2 +- .../MainActivity.java | 5 +- .../MainApplication.java | 10 +- .../app/src/main/res/values/strings.xml | 2 +- example/android/settings.gradle | 6 +- example/app.json | 4 +- example/ios/File.swift | 2 +- ...yboardControllerExample-Bridging-Header.h} | 0 .../project.pbxproj | 194 +++++++++--------- .../xcschemes/KeyboardEventsExample.xcscheme | 24 +-- .../contents.xcworkspacedata | 5 +- .../ios/KeyboardEventsExample/AppDelegate.m | 2 +- example/ios/KeyboardEventsExample/Info.plist | 2 +- .../LaunchScreen.storyboard | 2 +- example/ios/Podfile | 4 +- example/ios/Podfile.lock | 10 +- example/package.json | 4 +- example/src/App.tsx | 2 +- ...h => KeyboardController-Bridging-Header.h} | 0 .../project.pbxproj | 48 ++--- ...ager.m => KeyboardControllerViewManager.m} | 2 +- ...ft => KeyboardControllerViewManager.swift} | 10 +- package.json | 10 +- ...> react-native-keyboard-controller.podspec | 4 +- src/index.tsx | 22 +- tsconfig.json | 2 +- 37 files changed, 219 insertions(+), 217 deletions(-) rename android/src/main/java/com/{reactnativekeyboardevents/KeyboardEventsPackage.kt => reactnativekeyboardcontroller/KeyboardControllerPackage.kt} (73%) rename android/src/main/java/com/{reactnativekeyboardevents/KeyboardEventsViewManager.kt => reactnativekeyboardcontroller/KeyboardControllerViewManager.kt} (93%) rename android/src/main/java/com/{reactnativekeyboardevents => reactnativekeyboardcontroller}/TranslateDeferringInsetsAnimationCallback.kt (96%) rename android/src/main/java/com/{reactnativekeyboardevents => reactnativekeyboardcontroller}/events/KeyboardTransitionEvent.kt (93%) rename example/android/app/src/main/java/com/example/{reactnativekeyboardevents => reactnativekeyboardcontroller}/MainActivity.java (87%) rename example/android/app/src/main/java/com/example/{reactnativekeyboardevents => reactnativekeyboardcontroller}/MainApplication.java (90%) rename example/ios/{KeyboardEventsExample-Bridging-Header.h => KeyboardControllerExample-Bridging-Header.h} (100%) rename ios/{KeyboardEvents-Bridging-Header.h => KeyboardController-Bridging-Header.h} (100%) rename ios/{KeyboardEvents.xcodeproj => KeyboardController.xcodeproj}/project.pbxproj (78%) rename ios/{KeyboardEventsViewManager.m => KeyboardControllerViewManager.m} (52%) rename ios/{KeyboardEventsViewManager.swift => KeyboardControllerViewManager.swift} (73%) rename react-native-keyboard-events.podspec => react-native-keyboard-controller.podspec (80%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8297531ce3..ec7b1769f4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -51,9 +51,9 @@ Remember to add tests for your change if possible. Run the unit tests by: yarn test ``` -To edit the Objective-C files, open `example/ios/KeyboardEventsExample.xcworkspace` in XCode and find the source files at `Pods > Development Pods > react-native-keyboard-events`. +To edit the Objective-C files, open `example/ios/KeyboardControllerExample.xcworkspace` in XCode and find the source files at `Pods > Development Pods > react-native-keyboard-controller`. -To edit the Kotlin files, open `example/android` in Android studio and find the source files at `reactnativekeyboardevents` under `Android`. +To edit the Kotlin files, open `example/android` in Android studio and find the source files at `reactnativekeyboardcontroller` under `Android`. ### Commit message convention diff --git a/README.md b/README.md index d316492332..46b52c30c6 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,21 @@ -# react-native-keyboard-events +# react-native-keyboard-controller Platform agnostic keyboard manager ## Installation ```sh -npm install react-native-keyboard-events +npm install react-native-keyboard-controller ``` ## Usage ```js -import { KeyboardEventsView } from "react-native-keyboard-events"; +import { KeyboardControllerView } from "react-native-keyboard-controller"; // ... - + ``` ## Contributing diff --git a/android/build.gradle b/android/build.gradle index 8e1cc44d01..19ee440ae0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,6 +1,6 @@ buildscript { // Buildscript is evaluated before everything else so we can't use getExtOrDefault - def kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : project.properties['KeyboardEvents_kotlinVersion'] + def kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : project.properties['KeyboardController_kotlinVersion'] repositories { google() @@ -18,11 +18,11 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' def getExtOrDefault(name) { - return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['KeyboardEvents_' + name] + return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['KeyboardController_' + name] } def getExtOrIntegerDefault(name) { - return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['KeyboardEvents_' + name]).toInteger() + return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['KeyboardController_' + name]).toInteger() } android { diff --git a/android/gradle.properties b/android/gradle.properties index f156b07128..dce9333f8e 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,3 +1,3 @@ -KeyboardEvents_kotlinVersion=1.3.50 -KeyboardEvents_compileSdkVersion=29 -KeyboardEvents_targetSdkVersion=29 +KeyboardController_kotlinVersion=1.3.50 +KeyboardController_compileSdkVersion=29 +KeyboardController_targetSdkVersion=29 diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 7102f502d4..2debccf1ac 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,4 +1,4 @@ + package="com.reactnativekeyboardcontroller"> diff --git a/android/src/main/java/com/reactnativekeyboardevents/KeyboardEventsPackage.kt b/android/src/main/java/com/reactnativekeyboardcontroller/KeyboardControllerPackage.kt similarity index 73% rename from android/src/main/java/com/reactnativekeyboardevents/KeyboardEventsPackage.kt rename to android/src/main/java/com/reactnativekeyboardcontroller/KeyboardControllerPackage.kt index d1d2242527..969cce95b2 100644 --- a/android/src/main/java/com/reactnativekeyboardevents/KeyboardEventsPackage.kt +++ b/android/src/main/java/com/reactnativekeyboardcontroller/KeyboardControllerPackage.kt @@ -1,16 +1,16 @@ -package com.reactnativekeyboardevents +package com.reactnativekeyboardcontroller import com.facebook.react.ReactPackage import com.facebook.react.bridge.NativeModule import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.uimanager.ViewManager -class KeyboardEventsPackage : ReactPackage { +class KeyboardControllerPackage : ReactPackage { override fun createNativeModules(reactContext: ReactApplicationContext): List { return emptyList() } override fun createViewManagers(reactContext: ReactApplicationContext): List> { - return listOf(KeyboardEventsViewManager(reactContext)) + return listOf(KeyboardControllerViewManager(reactContext)) } } diff --git a/android/src/main/java/com/reactnativekeyboardevents/KeyboardEventsViewManager.kt b/android/src/main/java/com/reactnativekeyboardcontroller/KeyboardControllerViewManager.kt similarity index 93% rename from android/src/main/java/com/reactnativekeyboardevents/KeyboardEventsViewManager.kt rename to android/src/main/java/com/reactnativekeyboardcontroller/KeyboardControllerViewManager.kt index a7d9864491..26a19cadc4 100644 --- a/android/src/main/java/com/reactnativekeyboardevents/KeyboardEventsViewManager.kt +++ b/android/src/main/java/com/reactnativekeyboardcontroller/KeyboardControllerViewManager.kt @@ -1,4 +1,4 @@ -package com.reactnativekeyboardevents +package com.reactnativekeyboardcontroller import androidx.core.view.ViewCompat import androidx.core.view.WindowCompat @@ -10,7 +10,7 @@ import com.facebook.react.uimanager.ThemedReactContext import com.facebook.react.uimanager.UIManagerModule import com.facebook.react.views.view.ReactViewGroup import com.facebook.react.views.view.ReactViewManager -import com.reactnativekeyboardevents.events.KeyboardTransitionEvent +import com.reactnativekeyboardcontroller.events.KeyboardTransitionEvent import java.util.* import kotlin.concurrent.schedule @@ -23,7 +23,7 @@ import kotlin.concurrent.schedule // 6. (x) Стили не применяются к кастомной вьюшке - унаследовался от реактовской компоненты // 7. (x) Не мапится ивент на анимейтед (addListener ничего не возвращает) - see 5, 8 // 8. (x) useNativeDriver: false - createAnimatedComponent -class KeyboardEventsViewManager(reactContext: ReactApplicationContext?) : ReactViewManager() { +class KeyboardControllerViewManager(reactContext: ReactApplicationContext?) : ReactViewManager() { private var mReactContext = reactContext; init { /*println("LALALA") @@ -46,7 +46,7 @@ class KeyboardEventsViewManager(reactContext: ReactApplicationContext?) : ReactV )*/ } - override fun getName() = "KeyboardEventsView" + override fun getName() = "KeyboardControllerView" override fun createViewInstance(reactContext: ThemedReactContext): ReactViewGroup { val view = ReactViewGroup(reactContext) diff --git a/android/src/main/java/com/reactnativekeyboardevents/TranslateDeferringInsetsAnimationCallback.kt b/android/src/main/java/com/reactnativekeyboardcontroller/TranslateDeferringInsetsAnimationCallback.kt similarity index 96% rename from android/src/main/java/com/reactnativekeyboardevents/TranslateDeferringInsetsAnimationCallback.kt rename to android/src/main/java/com/reactnativekeyboardcontroller/TranslateDeferringInsetsAnimationCallback.kt index c49307939b..f3c095183d 100644 --- a/android/src/main/java/com/reactnativekeyboardevents/TranslateDeferringInsetsAnimationCallback.kt +++ b/android/src/main/java/com/reactnativekeyboardcontroller/TranslateDeferringInsetsAnimationCallback.kt @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.reactnativekeyboardevents +package com.reactnativekeyboardcontroller import androidx.core.graphics.Insets import androidx.core.view.WindowInsetsAnimationCompat import androidx.core.view.WindowInsetsCompat import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.uimanager.UIManagerModule -import com.reactnativekeyboardevents.events.KeyboardTransitionEvent +import com.reactnativekeyboardcontroller.events.KeyboardTransitionEvent /** * A [WindowInsetsAnimationCompat.Callback] which will translate/move the given view during any diff --git a/android/src/main/java/com/reactnativekeyboardevents/events/KeyboardTransitionEvent.kt b/android/src/main/java/com/reactnativekeyboardcontroller/events/KeyboardTransitionEvent.kt similarity index 93% rename from android/src/main/java/com/reactnativekeyboardevents/events/KeyboardTransitionEvent.kt rename to android/src/main/java/com/reactnativekeyboardcontroller/events/KeyboardTransitionEvent.kt index e1029a962d..3750ea56f1 100644 --- a/android/src/main/java/com/reactnativekeyboardevents/events/KeyboardTransitionEvent.kt +++ b/android/src/main/java/com/reactnativekeyboardcontroller/events/KeyboardTransitionEvent.kt @@ -1,4 +1,4 @@ -package com.reactnativekeyboardevents.events +package com.reactnativekeyboardcontroller.events import com.facebook.react.bridge.Arguments import com.facebook.react.uimanager.events.Event diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index a9923c1c0a..d5801da7a4 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -37,7 +37,7 @@ import com.android.build.OutputFile * // bundleInBeta: true, * * // whether to disable dev mode in custom build variants (by default only disabled in release) - * // for KeyboardEventsExample: to disable dev mode in the staging build type (if configured) + * // for KeyboardControllerExample: to disable dev mode in the staging build type (if configured) * devDisabledInStaging: true, * // The configuration property can be in the following formats * // 'devDisabledIn${productFlavor}${buildType}' @@ -64,7 +64,7 @@ import com.android.build.OutputFile * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to * // date; if you have any other folders that you want to ignore for performance reasons (gradle * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ - * // for KeyboardEventsExample, you might want to remove it from here. + * // for KeyboardControllerExample, you might want to remove it from here. * inputExcludes: ["android/**", "ios/**"], * * // override which node gets called and with what additional arguments @@ -100,7 +100,7 @@ def enableProguardInReleaseBuilds = false /** * The preferred build flavor of JavaScriptCore. * - * For KeyboardEventsExample, to use the international variant, you can use: + * For KeyboardControllerExample, to use the international variant, you can use: * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` * * The international variant includes ICU i18n library and necessary data @@ -128,7 +128,7 @@ android { } defaultConfig { - applicationId "com.example.reactnativekeyboardevents" + applicationId "com.example.reactnativekeyboardcontroller" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 @@ -204,7 +204,7 @@ dependencies { implementation jscFlavor } - implementation project(':reactnativekeyboardevents') + implementation project(':reactnativekeyboardcontroller') } // Run this once to be able to run the application with BUCK diff --git a/example/android/app/src/debug/java/com/example/reactnativekeyboardevents/ReactNativeFlipper.java b/example/android/app/src/debug/java/com/example/reactnativekeyboardevents/ReactNativeFlipper.java index f530e26b73..7dd200ec4c 100644 --- a/example/android/app/src/debug/java/com/example/reactnativekeyboardevents/ReactNativeFlipper.java +++ b/example/android/app/src/debug/java/com/example/reactnativekeyboardevents/ReactNativeFlipper.java @@ -4,7 +4,7 @@ *

This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ -package com.example.reactnativekeyboardevents; +package com.example.reactnativekeyboardcontroller; import android.content.Context; import com.facebook.flipper.android.AndroidFlipperClient; diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index 59e83f5ad0..830f06dd0c 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.example.reactnativekeyboardcontroller"> diff --git a/example/android/app/src/main/java/com/example/reactnativekeyboardevents/MainActivity.java b/example/android/app/src/main/java/com/example/reactnativekeyboardcontroller/MainActivity.java similarity index 87% rename from example/android/app/src/main/java/com/example/reactnativekeyboardevents/MainActivity.java rename to example/android/app/src/main/java/com/example/reactnativekeyboardcontroller/MainActivity.java index 3be7cc363e..31e1f6ace5 100644 --- a/example/android/app/src/main/java/com/example/reactnativekeyboardevents/MainActivity.java +++ b/example/android/app/src/main/java/com/example/reactnativekeyboardcontroller/MainActivity.java @@ -1,4 +1,4 @@ -package com.example.reactnativekeyboardevents; +package com.example.reactnativekeyboardcontroller; import android.os.Bundle; @@ -7,14 +7,13 @@ import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { - /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */ @Override protected String getMainComponentName() { - return "KeyboardEventsExample"; + return "KeyboardControllerExample"; } @Override diff --git a/example/android/app/src/main/java/com/example/reactnativekeyboardevents/MainApplication.java b/example/android/app/src/main/java/com/example/reactnativekeyboardcontroller/MainApplication.java similarity index 90% rename from example/android/app/src/main/java/com/example/reactnativekeyboardevents/MainApplication.java rename to example/android/app/src/main/java/com/example/reactnativekeyboardcontroller/MainApplication.java index 11768e3df0..d5331f62cf 100644 --- a/example/android/app/src/main/java/com/example/reactnativekeyboardevents/MainApplication.java +++ b/example/android/app/src/main/java/com/example/reactnativekeyboardcontroller/MainApplication.java @@ -1,4 +1,4 @@ -package com.example.reactnativekeyboardevents; +package com.example.reactnativekeyboardcontroller; import android.app.Application; import android.content.Context; @@ -10,7 +10,7 @@ import com.facebook.soloader.SoLoader; import java.lang.reflect.InvocationTargetException; import java.util.List; -import com.reactnativekeyboardevents.KeyboardEventsPackage; +import com.reactnativekeyboardcontroller.KeyboardControllerPackage; public class MainApplication extends Application implements ReactApplication { @@ -25,9 +25,9 @@ public boolean getUseDeveloperSupport() { protected List getPackages() { @SuppressWarnings("UnnecessaryLocalVariable") List packages = new PackageList(this).getPackages(); - // Packages that cannot be autolinked yet can be added manually here, for KeyboardEventsExample: + // Packages that cannot be autolinked yet can be added manually here, for KeyboardControllerExample: // packages.add(new MyReactNativePackage()); - packages.add(new KeyboardEventsPackage()); + packages.add(new KeyboardControllerPackage()); return packages; } @@ -61,7 +61,7 @@ private static void initializeFlipper(Context context, ReactInstanceManager reac We use reflection here to pick up the class that initializes Flipper, since Flipper library is not available in release mode */ - Class aClass = Class.forName("com.example.reactnativekeyboardevents.ReactNativeFlipper"); + Class aClass = Class.forName("com.example.reactnativekeyboardcontroller.ReactNativeFlipper"); aClass .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class) .invoke(null, context, reactInstanceManager); diff --git a/example/android/app/src/main/res/values/strings.xml b/example/android/app/src/main/res/values/strings.xml index df3261b6aa..8a690bc730 100644 --- a/example/android/app/src/main/res/values/strings.xml +++ b/example/android/app/src/main/res/values/strings.xml @@ -1,3 +1,3 @@ - KeyboardEvents Example + KeyboardController Example diff --git a/example/android/settings.gradle b/example/android/settings.gradle index 41f03b20d6..bb61ff72da 100644 --- a/example/android/settings.gradle +++ b/example/android/settings.gradle @@ -1,6 +1,6 @@ -rootProject.name = 'KeyboardEventsExample' +rootProject.name = 'KeyboardControllerExample' apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) include ':app' -include ':reactnativekeyboardevents' -project(':reactnativekeyboardevents').projectDir = new File(rootProject.projectDir, '../../android') +include ':reactnativekeyboardcontroller' +project(':reactnativekeyboardcontroller').projectDir = new File(rootProject.projectDir, '../../android') diff --git a/example/app.json b/example/app.json index 26b47df32f..beeb3f9801 100644 --- a/example/app.json +++ b/example/app.json @@ -1,4 +1,4 @@ { - "name": "KeyboardEventsExample", - "displayName": "KeyboardEvents Example" + "name": "KeyboardControllerExample", + "displayName": "KeyboardController Example" } diff --git a/example/ios/File.swift b/example/ios/File.swift index 9fbff6c07d..1bf2e88097 100644 --- a/example/ios/File.swift +++ b/example/ios/File.swift @@ -1,6 +1,6 @@ // // File.swift -// KeyboardEventsExample +// KeyboardControllerExample // import Foundation diff --git a/example/ios/KeyboardEventsExample-Bridging-Header.h b/example/ios/KeyboardControllerExample-Bridging-Header.h similarity index 100% rename from example/ios/KeyboardEventsExample-Bridging-Header.h rename to example/ios/KeyboardControllerExample-Bridging-Header.h diff --git a/example/ios/KeyboardEventsExample.xcodeproj/project.pbxproj b/example/ios/KeyboardEventsExample.xcodeproj/project.pbxproj index 60e94ea0c5..fac8187cc1 100644 --- a/example/ios/KeyboardEventsExample.xcodeproj/project.pbxproj +++ b/example/ios/KeyboardEventsExample.xcodeproj/project.pbxproj @@ -7,15 +7,15 @@ objects = { /* Begin PBXBuildFile section */ - 00E356F31AD99517003FC87E /* KeyboardEventsExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* KeyboardEventsExampleTests.m */; }; + 00E356F31AD99517003FC87E /* KeyboardControllerExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* KeyboardControllerExampleTests.m */; }; 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; - 2DCD954D1E0B4F2C00145EB5 /* KeyboardEventsExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* KeyboardEventsExampleTests.m */; }; - 4C39C56BAD484C67AA576FFA /* libPods-KeyboardEventsExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CA3E69C5B9553B26FBA2DF04 /* libPods-KeyboardEventsExample.a */; }; + 2DCD954D1E0B4F2C00145EB5 /* KeyboardControllerExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* KeyboardControllerExampleTests.m */; }; + 4C39C56BAD484C67AA576FFA /* libPods-KeyboardControllerExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CA3E69C5B9553B26FBA2DF04 /* libPods-KeyboardControllerExample.a */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; /* End PBXBuildFile section */ @@ -25,34 +25,34 @@ containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; proxyType = 1; remoteGlobalIDString = 13B07F861A680F5B00A75B9A; - remoteInfo = KeyboardEventsExample; + remoteInfo = KeyboardControllerExample; }; 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; proxyType = 1; remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; - remoteInfo = "KeyboardEventsExample-tvOS"; + remoteInfo = "KeyboardControllerExample-tvOS"; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; - 00E356EE1AD99517003FC87E /* KeyboardEventsExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KeyboardEventsExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 00E356EE1AD99517003FC87E /* KeyboardControllerExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KeyboardControllerExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 00E356F21AD99517003FC87E /* KeyboardEventsExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KeyboardEventsExampleTests.m; sourceTree = ""; }; - 13B07F961A680F5B00A75B9A /* KeyboardEventsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KeyboardEventsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = KeyboardEventsExample/AppDelegate.h; sourceTree = ""; }; - 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = KeyboardEventsExample/AppDelegate.m; sourceTree = ""; }; - 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = KeyboardEventsExample/Images.xcassets; sourceTree = ""; }; - 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = KeyboardEventsExample/Info.plist; sourceTree = ""; }; - 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = KeyboardEventsExample/main.m; sourceTree = ""; }; - 2D02E47B1E0B4A5D006451C7 /* KeyboardEventsExample-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "KeyboardEventsExample-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 2D02E4901E0B4A5D006451C7 /* KeyboardEventsExample-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "KeyboardEventsExample-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 47F7ED3B7971BE374F7B8635 /* Pods-KeyboardEventsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KeyboardEventsExample.debug.xcconfig"; path = "Target Support Files/Pods-KeyboardEventsExample/Pods-KeyboardEventsExample.debug.xcconfig"; sourceTree = ""; }; - 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = KeyboardEventsExample/LaunchScreen.storyboard; sourceTree = ""; }; - CA3E69C5B9553B26FBA2DF04 /* libPods-KeyboardEventsExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-KeyboardEventsExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - E00ACF0FDA8BF921659E2F9A /* Pods-KeyboardEventsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KeyboardEventsExample.release.xcconfig"; path = "Target Support Files/Pods-KeyboardEventsExample/Pods-KeyboardEventsExample.release.xcconfig"; sourceTree = ""; }; + 00E356F21AD99517003FC87E /* KeyboardControllerExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KeyboardControllerExampleTests.m; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* KeyboardControllerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KeyboardControllerExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = KeyboardControllerExample/AppDelegate.h; sourceTree = ""; }; + 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = KeyboardControllerExample/AppDelegate.m; sourceTree = ""; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = KeyboardControllerExample/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = KeyboardControllerExample/Info.plist; sourceTree = ""; }; + 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = KeyboardControllerExample/main.m; sourceTree = ""; }; + 2D02E47B1E0B4A5D006451C7 /* KeyboardControllerExample-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "KeyboardControllerExample-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2D02E4901E0B4A5D006451C7 /* KeyboardControllerExample-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "KeyboardControllerExample-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 47F7ED3B7971BE374F7B8635 /* Pods-KeyboardControllerExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KeyboardControllerExample.debug.xcconfig"; path = "Target Support Files/Pods-KeyboardControllerExample/Pods-KeyboardControllerExample.debug.xcconfig"; sourceTree = ""; }; + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = KeyboardControllerExample/LaunchScreen.storyboard; sourceTree = ""; }; + CA3E69C5B9553B26FBA2DF04 /* libPods-KeyboardControllerExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-KeyboardControllerExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + E00ACF0FDA8BF921659E2F9A /* Pods-KeyboardControllerExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KeyboardControllerExample.release.xcconfig"; path = "Target Support Files/Pods-KeyboardControllerExample/Pods-KeyboardControllerExample.release.xcconfig"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; /* End PBXFileReference section */ @@ -69,7 +69,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 4C39C56BAD484C67AA576FFA /* libPods-KeyboardEventsExample.a in Frameworks */, + 4C39C56BAD484C67AA576FFA /* libPods-KeyboardControllerExample.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -90,13 +90,13 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 00E356EF1AD99517003FC87E /* KeyboardEventsExampleTests */ = { + 00E356EF1AD99517003FC87E /* KeyboardControllerExampleTests */ = { isa = PBXGroup; children = ( - 00E356F21AD99517003FC87E /* KeyboardEventsExampleTests.m */, + 00E356F21AD99517003FC87E /* KeyboardControllerExampleTests.m */, 00E356F01AD99517003FC87E /* Supporting Files */, ); - path = KeyboardEventsExampleTests; + path = KeyboardControllerExampleTests; sourceTree = ""; }; 00E356F01AD99517003FC87E /* Supporting Files */ = { @@ -107,7 +107,7 @@ name = "Supporting Files"; sourceTree = ""; }; - 13B07FAE1A68108700A75B9A /* KeyboardEventsExample */ = { + 13B07FAE1A68108700A75B9A /* KeyboardControllerExample */ = { isa = PBXGroup; children = ( 008F07F21AC5B25A0029DE68 /* main.jsbundle */, @@ -118,7 +118,7 @@ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 13B07FB71A68108700A75B9A /* main.m */, ); - name = KeyboardEventsExample; + name = KeyboardControllerExample; sourceTree = ""; }; 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { @@ -126,7 +126,7 @@ children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, ED2971642150620600B7C4FE /* JavaScriptCore.framework */, - CA3E69C5B9553B26FBA2DF04 /* libPods-KeyboardEventsExample.a */, + CA3E69C5B9553B26FBA2DF04 /* libPods-KeyboardControllerExample.a */, ); name = Frameworks; sourceTree = ""; @@ -134,8 +134,8 @@ 6B9684456A2045ADE5A6E47E /* Pods */ = { isa = PBXGroup; children = ( - 47F7ED3B7971BE374F7B8635 /* Pods-KeyboardEventsExample.debug.xcconfig */, - E00ACF0FDA8BF921659E2F9A /* Pods-KeyboardEventsExample.release.xcconfig */, + 47F7ED3B7971BE374F7B8635 /* Pods-KeyboardControllerExample.debug.xcconfig */, + E00ACF0FDA8BF921659E2F9A /* Pods-KeyboardControllerExample.release.xcconfig */, ); name = Pods; path = Pods; @@ -151,9 +151,9 @@ 83CBB9F61A601CBA00E9B192 = { isa = PBXGroup; children = ( - 13B07FAE1A68108700A75B9A /* KeyboardEventsExample */, + 13B07FAE1A68108700A75B9A /* KeyboardControllerExample */, 832341AE1AAA6A7D00B99B32 /* Libraries */, - 00E356EF1AD99517003FC87E /* KeyboardEventsExampleTests */, + 00E356EF1AD99517003FC87E /* KeyboardControllerExampleTests */, 83CBBA001A601CBA00E9B192 /* Products */, 2D16E6871FA4F8E400B85C8A /* Frameworks */, 6B9684456A2045ADE5A6E47E /* Pods */, @@ -166,10 +166,10 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* KeyboardEventsExample.app */, - 00E356EE1AD99517003FC87E /* KeyboardEventsExampleTests.xctest */, - 2D02E47B1E0B4A5D006451C7 /* KeyboardEventsExample-tvOS.app */, - 2D02E4901E0B4A5D006451C7 /* KeyboardEventsExample-tvOSTests.xctest */, + 13B07F961A680F5B00A75B9A /* KeyboardControllerExample.app */, + 00E356EE1AD99517003FC87E /* KeyboardControllerExampleTests.xctest */, + 2D02E47B1E0B4A5D006451C7 /* KeyboardControllerExample-tvOS.app */, + 2D02E4901E0B4A5D006451C7 /* KeyboardControllerExample-tvOSTests.xctest */, ); name = Products; sourceTree = ""; @@ -177,9 +177,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 00E356ED1AD99517003FC87E /* KeyboardEventsExampleTests */ = { + 00E356ED1AD99517003FC87E /* KeyboardControllerExampleTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "KeyboardEventsExampleTests" */; + buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "KeyboardControllerExampleTests" */; buildPhases = ( 00E356EA1AD99517003FC87E /* Sources */, 00E356EB1AD99517003FC87E /* Frameworks */, @@ -190,14 +190,14 @@ dependencies = ( 00E356F51AD99517003FC87E /* PBXTargetDependency */, ); - name = KeyboardEventsExampleTests; - productName = KeyboardEventsExampleTests; - productReference = 00E356EE1AD99517003FC87E /* KeyboardEventsExampleTests.xctest */; + name = KeyboardControllerExampleTests; + productName = KeyboardControllerExampleTests; + productReference = 00E356EE1AD99517003FC87E /* KeyboardControllerExampleTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; - 13B07F861A680F5B00A75B9A /* KeyboardEventsExample */ = { + 13B07F861A680F5B00A75B9A /* KeyboardControllerExample */ = { isa = PBXNativeTarget; - buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "KeyboardEventsExample" */; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "KeyboardControllerExample" */; buildPhases = ( 4F0A6FC082772762E3E4C96C /* [CP] Check Pods Manifest.lock */, FD10A7F022414F080027D42C /* Start Packager */, @@ -212,14 +212,14 @@ ); dependencies = ( ); - name = KeyboardEventsExample; - productName = KeyboardEventsExample; - productReference = 13B07F961A680F5B00A75B9A /* KeyboardEventsExample.app */; + name = KeyboardControllerExample; + productName = KeyboardControllerExample; + productReference = 13B07F961A680F5B00A75B9A /* KeyboardControllerExample.app */; productType = "com.apple.product-type.application"; }; - 2D02E47A1E0B4A5D006451C7 /* KeyboardEventsExample-tvOS */ = { + 2D02E47A1E0B4A5D006451C7 /* KeyboardControllerExample-tvOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "KeyboardEventsExample-tvOS" */; + buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "KeyboardControllerExample-tvOS" */; buildPhases = ( FD10A7F122414F3F0027D42C /* Start Packager */, 2D02E4771E0B4A5D006451C7 /* Sources */, @@ -231,14 +231,14 @@ ); dependencies = ( ); - name = "KeyboardEventsExample-tvOS"; - productName = "KeyboardEventsExample-tvOS"; - productReference = 2D02E47B1E0B4A5D006451C7 /* KeyboardEventsExample-tvOS.app */; + name = "KeyboardControllerExample-tvOS"; + productName = "KeyboardControllerExample-tvOS"; + productReference = 2D02E47B1E0B4A5D006451C7 /* KeyboardControllerExample-tvOS.app */; productType = "com.apple.product-type.application"; }; - 2D02E48F1E0B4A5D006451C7 /* KeyboardEventsExample-tvOSTests */ = { + 2D02E48F1E0B4A5D006451C7 /* KeyboardControllerExample-tvOSTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "KeyboardEventsExample-tvOSTests" */; + buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "KeyboardControllerExample-tvOSTests" */; buildPhases = ( 2D02E48C1E0B4A5D006451C7 /* Sources */, 2D02E48D1E0B4A5D006451C7 /* Frameworks */, @@ -249,9 +249,9 @@ dependencies = ( 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, ); - name = "KeyboardEventsExample-tvOSTests"; - productName = "KeyboardEventsExample-tvOSTests"; - productReference = 2D02E4901E0B4A5D006451C7 /* KeyboardEventsExample-tvOSTests.xctest */; + name = "KeyboardControllerExample-tvOSTests"; + productName = "KeyboardControllerExample-tvOSTests"; + productReference = 2D02E4901E0B4A5D006451C7 /* KeyboardControllerExample-tvOSTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ @@ -280,7 +280,7 @@ }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "KeyboardEventsExample" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "KeyboardControllerExample" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = en; hasScannedForEncodings = 0; @@ -293,10 +293,10 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 13B07F861A680F5B00A75B9A /* KeyboardEventsExample */, - 00E356ED1AD99517003FC87E /* KeyboardEventsExampleTests */, - 2D02E47A1E0B4A5D006451C7 /* KeyboardEventsExample-tvOS */, - 2D02E48F1E0B4A5D006451C7 /* KeyboardEventsExample-tvOSTests */, + 13B07F861A680F5B00A75B9A /* KeyboardControllerExample */, + 00E356ED1AD99517003FC87E /* KeyboardControllerExampleTests */, + 2D02E47A1E0B4A5D006451C7 /* KeyboardControllerExample-tvOS */, + 2D02E48F1E0B4A5D006451C7 /* KeyboardControllerExample-tvOSTests */, ); }; /* End PBXProject section */ @@ -356,7 +356,7 @@ files = ( ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-KeyboardEventsExample/Pods-KeyboardEventsExample-frameworks.sh", + "${PODS_ROOT}/Target Support Files/Pods-KeyboardControllerExample/Pods-KeyboardControllerExample-frameworks.sh", "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL", ); name = "[CP] Embed Pods Frameworks"; @@ -365,7 +365,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KeyboardEventsExample/Pods-KeyboardEventsExample-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KeyboardControllerExample/Pods-KeyboardControllerExample-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { @@ -397,7 +397,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-KeyboardEventsExample-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-KeyboardControllerExample-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -410,7 +410,7 @@ files = ( ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-KeyboardEventsExample/Pods-KeyboardEventsExample-resources.sh", + "${PODS_ROOT}/Target Support Files/Pods-KeyboardControllerExample/Pods-KeyboardControllerExample-resources.sh", "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle", ); name = "[CP] Copy Pods Resources"; @@ -419,7 +419,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KeyboardEventsExample/Pods-KeyboardEventsExample-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KeyboardControllerExample/Pods-KeyboardControllerExample-resources.sh\"\n"; showEnvVarsInLog = 0; }; FD10A7F022414F080027D42C /* Start Packager */ = { @@ -467,7 +467,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 00E356F31AD99517003FC87E /* KeyboardEventsExampleTests.m in Sources */, + 00E356F31AD99517003FC87E /* KeyboardControllerExampleTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -493,7 +493,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2DCD954D1E0B4F2C00145EB5 /* KeyboardEventsExampleTests.m in Sources */, + 2DCD954D1E0B4F2C00145EB5 /* KeyboardControllerExampleTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -502,12 +502,12 @@ /* Begin PBXTargetDependency section */ 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 13B07F861A680F5B00A75B9A /* KeyboardEventsExample */; + target = 13B07F861A680F5B00A75B9A /* KeyboardControllerExample */; targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; }; 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 2D02E47A1E0B4A5D006451C7 /* KeyboardEventsExample-tvOS */; + target = 2D02E47A1E0B4A5D006451C7 /* KeyboardControllerExample-tvOS */; targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -521,7 +521,7 @@ "DEBUG=1", "$(inherited)", ); - INFOPLIST_FILE = KeyboardEventsExampleTests/Info.plist; + INFOPLIST_FILE = KeyboardControllerExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 10.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; OTHER_LDFLAGS = ( @@ -529,9 +529,9 @@ "-lc++", "$(inherited)", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativekeyboardevents; + PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativekeyboardcontroller; PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KeyboardEventsExample.app/KeyboardEventsExample"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KeyboardControllerExample.app/KeyboardControllerExample"; }; name = Debug; }; @@ -540,7 +540,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; - INFOPLIST_FILE = KeyboardEventsExampleTests/Info.plist; + INFOPLIST_FILE = KeyboardControllerExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 10.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; OTHER_LDFLAGS = ( @@ -548,29 +548,29 @@ "-lc++", "$(inherited)", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativekeyboardevents; + PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativekeyboardcontroller; PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KeyboardEventsExample.app/KeyboardEventsExample"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KeyboardControllerExample.app/KeyboardControllerExample"; }; name = Release; }; 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 47F7ED3B7971BE374F7B8635 /* Pods-KeyboardEventsExample.debug.xcconfig */; + baseConfigurationReference = 47F7ED3B7971BE374F7B8635 /* Pods-KeyboardControllerExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; ENABLE_BITCODE = NO; - INFOPLIST_FILE = KeyboardEventsExample/Info.plist; + INFOPLIST_FILE = KeyboardControllerExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativekeyboardevents; - PRODUCT_NAME = KeyboardEventsExample; + PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativekeyboardcontroller; + PRODUCT_NAME = KeyboardControllerExample; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -579,20 +579,20 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = E00ACF0FDA8BF921659E2F9A /* Pods-KeyboardEventsExample.release.xcconfig */; + baseConfigurationReference = E00ACF0FDA8BF921659E2F9A /* Pods-KeyboardControllerExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; - INFOPLIST_FILE = KeyboardEventsExample/Info.plist; + INFOPLIST_FILE = KeyboardControllerExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativekeyboardevents; - PRODUCT_NAME = KeyboardEventsExample; + PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativekeyboardcontroller; + PRODUCT_NAME = KeyboardControllerExample; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; @@ -610,14 +610,14 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_TESTABILITY = YES; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "KeyboardEventsExample-tvOS/Info.plist"; + INFOPLIST_FILE = "KeyboardControllerExample-tvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.KeyboardEventsExample-tvOS"; + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.KeyboardControllerExample-tvOS"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; TARGETED_DEVICE_FAMILY = 3; @@ -637,14 +637,14 @@ COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "KeyboardEventsExample-tvOS/Info.plist"; + INFOPLIST_FILE = "KeyboardControllerExample-tvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.KeyboardEventsExample-tvOS"; + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.KeyboardControllerExample-tvOS"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; TARGETED_DEVICE_FAMILY = 3; @@ -663,17 +663,17 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_TESTABILITY = YES; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "KeyboardEventsExample-tvOSTests/Info.plist"; + INFOPLIST_FILE = "KeyboardControllerExample-tvOSTests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.KeyboardEventsExample-tvOSTests"; + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.KeyboardControllerExample-tvOSTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KeyboardEventsExample-tvOS.app/KeyboardEventsExample-tvOS"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KeyboardControllerExample-tvOS.app/KeyboardControllerExample-tvOS"; TVOS_DEPLOYMENT_TARGET = 10.1; }; name = Debug; @@ -689,17 +689,17 @@ COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "KeyboardEventsExample-tvOSTests/Info.plist"; + INFOPLIST_FILE = "KeyboardControllerExample-tvOSTests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.KeyboardEventsExample-tvOSTests"; + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.KeyboardControllerExample-tvOSTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KeyboardEventsExample-tvOS.app/KeyboardEventsExample-tvOS"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KeyboardControllerExample-tvOS.app/KeyboardControllerExample-tvOS"; TVOS_DEPLOYMENT_TARGET = 10.1; }; name = Release; @@ -820,7 +820,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "KeyboardEventsExampleTests" */ = { + 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "KeyboardControllerExampleTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 00E356F61AD99517003FC87E /* Debug */, @@ -829,7 +829,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "KeyboardEventsExample" */ = { + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "KeyboardControllerExample" */ = { isa = XCConfigurationList; buildConfigurations = ( 13B07F941A680F5B00A75B9A /* Debug */, @@ -838,7 +838,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "KeyboardEventsExample-tvOS" */ = { + 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "KeyboardControllerExample-tvOS" */ = { isa = XCConfigurationList; buildConfigurations = ( 2D02E4971E0B4A5E006451C7 /* Debug */, @@ -847,7 +847,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "KeyboardEventsExample-tvOSTests" */ = { + 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "KeyboardControllerExample-tvOSTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 2D02E4991E0B4A5E006451C7 /* Debug */, @@ -856,7 +856,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "KeyboardEventsExample" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "KeyboardControllerExample" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */, diff --git a/example/ios/KeyboardEventsExample.xcodeproj/xcshareddata/xcschemes/KeyboardEventsExample.xcscheme b/example/ios/KeyboardEventsExample.xcodeproj/xcshareddata/xcschemes/KeyboardEventsExample.xcscheme index b8ba3a1fde..742a3d1aed 100644 --- a/example/ios/KeyboardEventsExample.xcodeproj/xcshareddata/xcschemes/KeyboardEventsExample.xcscheme +++ b/example/ios/KeyboardEventsExample.xcodeproj/xcshareddata/xcschemes/KeyboardEventsExample.xcscheme @@ -29,9 +29,9 @@ + BuildableName = "KeyboardControllerExample.app" + BlueprintName = "KeyboardControllerExample" + ReferencedContainer = "container:KeyboardControllerExample.xcodeproj"> @@ -45,9 +45,9 @@ + BuildableName = "KeyboardControllerExample.app" + BlueprintName = "KeyboardControllerExample" + ReferencedContainer = "container:KeyboardControllerExample.xcodeproj"> @@ -66,9 +66,9 @@ + BuildableName = "KeyboardControllerExample.app" + BlueprintName = "KeyboardControllerExample" + ReferencedContainer = "container:KeyboardControllerExample.xcodeproj"> @@ -83,9 +83,9 @@ + BuildableName = "KeyboardControllerExample.app" + BlueprintName = "KeyboardControllerExample" + ReferencedContainer = "container:KeyboardControllerExample.xcodeproj"> diff --git a/example/ios/KeyboardEventsExample.xcworkspace/contents.xcworkspacedata b/example/ios/KeyboardEventsExample.xcworkspace/contents.xcworkspacedata index 27a5d972fe..6de0984fc4 100644 --- a/example/ios/KeyboardEventsExample.xcworkspace/contents.xcworkspacedata +++ b/example/ios/KeyboardEventsExample.xcworkspace/contents.xcworkspacedata @@ -2,9 +2,12 @@ + location = "group:KeyboardControllerExample.xcodeproj"> + + diff --git a/example/ios/KeyboardEventsExample/AppDelegate.m b/example/ios/KeyboardEventsExample/AppDelegate.m index 824f3e09d2..2b64c7e26a 100644 --- a/example/ios/KeyboardEventsExample/AppDelegate.m +++ b/example/ios/KeyboardEventsExample/AppDelegate.m @@ -38,7 +38,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( #endif RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge - moduleName:@"KeyboardEventsExample" + moduleName:@"KeyboardControllerExample" initialProperties:nil]; rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; diff --git a/example/ios/KeyboardEventsExample/Info.plist b/example/ios/KeyboardEventsExample/Info.plist index 279e81ae8a..f41aff0bf4 100644 --- a/example/ios/KeyboardEventsExample/Info.plist +++ b/example/ios/KeyboardEventsExample/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion en CFBundleDisplayName - KeyboardEvents Example + KeyboardController Example CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/example/ios/KeyboardEventsExample/LaunchScreen.storyboard b/example/ios/KeyboardEventsExample/LaunchScreen.storyboard index cc4a569cf5..88f2574c5d 100644 --- a/example/ios/KeyboardEventsExample/LaunchScreen.storyboard +++ b/example/ios/KeyboardEventsExample/LaunchScreen.storyboard @@ -22,7 +22,7 @@ -