Skip to content

Commit d8d5b91

Browse files
Updated to 0.51.0 and changed import of PropTypes
1 parent 9caa494 commit d8d5b91

File tree

6 files changed

+365
-25
lines changed

6 files changed

+365
-25
lines changed

example/ios/example.xcodeproj/project.pbxproj

Lines changed: 329 additions & 15 deletions
Large diffs are not rendered by default.

example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,23 @@
33
LastUpgradeVersion = "0620"
44
version = "1.3">
55
<BuildAction
6-
parallelizeBuildables = "YES"
6+
parallelizeBuildables = "NO"
77
buildImplicitDependencies = "YES">
88
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
18+
BuildableName = "libReact.a"
19+
BlueprintName = "React"
20+
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
923
<BuildActionEntry
1024
buildForTesting = "YES"
1125
buildForRunning = "YES"
@@ -37,10 +51,11 @@
3751
</BuildActionEntries>
3852
</BuildAction>
3953
<TestAction
54+
buildConfiguration = "Debug"
4055
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4156
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42-
shouldUseLaunchSchemeArgsEnv = "YES"
43-
buildConfiguration = "Debug">
57+
language = ""
58+
shouldUseLaunchSchemeArgsEnv = "YES">
4459
<Testables>
4560
<TestableReference
4661
skipped = "NO">
@@ -62,15 +77,19 @@
6277
ReferencedContainer = "container:example.xcodeproj">
6378
</BuildableReference>
6479
</MacroExpansion>
80+
<AdditionalOptions>
81+
</AdditionalOptions>
6582
</TestAction>
6683
<LaunchAction
84+
buildConfiguration = "Debug"
6785
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
6886
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
87+
language = ""
6988
launchStyle = "0"
7089
useCustomWorkingDirectory = "NO"
71-
buildConfiguration = "Debug"
7290
ignoresPersistentStateOnLaunch = "NO"
7391
debugDocumentVersioning = "YES"
92+
debugServiceExtension = "internal"
7493
allowLocationSimulation = "YES">
7594
<BuildableProductRunnable
7695
runnableDebuggingMode = "0">
@@ -86,10 +105,10 @@
86105
</AdditionalOptions>
87106
</LaunchAction>
88107
<ProfileAction
108+
buildConfiguration = "Release"
89109
shouldUseLaunchSchemeArgsEnv = "YES"
90110
savedToolIdentifier = ""
91111
useCustomWorkingDirectory = "NO"
92-
buildConfiguration = "Release"
93112
debugDocumentVersioning = "YES">
94113
<BuildableProductRunnable
95114
runnableDebuggingMode = "0">

example/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
"start": "react-native start"
77
},
88
"dependencies": {
9-
"react-native": "0.38.0",
10-
"react": "15.4.1",
9+
"prop-types": "^15.5.10",
10+
"react-native": "0.51.0",
11+
"react": "16.0.0",
1112
"react-native-keyboard-aware-scrollview": "file:../"
1213
}
1314
}

src/KeyboardAwareBase.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
import React , { Component, PropTypes } from 'react';
2+
import React , { Component } from 'react';
3+
import PropTypes from 'prop-types';
4+
35

46
import ReactNative, {
57
DeviceEventEmitter,

src/KeyboardAwareListView.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
import React, {PropTypes} from 'react';
2+
import React from 'react';
3+
import PropTypes from 'prop-types';
4+
35

46
import {
57
ListView

src/KeyboardAwareScrollView.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import React, { PropTypes } from 'react';
1+
import React from 'react';
2+
import PropTypes from 'prop-types';
3+
24

35
import {
46
ScrollView

0 commit comments

Comments
 (0)