Skip to content

Commit

Permalink
Fix issues with example project
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaël Villeneuve committed Oct 3, 2017
1 parent c65c7e5 commit fa22f0b
Show file tree
Hide file tree
Showing 7 changed files with 5,741 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Example/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default class Example extends Component {
{this.state.image ?
<Image style={{ flex: 1, width: 300, height: 200 }} source={{ uri: `data:image/jpeg;base64,${this.state.image}`}} resizeMode="contain" /> :
<Scanner
onPictureTaken={data => this.setState({ image: data.image })}
onPictureTaken={data => this.setState({ image: data.croppedImage })}
overlayColor="rgba(255,130,0, 0.7)"
enableTorch={this.state.flashEnabled}
brightness={0.2}
Expand Down
21 changes: 15 additions & 6 deletions Example/ios/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@
832341AE1AAA6A7D00B99B32 /* Libraries */,
00E356EF1AD99517003FC87E /* ExampleTests */,
83CBBA001A601CBA00E9B192 /* Products */,
D20D56781F83633D00B09EE5 /* Recovered References */,
);
indentWidth = 2;
sourceTree = "<group>";
Expand All @@ -520,6 +521,14 @@
name = Products;
sourceTree = "<group>";
};
D20D56781F83633D00B09EE5 /* Recovered References */ = {
isa = PBXGroup;
children = (
3DF46239F8CB42A8B21CDBAC /* libRNPdfScanner.a */,
);
name = "Recovered References";
sourceTree = "<group>";
};
D2D661061F1F336E0008DBCE /* Products */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -622,11 +631,11 @@
TargetAttributes = {
00E356ED1AD99517003FC87E = {
CreatedOnToolsVersion = 6.2;
DevelopmentTeam = MU9D66FNS8;
DevelopmentTeam = G2NJHPDYHV;
TestTargetID = 13B07F861A680F5B00A75B9A;
};
13B07F861A680F5B00A75B9A = {
DevelopmentTeam = MU9D66FNS8;
DevelopmentTeam = G2NJHPDYHV;
};
2D02E47A1E0B4A5D006451C7 = {
CreatedOnToolsVersion = 8.2.1;
Expand Down Expand Up @@ -1054,7 +1063,7 @@
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
DEVELOPMENT_TEAM = MU9D66FNS8;
DEVELOPMENT_TEAM = G2NJHPDYHV;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
Expand Down Expand Up @@ -1084,7 +1093,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = MU9D66FNS8;
DEVELOPMENT_TEAM = G2NJHPDYHV;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-pdf-scanner/ios/**",
Expand All @@ -1111,7 +1120,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = MU9D66FNS8;
DEVELOPMENT_TEAM = G2NJHPDYHV;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-pdf-scanner/ios/**",
Expand All @@ -1134,7 +1143,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = MU9D66FNS8;
DEVELOPMENT_TEAM = G2NJHPDYHV;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-pdf-scanner/ios/**",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
Expand All @@ -80,9 +81,10 @@
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
Loading

0 comments on commit fa22f0b

Please sign in to comment.