Merge pull request #176 from ndbroadbent/android-error-messages
Prevent infinite loops, and added proper error messages for Android. Also updated the Basic example
This commit is contained in:
commit
f8c280e0d4
|
@ -26,3 +26,9 @@ project.xcworkspace
|
||||||
#
|
#
|
||||||
node_modules/
|
node_modules/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
|
||||||
|
# Android
|
||||||
|
android/react-native-blur.iml
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
.idea/
|
||||||
|
|
58
README.md
58
README.md
|
@ -76,13 +76,45 @@ distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
|
||||||
5. Compile and have fun!
|
5. Compile and have fun!
|
||||||
|
|
||||||
### Usage example
|
### Usage example
|
||||||
You can run built-in example via few simple steps:
|
|
||||||
1. Clone repository
|
You can run the built-in examples by running these steps:
|
||||||
2. Go to `examples/Basic`
|
|
||||||
3. Run `npm install && open Basic.xcodeproj`
|
|
||||||
4. Hit "Run"(`cmd+R`) button on XCode panel
|
1. Clone the repository
|
||||||
|
|
||||||
|
```
|
||||||
|
cd ~
|
||||||
|
git clone https://github.com/react-native-community/react-native-blur.git
|
||||||
|
```
|
||||||
|
|
||||||
|
2. cd to `examples/Basic`
|
||||||
|
|
||||||
|
```
|
||||||
|
cd react-native-blur/examples/Basic
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Install dependencies
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Run the apps:
|
||||||
|
|
||||||
|
#### Run the iOS app
|
||||||
|
|
||||||
|
```
|
||||||
|
react-native run-ios
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Run the Android app
|
||||||
|
|
||||||
|
```
|
||||||
|
react-native run-android
|
||||||
|
```
|
||||||
|
|
||||||
#### Blur View
|
#### Blur View
|
||||||
|
|
||||||
To use `blur` view, you need to require `BlurView` to your module and insert `<BlurView>` tag inside render function as it's done below:
|
To use `blur` view, you need to require `BlurView` to your module and insert `<BlurView>` tag inside render function as it's done below:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
@ -91,11 +123,11 @@ const { BlurView } = require('react-native-blur');
|
||||||
const Menu = React.createClass({
|
const Menu = React.createClass({
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Image source={{uri}} style={styles.menu}>
|
<View>
|
||||||
<BlurView blurType="light" blurAmount={10} style={styles.blur}>
|
<Image source={{uri}} style={styles.menu} />
|
||||||
<Text>Hi, I am a tiny menu item</Text>
|
<BlurView blurType="light" blurAmount={10} style={styles.blur} />
|
||||||
</BlurView>
|
<Text style={styles.text}>Hi, I am a tiny menu item</Text>
|
||||||
</Image>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -103,6 +135,9 @@ const Menu = React.createClass({
|
||||||
|
|
||||||
In this example, `Image` component will be blurred, a `BlurView` content will stay untouched.
|
In this example, `Image` component will be blurred, a `BlurView` content will stay untouched.
|
||||||
|
|
||||||
|
Note that if you need to support Android, the `BlurView` cannot be a child of the view that is being
|
||||||
|
blurred, and it cannot contain any child components. See the [Android section](#android) for more information.
|
||||||
|
|
||||||
#### Vibrancy View
|
#### Vibrancy View
|
||||||
> The vibrancy effect lets the content underneath a blurred view show through more vibrantly
|
> The vibrancy effect lets the content underneath a blurred view show through more vibrantly
|
||||||
|
|
||||||
|
@ -122,6 +157,8 @@ const Menu = React.createClass({
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Note: `VibrancyView` is only supported on iOS. It must contain child views, otherwise the effect does not work.
|
||||||
|
|
||||||
### Component properties
|
### Component properties
|
||||||
- `blurType` (String) - blur type effect
|
- `blurType` (String) - blur type effect
|
||||||
- `xlight` - extra light blur type
|
- `xlight` - extra light blur type
|
||||||
|
@ -139,6 +176,7 @@ Android support uses an [external library](https://github.com/500px/500px-androi
|
||||||
The android BlurView works by blurring an existing referenced view, so you must wait till the view you want to blur is rendered and then provide the reference to the BlurView as the `viewRef` prop. Take a look at the example to see how it works.
|
The android BlurView works by blurring an existing referenced view, so you must wait till the view you want to blur is rendered and then provide the reference to the BlurView as the `viewRef` prop. Take a look at the example to see how it works.
|
||||||
|
|
||||||
It has the following props:
|
It has the following props:
|
||||||
|
|
||||||
- `viewRef` (Number) - a reference to the existing view you want to blur
|
- `viewRef` (Number) - a reference to the existing view you want to blur
|
||||||
- `blurRadius` (Number)
|
- `blurRadius` (Number)
|
||||||
- `downsampleFactor` (Number)
|
- `downsampleFactor` (Number)
|
||||||
|
|
|
@ -4,7 +4,7 @@ buildscript {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:1.1.3'
|
classpath 'com.android.tools.build:gradle:2.2.3'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,6 +34,6 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.facebook.react:react-native:0.41.+'
|
compile 'com.facebook.react:react-native:0.43.+'
|
||||||
compile 'com.fivehundredpx:blurringview:1.0.0'
|
compile 'com.fivehundredpx:blurringview:1.0.0'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,63 @@
|
||||||
package com.cmcewen.blurview;
|
package com.cmcewen.blurview;
|
||||||
|
|
||||||
import android.app.Activity;
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
|
||||||
|
|
||||||
|
import com.facebook.react.modules.core.DeviceEventManagerModule.RCTDeviceEventEmitter;
|
||||||
import com.facebook.react.uimanager.SimpleViewManager;
|
import com.facebook.react.uimanager.SimpleViewManager;
|
||||||
import com.facebook.react.uimanager.ThemedReactContext;
|
import com.facebook.react.uimanager.ThemedReactContext;
|
||||||
import com.facebook.react.uimanager.annotations.ReactProp;
|
import com.facebook.react.uimanager.annotations.ReactProp;
|
||||||
import com.fivehundredpx.android.blur.BlurringView;
|
import com.fivehundredpx.android.blur.BlurringView;
|
||||||
|
|
||||||
|
|
||||||
|
class RNBlurringView extends BlurringView {
|
||||||
|
public RNBlurringView(ThemedReactContext context) {
|
||||||
|
super(context);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setBlurredView(View blurredView) {
|
||||||
|
super.setBlurredView(blurredView);
|
||||||
|
mBlurredViewCopy = blurredView;
|
||||||
|
checkForCircularReference();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onAttachedToWindow() {
|
||||||
|
super.onAttachedToWindow();
|
||||||
|
checkForCircularReference();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void checkForCircularReference() {
|
||||||
|
// Need to wait until blurredView is set and the view is attached to window.
|
||||||
|
if (mBlurredViewCopy == null || getParent() == null) return;
|
||||||
|
|
||||||
|
Boolean circularReference = (mBlurredViewCopy.findViewById(getId()) != null);
|
||||||
|
if (circularReference) {
|
||||||
|
ThemedReactContext reactContext = (ThemedReactContext) getContext();
|
||||||
|
reactContext.getJSModule(RCTDeviceEventEmitter.class)
|
||||||
|
.emit("ReactNativeBlurError",
|
||||||
|
"BlurView must not be a child of the view that is being blurred.");
|
||||||
|
|
||||||
|
setBlurredView(null);
|
||||||
|
invalidate();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: Change this to protected in 500px-android-blur,
|
||||||
|
// so we don't need our own copy.
|
||||||
|
private View mBlurredViewCopy;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class BlurViewManager extends SimpleViewManager<BlurringView> {
|
public class BlurViewManager extends SimpleViewManager<BlurringView> {
|
||||||
public static final String REACT_CLASS = "BlurView";
|
public static final String REACT_CLASS = "BlurView";
|
||||||
|
|
||||||
public static final int defaultRadius = 10;
|
public static final int defaultRadius = 10;
|
||||||
public static final int defaultSampling = 10;
|
public static final int defaultSampling = 10;
|
||||||
|
|
||||||
private static Activity currentActivity;
|
private static ThemedReactContext context;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
|
@ -23,36 +65,36 @@ public class BlurViewManager extends SimpleViewManager<BlurringView> {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlurringView createViewInstance(ThemedReactContext context) {
|
public RNBlurringView createViewInstance(ThemedReactContext ctx) {
|
||||||
currentActivity = context.getCurrentActivity();
|
context = ctx;
|
||||||
|
|
||||||
BlurringView blurringView = new BlurringView(context);
|
RNBlurringView blurringView = new RNBlurringView(ctx);
|
||||||
blurringView.setBlurRadius(defaultRadius);
|
blurringView.setBlurRadius(defaultRadius);
|
||||||
blurringView.setDownsampleFactor(defaultSampling);
|
blurringView.setDownsampleFactor(defaultSampling);
|
||||||
return blurringView;
|
return blurringView;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ReactProp(name = "blurRadius", defaultInt = defaultRadius)
|
@ReactProp(name = "blurRadius", defaultInt = defaultRadius)
|
||||||
public void setRadius(BlurringView view, int radius) {
|
public void setRadius(RNBlurringView view, int radius) {
|
||||||
view.setBlurRadius(radius);
|
view.setBlurRadius(radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ReactProp(name = "overlayColor", customType = "Color")
|
@ReactProp(name = "overlayColor", customType = "Color")
|
||||||
public void setColor(BlurringView view, int color) {
|
public void setColor(RNBlurringView view, int color) {
|
||||||
view.setOverlayColor(color);
|
view.setOverlayColor(color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ReactProp(name = "downsampleFactor", defaultInt = defaultSampling)
|
@ReactProp(name = "downsampleFactor", defaultInt = defaultSampling)
|
||||||
public void setDownsampleFactor(BlurringView view, int factor) {
|
public void setDownsampleFactor(RNBlurringView view, int factor) {
|
||||||
view.setDownsampleFactor(factor);
|
view.setDownsampleFactor(factor);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ReactProp(name = "viewRef")
|
@ReactProp(name = "viewRef")
|
||||||
public void setViewRef(BlurringView view, int viewRef) {
|
public void setViewRef(RNBlurringView view, int viewRef) {
|
||||||
View blurredView = currentActivity.findViewById(viewRef);
|
View viewToBlur = context.getCurrentActivity().findViewById(viewRef);
|
||||||
|
|
||||||
if (blurredView != null) {
|
if (viewToBlur != null) {
|
||||||
view.setBlurredView(blurredView);
|
view.setBlurredView(viewToBlur);
|
||||||
view.invalidate();
|
view.invalidate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"presets": ["react-native"]
|
||||||
|
}
|
|
@ -1,28 +1,18 @@
|
||||||
[ignore]
|
[ignore]
|
||||||
|
; We fork some components by platform
|
||||||
# We fork some components by platform.
|
|
||||||
.*/*[.]android.js
|
.*/*[.]android.js
|
||||||
|
|
||||||
# Ignore templates with `@flow` in header
|
; Ignore "BUCK" generated dirs
|
||||||
.*/local-cli/generator.*
|
|
||||||
|
|
||||||
# Ignore malformed json
|
|
||||||
.*/node_modules/y18n/test/.*\.json
|
|
||||||
|
|
||||||
# Ignore the website subdir
|
|
||||||
<PROJECT_ROOT>/website/.*
|
|
||||||
|
|
||||||
# Ignore BUCK generated dirs
|
|
||||||
<PROJECT_ROOT>/\.buckd/
|
<PROJECT_ROOT>/\.buckd/
|
||||||
|
|
||||||
# Ignore unexpected extra @providesModule
|
; Ignore unexpected extra "@providesModule"
|
||||||
.*/node_modules/commoner/test/source/widget/share.js
|
.*/node_modules/.*/node_modules/fbjs/.*
|
||||||
|
|
||||||
# Ignore duplicate module providers
|
; Ignore duplicate module providers
|
||||||
# For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
|
; For RN Apps installed via npm, "Libraries" folder is inside
|
||||||
|
; "node_modules/react-native" but in the source repo it is in the root
|
||||||
.*/Libraries/react-native/React.js
|
.*/Libraries/react-native/React.js
|
||||||
.*/Libraries/react-native/ReactNative.js
|
.*/Libraries/react-native/ReactNative.js
|
||||||
.*/node_modules/jest-runtime/build/__tests__/.*
|
|
||||||
|
|
||||||
[include]
|
[include]
|
||||||
|
|
||||||
|
@ -32,27 +22,26 @@ node_modules/react-native/flow
|
||||||
flow/
|
flow/
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
module.system=haste
|
emoji=true
|
||||||
|
|
||||||
esproposal.class_static_fields=enable
|
module.system=haste
|
||||||
esproposal.class_instance_fields=enable
|
|
||||||
|
|
||||||
experimental.strict_type_args=true
|
experimental.strict_type_args=true
|
||||||
|
|
||||||
munge_underscores=true
|
munge_underscores=true
|
||||||
|
|
||||||
module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
|
|
||||||
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
|
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
|
||||||
|
|
||||||
suppress_type=$FlowIssue
|
suppress_type=$FlowIssue
|
||||||
suppress_type=$FlowFixMe
|
suppress_type=$FlowFixMe
|
||||||
suppress_type=$FixMe
|
suppress_type=$FixMe
|
||||||
|
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||||
|
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||||||
|
|
||||||
unsafe.enable_getters_and_setters=true
|
unsafe.enable_getters_and_setters=true
|
||||||
|
|
||||||
[version]
|
[version]
|
||||||
^0.33.0
|
^0.40.0
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
*.pbxproj -text
|
|
@ -22,20 +22,32 @@ DerivedData
|
||||||
*.xcuserstate
|
*.xcuserstate
|
||||||
project.xcworkspace
|
project.xcworkspace
|
||||||
|
|
||||||
# Android/IJ
|
# Android/IntelliJ
|
||||||
#
|
#
|
||||||
*.iml
|
build/
|
||||||
.idea
|
.idea
|
||||||
.gradle
|
.gradle
|
||||||
local.properties
|
local.properties
|
||||||
|
*.iml
|
||||||
|
|
||||||
# node.js
|
# node.js
|
||||||
#
|
#
|
||||||
node_modules/
|
node_modules/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
yarn-error.log
|
||||||
|
|
||||||
# BUCK
|
# BUCK
|
||||||
buck-out/
|
buck-out/
|
||||||
\.buckd/
|
\.buckd/
|
||||||
android/app/libs
|
*.keystore
|
||||||
android/keystores/debug.keystore
|
|
||||||
|
# fastlane
|
||||||
|
#
|
||||||
|
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
||||||
|
# screenshots whenever they are needed.
|
||||||
|
# For more information about the recommended setup visit:
|
||||||
|
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
|
||||||
|
|
||||||
|
fastlane/report.xml
|
||||||
|
fastlane/Preview.html
|
||||||
|
fastlane/screenshots
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
import 'react-native';
|
||||||
|
import React from 'react';
|
||||||
|
import Index from '../index.android.js';
|
||||||
|
|
||||||
|
// Note: test renderer must be required after react-native.
|
||||||
|
import renderer from 'react-test-renderer';
|
||||||
|
|
||||||
|
it('renders correctly', () => {
|
||||||
|
const tree = renderer.create(
|
||||||
|
<Index />
|
||||||
|
);
|
||||||
|
});
|
|
@ -0,0 +1,12 @@
|
||||||
|
import 'react-native';
|
||||||
|
import React from 'react';
|
||||||
|
import Index from '../index.ios.js';
|
||||||
|
|
||||||
|
// Note: test renderer must be required after react-native.
|
||||||
|
import renderer from 'react-test-renderer';
|
||||||
|
|
||||||
|
it('renders correctly', () => {
|
||||||
|
const tree = renderer.create(
|
||||||
|
<Index />
|
||||||
|
);
|
||||||
|
});
|
|
@ -1,5 +1,3 @@
|
||||||
import re
|
|
||||||
|
|
||||||
# To learn about Buck see [Docs](https://buckbuild.com/).
|
# To learn about Buck see [Docs](https://buckbuild.com/).
|
||||||
# To run your application with Buck:
|
# To run your application with Buck:
|
||||||
# - install Buck
|
# - install Buck
|
||||||
|
@ -11,8 +9,9 @@ import re
|
||||||
#
|
#
|
||||||
|
|
||||||
lib_deps = []
|
lib_deps = []
|
||||||
|
|
||||||
for jarfile in glob(['libs/*.jar']):
|
for jarfile in glob(['libs/*.jar']):
|
||||||
name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile)
|
name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
|
||||||
lib_deps.append(':' + name)
|
lib_deps.append(':' + name)
|
||||||
prebuilt_jar(
|
prebuilt_jar(
|
||||||
name = name,
|
name = name,
|
||||||
|
@ -20,7 +19,7 @@ for jarfile in glob(['libs/*.jar']):
|
||||||
)
|
)
|
||||||
|
|
||||||
for aarfile in glob(['libs/*.aar']):
|
for aarfile in glob(['libs/*.aar']):
|
||||||
name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile)
|
name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
|
||||||
lib_deps.append(':' + name)
|
lib_deps.append(':' + name)
|
||||||
android_prebuilt_aar(
|
android_prebuilt_aar(
|
||||||
name = name,
|
name = name,
|
||||||
|
@ -28,39 +27,39 @@ for aarfile in glob(['libs/*.aar']):
|
||||||
)
|
)
|
||||||
|
|
||||||
android_library(
|
android_library(
|
||||||
name = 'all-libs',
|
name = "all-libs",
|
||||||
exported_deps = lib_deps
|
exported_deps = lib_deps,
|
||||||
)
|
)
|
||||||
|
|
||||||
android_library(
|
android_library(
|
||||||
name = 'app-code',
|
name = "app-code",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
'src/main/java/**/*.java',
|
"src/main/java/**/*.java",
|
||||||
]),
|
]),
|
||||||
deps = [
|
deps = [
|
||||||
':all-libs',
|
":all-libs",
|
||||||
':build_config',
|
":build_config",
|
||||||
':res',
|
":res",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
android_build_config(
|
android_build_config(
|
||||||
name = 'build_config',
|
name = "build_config",
|
||||||
package = 'com.basic',
|
package = "com.basic",
|
||||||
)
|
)
|
||||||
|
|
||||||
android_resource(
|
android_resource(
|
||||||
name = 'res',
|
name = "res",
|
||||||
res = 'src/main/res',
|
package = "com.basic",
|
||||||
package = 'com.basic',
|
res = "src/main/res",
|
||||||
)
|
)
|
||||||
|
|
||||||
android_binary(
|
android_binary(
|
||||||
name = 'app',
|
name = "app",
|
||||||
package_type = 'debug',
|
keystore = "//android/keystores:debug",
|
||||||
manifest = 'src/main/AndroidManifest.xml',
|
manifest = "src/main/AndroidManifest.xml",
|
||||||
keystore = '//android/keystores:debug',
|
package_type = "debug",
|
||||||
deps = [
|
deps = [
|
||||||
':app-code',
|
":app-code",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -95,7 +95,8 @@ android {
|
||||||
ndk {
|
ndk {
|
||||||
abiFilters "armeabi-v7a", "x86"
|
abiFilters "armeabi-v7a", "x86"
|
||||||
}
|
}
|
||||||
renderscriptTargetApi 21
|
|
||||||
|
renderscriptTargetApi 23
|
||||||
renderscriptSupportModeEnabled true
|
renderscriptSupportModeEnabled true
|
||||||
}
|
}
|
||||||
splits {
|
splits {
|
||||||
|
@ -127,29 +128,17 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':react-native-blur')
|
compile project(':react-native-blur')
|
||||||
compile fileTree(dir: "libs", include: ["*.jar"])
|
compile fileTree(dir: "libs", include: ["*.jar"])
|
||||||
compile "com.android.support:appcompat-v7:23.4.0"
|
compile "com.android.support:appcompat-v7:23.0.1"
|
||||||
compile "com.facebook.react:react-native:+" // From node_modules
|
compile "com.facebook.react:react-native:+" // From node_modules
|
||||||
}
|
compile "com.fivehundredpx:blurringview:1.0.0"
|
||||||
|
|
||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath 'com.fivehundredpx:blurringview:1.0.0'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run this once to be able to run the application with BUCK
|
// Run this once to be able to run the application with BUCK
|
||||||
// puts all compile dependencies into folder libs for BUCK to use
|
// puts all compile dependencies into folder libs for BUCK to use
|
||||||
task copyDownloadableDepsToLibs(type: Copy) {
|
task copyDownloadableDepsToLibs(type: Copy) {
|
||||||
from configurations.compile
|
from configurations.compile
|
||||||
into 'libs'
|
into 'libs'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,97 +0,0 @@
|
||||||
import org.apache.tools.ant.taskdefs.condition.Os
|
|
||||||
|
|
||||||
def config = project.hasProperty("react") ? project.react : [];
|
|
||||||
|
|
||||||
def bundleAssetName = config.bundleAssetName ?: "index.android.bundle"
|
|
||||||
def entryFile = config.entryFile ?: "index.android.js"
|
|
||||||
|
|
||||||
// because elvis operator
|
|
||||||
def elvisFile(thing) {
|
|
||||||
return thing ? file(thing) : null;
|
|
||||||
}
|
|
||||||
|
|
||||||
def reactRoot = elvisFile(config.root) ?: file("../../")
|
|
||||||
def inputExcludes = config.inputExcludes ?: ["android/**", "ios/**"]
|
|
||||||
|
|
||||||
void runBefore(String dependentTaskName, Task task) {
|
|
||||||
Task dependentTask = tasks.findByPath(dependentTaskName);
|
|
||||||
if (dependentTask != null) {
|
|
||||||
dependentTask.dependsOn task
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
gradle.projectsEvaluated {
|
|
||||||
// Grab all build types and product flavors
|
|
||||||
def buildTypes = android.buildTypes.collect { type -> type.name }
|
|
||||||
def productFlavors = android.productFlavors.collect { flavor -> flavor.name }
|
|
||||||
|
|
||||||
// When no product flavors defined, use empty
|
|
||||||
if (!productFlavors) productFlavors.add('')
|
|
||||||
|
|
||||||
productFlavors.each { productFlavorName ->
|
|
||||||
buildTypes.each { buildTypeName ->
|
|
||||||
// Create variant and target names
|
|
||||||
def targetName = "${productFlavorName.capitalize()}${buildTypeName.capitalize()}"
|
|
||||||
def targetPath = productFlavorName ?
|
|
||||||
"${productFlavorName}/${buildTypeName}" :
|
|
||||||
"${buildTypeName}"
|
|
||||||
|
|
||||||
// React js bundle directories
|
|
||||||
def jsBundleDirConfigName = "jsBundleDir${targetName}"
|
|
||||||
def jsBundleDir = elvisFile(config."$jsBundleDirConfigName") ?:
|
|
||||||
file("$buildDir/intermediates/assets/${targetPath}")
|
|
||||||
|
|
||||||
def resourcesDirConfigName = "resourcesDir${targetName}"
|
|
||||||
def resourcesDir = elvisFile(config."${resourcesDirConfigName}") ?:
|
|
||||||
file("$buildDir/intermediates/res/merged/${targetPath}")
|
|
||||||
def jsBundleFile = file("$jsBundleDir/$bundleAssetName")
|
|
||||||
|
|
||||||
// Bundle task name for variant
|
|
||||||
def bundleJsAndAssetsTaskName = "bundle${targetName}JsAndAssets"
|
|
||||||
|
|
||||||
def currentBundleTask = tasks.create(
|
|
||||||
name: bundleJsAndAssetsTaskName,
|
|
||||||
type: Exec) {
|
|
||||||
group = "react"
|
|
||||||
description = "bundle JS and assets for ${targetName}."
|
|
||||||
|
|
||||||
// Create dirs if they are not there (e.g. the "clean" task just ran)
|
|
||||||
doFirst {
|
|
||||||
jsBundleDir.mkdirs()
|
|
||||||
resourcesDir.mkdirs()
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set up inputs and outputs so gradle can cache the result
|
|
||||||
inputs.files fileTree(dir: reactRoot, excludes: inputExcludes)
|
|
||||||
outputs.dir jsBundleDir
|
|
||||||
outputs.dir resourcesDir
|
|
||||||
|
|
||||||
// Set up the call to the react-native cli
|
|
||||||
workingDir reactRoot
|
|
||||||
|
|
||||||
// Set up dev mode
|
|
||||||
def devEnabled = !targetName.toLowerCase().contains("release")
|
|
||||||
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
|
||||||
commandLine "cmd", "/c", "node", "node_modules/react-native/local-cli/cli.js", "bundle", "--platform", "android", "--dev", "${devEnabled}",
|
|
||||||
"--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir
|
|
||||||
} else {
|
|
||||||
commandLine "node", "node_modules/react-native/local-cli/cli.js", "bundle", "--platform", "android", "--dev", "${devEnabled}",
|
|
||||||
"--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir
|
|
||||||
}
|
|
||||||
|
|
||||||
enabled config."bundleIn${targetName}" ||
|
|
||||||
config."bundleIn${buildTypeName.capitalize()}" ?:
|
|
||||||
targetName.toLowerCase().contains("release")
|
|
||||||
}
|
|
||||||
|
|
||||||
// Hook bundle${productFlavor}${buildType}JsAndAssets into the android build process
|
|
||||||
currentBundleTask.dependsOn("merge${targetName}Resources")
|
|
||||||
currentBundleTask.dependsOn("merge${targetName}Assets")
|
|
||||||
|
|
||||||
runBefore("processArmeabi-v7a${targetName}Resources", currentBundleTask)
|
|
||||||
runBefore("processX86${targetName}Resources", currentBundleTask)
|
|
||||||
runBefore("processUniversal${targetName}Resources", currentBundleTask)
|
|
||||||
runBefore("process${targetName}Resources", currentBundleTask)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,7 +1,14 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.basic">
|
package="com.basic"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:versionName="1.0">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
||||||
|
|
||||||
|
<uses-sdk
|
||||||
|
android:minSdkVersion="16"
|
||||||
|
android:targetSdkVersion="22" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:name=".MainApplication"
|
android:name=".MainApplication"
|
||||||
|
@ -10,8 +17,10 @@
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:theme="@style/AppTheme">
|
android:theme="@style/AppTheme">
|
||||||
<activity
|
<activity
|
||||||
android:name="com.basic.MainActivity"
|
android:name=".MainActivity"
|
||||||
android:label="@string/app_name">
|
android:label="@string/app_name"
|
||||||
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
||||||
|
android:windowSoftInputMode="adjustResize">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
package com.basic;
|
package com.basic;
|
||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
import android.util.Log;
|
|
||||||
|
|
||||||
import com.facebook.react.ReactApplication;
|
import com.facebook.react.ReactApplication;
|
||||||
import com.cmcewen.blurview.BlurViewPackage;
|
import com.cmcewen.blurview.BlurViewPackage;
|
||||||
import com.facebook.react.ReactInstanceManager;
|
|
||||||
import com.facebook.react.ReactNativeHost;
|
import com.facebook.react.ReactNativeHost;
|
||||||
import com.facebook.react.ReactPackage;
|
import com.facebook.react.ReactPackage;
|
||||||
import com.facebook.react.shell.MainReactPackage;
|
import com.facebook.react.shell.MainReactPackage;
|
||||||
|
import com.facebook.soloader.SoLoader;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -17,7 +16,7 @@ public class MainApplication extends Application implements ReactApplication {
|
||||||
|
|
||||||
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
|
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
|
||||||
@Override
|
@Override
|
||||||
protected boolean getUseDeveloperSupport() {
|
public boolean getUseDeveloperSupport() {
|
||||||
return BuildConfig.DEBUG;
|
return BuildConfig.DEBUG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,13 +24,19 @@ public class MainApplication extends Application implements ReactApplication {
|
||||||
protected List<ReactPackage> getPackages() {
|
protected List<ReactPackage> getPackages() {
|
||||||
return Arrays.<ReactPackage>asList(
|
return Arrays.<ReactPackage>asList(
|
||||||
new MainReactPackage(),
|
new MainReactPackage(),
|
||||||
new BlurViewPackage()
|
new BlurViewPackage()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ReactNativeHost getReactNativeHost() {
|
public ReactNativeHost getReactNativeHost() {
|
||||||
return mReactNativeHost;
|
return mReactNativeHost;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onCreate() {
|
||||||
|
super.onCreate();
|
||||||
|
SoLoader.init(this, /* native exopackage */ false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ buildscript {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.2.2'
|
classpath 'com.android.tools.build:gradle:2.2.3'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
@ -20,5 +20,6 @@ allprojects {
|
||||||
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
||||||
url "$rootDir/../node_modules/react-native/android"
|
url "$rootDir/../node_modules/react-native/android"
|
||||||
}
|
}
|
||||||
|
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#Tue Nov 08 01:08:08 CET 2016
|
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
keystore(
|
||||||
|
name = "debug",
|
||||||
|
properties = "debug.keystore.properties",
|
||||||
|
store = "debug.keystore",
|
||||||
|
visibility = [
|
||||||
|
"PUBLIC",
|
||||||
|
],
|
||||||
|
)
|
|
@ -0,0 +1,4 @@
|
||||||
|
key.store=debug.keystore
|
||||||
|
key.alias=androiddebugkey
|
||||||
|
key.store.password=android
|
||||||
|
key.alias.password=android
|
|
@ -1,5 +1,5 @@
|
||||||
rootProject.name = 'Basic'
|
rootProject.name = 'Basic'
|
||||||
|
include ':react-native-blur'
|
||||||
|
project(':react-native-blur').projectDir = new File(rootProject.projectDir, '../../../android')
|
||||||
|
|
||||||
include ':app'
|
include ':app'
|
||||||
include ':react-native-blur'
|
|
||||||
project(':react-native-blur').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-blur/android')
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"name": "Basic",
|
||||||
|
"displayName": "Basic"
|
||||||
|
}
|
|
@ -3,46 +3,48 @@
|
||||||
* https://github.com/react-native-community/react-native-blur
|
* https://github.com/react-native-community/react-native-blur
|
||||||
*/
|
*/
|
||||||
'use strict';
|
'use strict';
|
||||||
import React, {Component} from 'react';
|
import React, { Component } from 'react';
|
||||||
import {
|
import {
|
||||||
AppRegistry,
|
AppRegistry,
|
||||||
Image,
|
Image,
|
||||||
findNodeHandle,
|
findNodeHandle,
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
Text,
|
Text,
|
||||||
View
|
View,
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
|
|
||||||
import {BlurView} from 'react-native-blur';
|
import { BlurView } from 'react-native-blur';
|
||||||
|
|
||||||
class Basic extends Component {
|
class Basic extends Component {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super()
|
super();
|
||||||
this.state = {
|
this.state = {
|
||||||
viewRef: 0,
|
viewRef: 0,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
imageLoaded() {
|
imageLoaded() {
|
||||||
this.setState({viewRef: findNodeHandle(this.refs.backgroundImage)})
|
this.setState({ viewRef: findNodeHandle(this.refs.backgroundImage) });
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Image
|
<View style={styles.container}>
|
||||||
source={require('./bgimage.jpeg')}
|
<Image
|
||||||
style={styles.container}
|
source={require('./bgimage.jpeg')}
|
||||||
ref={'backgroundImage'}
|
style={styles.image}
|
||||||
onLoadEnd={this.imageLoaded.bind(this)}>
|
ref={'backgroundImage'}
|
||||||
|
onLoadEnd={this.imageLoaded.bind(this)} />
|
||||||
|
|
||||||
<BlurView
|
<BlurView
|
||||||
blurRadius={15}
|
blurRadius={15}
|
||||||
downsampleFactor={5}
|
downsampleFactor={5}
|
||||||
overlayColor={'rgba(255, 255, 255, .25)'}
|
overlayColor={'rgba(0, 0, 0, .3)'}
|
||||||
style={styles.blurView}
|
style={styles.blurView}
|
||||||
viewRef={this.state.viewRef}/>
|
viewRef={this.state.viewRef} />
|
||||||
<Text style={styles.welcome}>{`Blur component`}</Text>
|
|
||||||
</Image>
|
<Text style={styles.text}>Blur component</Text>
|
||||||
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,24 +54,31 @@ const styles = StyleSheet.create({
|
||||||
flex: 1,
|
flex: 1,
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
|
},
|
||||||
|
image: {
|
||||||
|
position: 'absolute',
|
||||||
|
left: 0,
|
||||||
|
top: 0,
|
||||||
|
bottom: 0,
|
||||||
|
right: 0,
|
||||||
resizeMode: 'cover',
|
resizeMode: 'cover',
|
||||||
width: null,
|
width: null,
|
||||||
height: null,
|
height: null,
|
||||||
},
|
},
|
||||||
welcome: {
|
blurView: {
|
||||||
|
position: 'absolute',
|
||||||
|
left: 0,
|
||||||
|
top: 0,
|
||||||
|
bottom: 0,
|
||||||
|
right: 0,
|
||||||
|
},
|
||||||
|
text: {
|
||||||
fontSize: 22,
|
fontSize: 22,
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
margin: 10,
|
margin: 10,
|
||||||
color: '#FFFFFF',
|
color: '#FFFFFF',
|
||||||
},
|
},
|
||||||
blurView: {
|
|
||||||
position: "absolute",
|
|
||||||
left: 0,
|
|
||||||
top: 0,
|
|
||||||
bottom: 0,
|
|
||||||
right: 0
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
AppRegistry.registerComponent('Basic', () => Basic);
|
AppRegistry.registerComponent('Basic', () => Basic);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* Basic [iOS] Example for react-native-blur
|
* Basic [iOS] Example for react-native-blur
|
||||||
* https://github.com/react-native-community/react-native-blur
|
* https://github.com/react-native-community/react-native-blur
|
||||||
*/
|
*/
|
||||||
import React, {Component} from 'react'
|
import React, { Component } from 'react'
|
||||||
import {
|
import {
|
||||||
AppRegistry,
|
AppRegistry,
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
|
@ -10,10 +10,10 @@ import {
|
||||||
Image,
|
Image,
|
||||||
View,
|
View,
|
||||||
SegmentedControlIOS,
|
SegmentedControlIOS,
|
||||||
Switch
|
Switch,
|
||||||
} from 'react-native'
|
} from 'react-native'
|
||||||
|
|
||||||
import {BlurView, VibrancyView} from 'react-native-blur'
|
import { BlurView, VibrancyView } from 'react-native-blur'
|
||||||
|
|
||||||
class Basic extends Component {
|
class Basic extends Component {
|
||||||
|
|
||||||
|
@ -44,50 +44,62 @@ class Basic extends Component {
|
||||||
this.setState({vibrancyBlurType: value})
|
this.setState({vibrancyBlurType: value})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
renderBlurs() {
|
||||||
|
return (
|
||||||
|
<View style={styles.container}>
|
||||||
|
|
||||||
|
<View style={styles.blurContainer}>
|
||||||
|
{/*
|
||||||
|
BlurView is supported on both iOS and Android.
|
||||||
|
If you also need to support Android, the BlurView must be
|
||||||
|
absolutely positioned behind your unblurred views, and it
|
||||||
|
cannot contain any child views.
|
||||||
|
*/}
|
||||||
|
<BlurView
|
||||||
|
blurType={this.state.blurBlurType}
|
||||||
|
blurAmount={10}
|
||||||
|
style={[styles.blurView]} />
|
||||||
|
|
||||||
|
<Text style={styles.welcome}>{`Blur component`}</Text>
|
||||||
|
|
||||||
|
<SegmentedControlIOS
|
||||||
|
values={['xlight', 'light', 'dark']}
|
||||||
|
selectedIndex={this.state.blurActiveSegment}
|
||||||
|
onChange={(event) => {this._onBlurChange(event)}}
|
||||||
|
onValueChange={(value) => {this._onBlurValueChange(value)}}
|
||||||
|
tintColor={this.state.blurBlurType == 'xlight' ? 'black' : 'white'}/>
|
||||||
|
</View>
|
||||||
|
|
||||||
|
{/*
|
||||||
|
VibrancyView is only supported on iOS, and must contain child views,
|
||||||
|
otherwise the vibrancy effect doesn't work.
|
||||||
|
*/}
|
||||||
|
<VibrancyView
|
||||||
|
blurType={this.state.vibrancyBlurType}
|
||||||
|
blurAmount={1}
|
||||||
|
style={[styles.container, styles.blurContainer]}>
|
||||||
|
<Text style={styles.welcome}>{`Vibrancy component`}</Text>
|
||||||
|
<SegmentedControlIOS
|
||||||
|
values={['xlight', 'light', 'dark']}
|
||||||
|
selectedIndex={this.state.vibrancyActiveSegment}
|
||||||
|
onChange={(event) => {this._onVibrancyChange(event)}}
|
||||||
|
onValueChange={(value) => {this._onVibrancyValueChange(value)}}
|
||||||
|
tintColor={this.state.vibrancyBlurType == 'xlight' ? 'black' : 'white'}/>
|
||||||
|
</VibrancyView>
|
||||||
|
</View>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<View
|
<View
|
||||||
style={styles.container}>
|
style={styles.container}>
|
||||||
|
|
||||||
<Image
|
<Image
|
||||||
source={require('./bgimage.jpeg')}
|
source={require('./bgimage.jpeg')}
|
||||||
resizeMode='cover'
|
resizeMode='cover'
|
||||||
style={styles.img}/>
|
style={styles.img}/>
|
||||||
|
|
||||||
{(this.state.showBlurs
|
{ this.state.showBlurs ? this.renderBlurs() : null }
|
||||||
|
|
||||||
? <View style={styles.container}>
|
|
||||||
|
|
||||||
<BlurView
|
|
||||||
blurType={this.state.blurBlurType}
|
|
||||||
blurAmount={10}
|
|
||||||
style={[styles.container, styles.blurContainer]}>
|
|
||||||
<Text style={styles.welcome}>{`Blur component`}</Text>
|
|
||||||
<SegmentedControlIOS
|
|
||||||
values={['xlight', 'light', 'dark']}
|
|
||||||
selectedIndex={this.state.blurActiveSegment}
|
|
||||||
onChange={(event) => {this._onBlurChange(event)}}
|
|
||||||
onValueChange={(value) => {this._onBlurValueChange(value)}}
|
|
||||||
tintColor={this.state.blurBlurType == 'xlight' ? 'black' : 'white'}/>
|
|
||||||
</BlurView>
|
|
||||||
|
|
||||||
<VibrancyView
|
|
||||||
blurType={this.state.vibrancyBlurType}
|
|
||||||
blurAmount={1}
|
|
||||||
style={[styles.container, styles.blurContainer]}>
|
|
||||||
<Text style={styles.welcome}>{`Vibrancy component`}</Text>
|
|
||||||
<SegmentedControlIOS
|
|
||||||
values={['xlight', 'light', 'dark']}
|
|
||||||
selectedIndex={this.state.vibrancyActiveSegment}
|
|
||||||
onChange={(event) => {this._onVibrancyChange(event)}}
|
|
||||||
onValueChange={(value) => {this._onVibrancyValueChange(value)}}
|
|
||||||
tintColor={this.state.vibrancyBlurType == 'xlight' ? 'black' : 'white'}/>
|
|
||||||
</VibrancyView>
|
|
||||||
|
|
||||||
</View>
|
|
||||||
|
|
||||||
: null
|
|
||||||
)}
|
|
||||||
|
|
||||||
<View
|
<View
|
||||||
style={styles.blurToggle}>
|
style={styles.blurToggle}>
|
||||||
|
@ -104,13 +116,22 @@ class Basic extends Component {
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
justifyContent: 'center',
|
|
||||||
alignItems: 'stretch',
|
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
},
|
},
|
||||||
blurContainer: {
|
blurContainer: {
|
||||||
|
flex: 1,
|
||||||
|
backgroundColor: 'transparent',
|
||||||
|
justifyContent: 'center',
|
||||||
|
alignItems: 'stretch',
|
||||||
paddingHorizontal: 20,
|
paddingHorizontal: 20,
|
||||||
},
|
},
|
||||||
|
blurView: {
|
||||||
|
position: 'absolute',
|
||||||
|
left: 0,
|
||||||
|
right: 0,
|
||||||
|
top: 0,
|
||||||
|
bottom: 0,
|
||||||
|
},
|
||||||
img: {
|
img: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
left: 0,
|
left: 0,
|
||||||
|
|
|
@ -0,0 +1,54 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>en</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>$(EXECUTABLE_NAME)</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>$(PRODUCT_NAME)</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>LSRequiresIPhoneOS</key>
|
||||||
|
<true/>
|
||||||
|
<key>UILaunchStoryboardName</key>
|
||||||
|
<string>LaunchScreen</string>
|
||||||
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
|
<array>
|
||||||
|
<string>armv7</string>
|
||||||
|
</array>
|
||||||
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
|
<array>
|
||||||
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
</array>
|
||||||
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||||
|
<false/>
|
||||||
|
<key>NSLocationWhenInUseUsageDescription</key>
|
||||||
|
<string></string>
|
||||||
|
<key>NSAppTransportSecurity</key>
|
||||||
|
<!--See http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/ -->
|
||||||
|
<dict>
|
||||||
|
<key>NSExceptionDomains</key>
|
||||||
|
<dict>
|
||||||
|
<key>localhost</key>
|
||||||
|
<dict>
|
||||||
|
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>en</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>$(EXECUTABLE_NAME)</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>$(PRODUCT_NAME)</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>BNDL</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -5,7 +5,6 @@
|
||||||
};
|
};
|
||||||
objectVersion = 46;
|
objectVersion = 46;
|
||||||
objects = {
|
objects = {
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
|
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
|
||||||
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
|
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
|
||||||
|
@ -22,8 +21,21 @@
|
||||||
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
||||||
140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
|
140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
|
||||||
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
|
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
|
||||||
|
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 */; };
|
||||||
|
2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; };
|
||||||
|
2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
|
||||||
|
2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
|
||||||
|
2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
|
||||||
|
2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
|
||||||
|
2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
|
||||||
|
2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
|
||||||
|
2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
|
||||||
|
2DCD954D1E0B4F2C00145EB5 /* BasicTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* BasicTests.m */; };
|
||||||
|
5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
|
||||||
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
|
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
|
||||||
C21FDAD6C34040FFA7F144C6 /* libRNBlur.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F6B56E7D9C243AE94BB49E2 /* libRNBlur.a */; };
|
D2ECD809FF8C405DBF878160 /* libRNBlur.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A8E69D2A0C5C4828B32057AD /* libRNBlur.a */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
/* Begin PBXContainerItemProxy section */
|
||||||
|
@ -90,61 +102,117 @@
|
||||||
remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
|
remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
|
||||||
remoteInfo = React;
|
remoteInfo = React;
|
||||||
};
|
};
|
||||||
2D20A28B1E9BD6420070AD10 /* PBXContainerItemProxy */ = {
|
2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
|
||||||
|
proxyType = 1;
|
||||||
|
remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
|
||||||
|
remoteInfo = "Basic-tvOS";
|
||||||
|
};
|
||||||
|
3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
|
containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
|
||||||
proxyType = 2;
|
proxyType = 2;
|
||||||
remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
|
remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
|
||||||
remoteInfo = "RCTImage-tvOS";
|
remoteInfo = "RCTImage-tvOS";
|
||||||
};
|
};
|
||||||
2D20A28F1E9BD6420070AD10 /* PBXContainerItemProxy */ = {
|
3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
|
containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
|
||||||
proxyType = 2;
|
proxyType = 2;
|
||||||
remoteGlobalIDString = 2D2A28471D9B043800D4039D;
|
remoteGlobalIDString = 2D2A28471D9B043800D4039D;
|
||||||
remoteInfo = "RCTLinking-tvOS";
|
remoteInfo = "RCTLinking-tvOS";
|
||||||
};
|
};
|
||||||
2D20A2931E9BD6420070AD10 /* PBXContainerItemProxy */ = {
|
3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
|
containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
|
||||||
proxyType = 2;
|
proxyType = 2;
|
||||||
remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
|
remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
|
||||||
remoteInfo = "RCTNetwork-tvOS";
|
remoteInfo = "RCTNetwork-tvOS";
|
||||||
};
|
};
|
||||||
2D20A2971E9BD6420070AD10 /* PBXContainerItemProxy */ = {
|
3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
|
containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
|
||||||
proxyType = 2;
|
proxyType = 2;
|
||||||
remoteGlobalIDString = 2D2A28611D9B046600D4039D;
|
remoteGlobalIDString = 2D2A28611D9B046600D4039D;
|
||||||
remoteInfo = "RCTSettings-tvOS";
|
remoteInfo = "RCTSettings-tvOS";
|
||||||
};
|
};
|
||||||
2D20A29B1E9BD6420070AD10 /* PBXContainerItemProxy */ = {
|
3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
|
containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
|
||||||
proxyType = 2;
|
proxyType = 2;
|
||||||
remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
|
remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
|
||||||
remoteInfo = "RCTText-tvOS";
|
remoteInfo = "RCTText-tvOS";
|
||||||
};
|
};
|
||||||
2D20A2A01E9BD6420070AD10 /* PBXContainerItemProxy */ = {
|
3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
|
containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
|
||||||
proxyType = 2;
|
proxyType = 2;
|
||||||
remoteGlobalIDString = 2D2A28881D9B049200D4039D;
|
remoteGlobalIDString = 2D2A28881D9B049200D4039D;
|
||||||
remoteInfo = "RCTWebSocket-tvOS";
|
remoteInfo = "RCTWebSocket-tvOS";
|
||||||
};
|
};
|
||||||
2D20A2A41E9BD6420070AD10 /* PBXContainerItemProxy */ = {
|
3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
proxyType = 2;
|
proxyType = 2;
|
||||||
remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
|
remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
|
||||||
remoteInfo = "React-tvOS";
|
remoteInfo = "React-tvOS";
|
||||||
};
|
};
|
||||||
2D20A2A71E9BD6420070AD10 /* PBXContainerItemProxy */ = {
|
3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 6891818AED994DEA96991E86 /* RNBlur.xcodeproj */;
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
proxyType = 2;
|
proxyType = 2;
|
||||||
remoteGlobalIDString = A68BD7BC1BC31318005F02DF;
|
remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
|
||||||
remoteInfo = RNBlur;
|
remoteInfo = yoga;
|
||||||
|
};
|
||||||
|
3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
|
||||||
|
remoteInfo = "yoga-tvOS";
|
||||||
|
};
|
||||||
|
3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
|
||||||
|
remoteInfo = cxxreact;
|
||||||
|
};
|
||||||
|
3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
|
||||||
|
remoteInfo = "cxxreact-tvOS";
|
||||||
|
};
|
||||||
|
3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
|
||||||
|
remoteInfo = jschelpers;
|
||||||
|
};
|
||||||
|
3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
|
||||||
|
remoteInfo = "jschelpers-tvOS";
|
||||||
|
};
|
||||||
|
5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = 134814201AA4EA6300B7C361;
|
||||||
|
remoteInfo = RCTAnimation;
|
||||||
|
};
|
||||||
|
5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
|
||||||
|
remoteInfo = "RCTAnimation-tvOS";
|
||||||
};
|
};
|
||||||
78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
|
78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
|
@ -182,10 +250,13 @@
|
||||||
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Basic/Info.plist; sourceTree = "<group>"; };
|
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Basic/Info.plist; sourceTree = "<group>"; };
|
||||||
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Basic/main.m; sourceTree = "<group>"; };
|
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Basic/main.m; sourceTree = "<group>"; };
|
||||||
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
|
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
|
||||||
6891818AED994DEA96991E86 /* RNBlur.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNBlur.xcodeproj; path = "../node_modules/react-native-blur/ios/RNBlur.xcodeproj"; sourceTree = "<group>"; };
|
2D02E47B1E0B4A5D006451C7 /* Basic-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Basic-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
2D02E4901E0B4A5D006451C7 /* Basic-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Basic-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
|
||||||
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
|
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
|
||||||
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
|
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
|
||||||
8F6B56E7D9C243AE94BB49E2 /* libRNBlur.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNBlur.a; sourceTree = "<group>"; };
|
482A4E939D364AA89A71D498 /* RNBlur.xcodeproj */ = {isa = PBXFileReference; name = "RNBlur.xcodeproj"; path = "../node_modules/react-native-blur/ios/RNBlur.xcodeproj"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; };
|
||||||
|
A8E69D2A0C5C4828B32057AD /* libRNBlur.a */ = {isa = PBXFileReference; name = "libRNBlur.a"; path = "libRNBlur.a"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
|
@ -202,6 +273,7 @@
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
146834051AC3E58100842450 /* libReact.a in Frameworks */,
|
146834051AC3E58100842450 /* libReact.a in Frameworks */,
|
||||||
|
5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
|
||||||
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
|
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
|
||||||
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
|
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
|
||||||
00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
|
00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
|
||||||
|
@ -211,7 +283,29 @@
|
||||||
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
|
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
|
||||||
00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
|
00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
|
||||||
139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
|
139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
|
||||||
C21FDAD6C34040FFA7F144C6 /* libRNBlur.a in Frameworks */,
|
D2ECD809FF8C405DBF878160 /* libRNBlur.a in Frameworks */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
|
||||||
|
isa = PBXFrameworksBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */,
|
||||||
|
2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */,
|
||||||
|
2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
|
||||||
|
2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
|
||||||
|
2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
|
||||||
|
2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
|
||||||
|
2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
|
||||||
|
2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
|
||||||
|
isa = PBXFrameworksBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
@ -238,7 +332,7 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
|
00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
|
||||||
2D20A28C1E9BD6420070AD10 /* libRCTImage-tvOS.a */,
|
3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -247,7 +341,7 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
|
00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
|
||||||
2D20A2941E9BD6420070AD10 /* libRCTNetwork-tvOS.a */,
|
3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -281,7 +375,7 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
|
139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
|
||||||
2D20A2981E9BD6420070AD10 /* libRCTSettings-tvOS.a */,
|
3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -290,7 +384,7 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
|
139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
|
||||||
2D20A2A11E9BD6420070AD10 /* libRCTWebSocket-tvOS.a */,
|
3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -313,15 +407,22 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
146834041AC3E56700842450 /* libReact.a */,
|
146834041AC3E56700842450 /* libReact.a */,
|
||||||
2D20A2A51E9BD6420070AD10 /* libReact-tvOS.a */,
|
3DAD3EA31DF850E9000B6D8A /* libReact.a */,
|
||||||
|
3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
|
||||||
|
3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
|
||||||
|
3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
|
||||||
|
3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
|
||||||
|
3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
|
||||||
|
3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
2D20A2851E9BD6420070AD10 /* Products */ = {
|
5E91572E1DD0AC6500FF2AA8 /* Products */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
2D20A2A81E9BD6420070AD10 /* libRNBlur.a */,
|
5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
|
||||||
|
5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -330,7 +431,7 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
|
78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
|
||||||
2D20A2901E9BD6420070AD10 /* libRCTLinking-tvOS.a */,
|
3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -338,6 +439,7 @@
|
||||||
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
|
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
|
||||||
146833FF1AC3E56700842450 /* React.xcodeproj */,
|
146833FF1AC3E56700842450 /* React.xcodeproj */,
|
||||||
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
|
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
|
||||||
00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
|
00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
|
||||||
|
@ -348,7 +450,7 @@
|
||||||
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
|
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
|
||||||
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
|
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
|
||||||
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
|
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
|
||||||
6891818AED994DEA96991E86 /* RNBlur.xcodeproj */,
|
482A4E939D364AA89A71D498 /* RNBlur.xcodeproj */,
|
||||||
);
|
);
|
||||||
name = Libraries;
|
name = Libraries;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -357,7 +459,7 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
832341B51AAA6A8300B99B32 /* libRCTText.a */,
|
832341B51AAA6A8300B99B32 /* libRCTText.a */,
|
||||||
2D20A29C1E9BD6420070AD10 /* libRCTText-tvOS.a */,
|
3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -379,6 +481,8 @@
|
||||||
children = (
|
children = (
|
||||||
13B07F961A680F5B00A75B9A /* Basic.app */,
|
13B07F961A680F5B00A75B9A /* Basic.app */,
|
||||||
00E356EE1AD99517003FC87E /* BasicTests.xctest */,
|
00E356EE1AD99517003FC87E /* BasicTests.xctest */,
|
||||||
|
2D02E47B1E0B4A5D006451C7 /* Basic-tvOS.app */,
|
||||||
|
2D02E4901E0B4A5D006451C7 /* Basic-tvOSTests.xctest */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -422,6 +526,42 @@
|
||||||
productReference = 13B07F961A680F5B00A75B9A /* Basic.app */;
|
productReference = 13B07F961A680F5B00A75B9A /* Basic.app */;
|
||||||
productType = "com.apple.product-type.application";
|
productType = "com.apple.product-type.application";
|
||||||
};
|
};
|
||||||
|
2D02E47A1E0B4A5D006451C7 /* Basic-tvOS */ = {
|
||||||
|
isa = PBXNativeTarget;
|
||||||
|
buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Basic-tvOS" */;
|
||||||
|
buildPhases = (
|
||||||
|
2D02E4771E0B4A5D006451C7 /* Sources */,
|
||||||
|
2D02E4781E0B4A5D006451C7 /* Frameworks */,
|
||||||
|
2D02E4791E0B4A5D006451C7 /* Resources */,
|
||||||
|
2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
|
||||||
|
);
|
||||||
|
buildRules = (
|
||||||
|
);
|
||||||
|
dependencies = (
|
||||||
|
);
|
||||||
|
name = "Basic-tvOS";
|
||||||
|
productName = "Basic-tvOS";
|
||||||
|
productReference = 2D02E47B1E0B4A5D006451C7 /* Basic-tvOS.app */;
|
||||||
|
productType = "com.apple.product-type.application";
|
||||||
|
};
|
||||||
|
2D02E48F1E0B4A5D006451C7 /* Basic-tvOSTests */ = {
|
||||||
|
isa = PBXNativeTarget;
|
||||||
|
buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Basic-tvOSTests" */;
|
||||||
|
buildPhases = (
|
||||||
|
2D02E48C1E0B4A5D006451C7 /* Sources */,
|
||||||
|
2D02E48D1E0B4A5D006451C7 /* Frameworks */,
|
||||||
|
2D02E48E1E0B4A5D006451C7 /* Resources */,
|
||||||
|
);
|
||||||
|
buildRules = (
|
||||||
|
);
|
||||||
|
dependencies = (
|
||||||
|
2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
|
||||||
|
);
|
||||||
|
name = "Basic-tvOSTests";
|
||||||
|
productName = "Basic-tvOSTests";
|
||||||
|
productReference = 2D02E4901E0B4A5D006451C7 /* Basic-tvOSTests.xctest */;
|
||||||
|
productType = "com.apple.product-type.bundle.unit-test";
|
||||||
|
};
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
/* Begin PBXProject section */
|
||||||
|
@ -435,6 +575,15 @@
|
||||||
CreatedOnToolsVersion = 6.2;
|
CreatedOnToolsVersion = 6.2;
|
||||||
TestTargetID = 13B07F861A680F5B00A75B9A;
|
TestTargetID = 13B07F861A680F5B00A75B9A;
|
||||||
};
|
};
|
||||||
|
2D02E47A1E0B4A5D006451C7 = {
|
||||||
|
CreatedOnToolsVersion = 8.2.1;
|
||||||
|
ProvisioningStyle = Automatic;
|
||||||
|
};
|
||||||
|
2D02E48F1E0B4A5D006451C7 = {
|
||||||
|
CreatedOnToolsVersion = 8.2.1;
|
||||||
|
ProvisioningStyle = Automatic;
|
||||||
|
TestTargetID = 2D02E47A1E0B4A5D006451C7;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Basic" */;
|
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Basic" */;
|
||||||
|
@ -453,6 +602,10 @@
|
||||||
ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
|
ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
|
||||||
ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
|
ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
|
||||||
|
ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
|
||||||
|
},
|
||||||
{
|
{
|
||||||
ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
|
ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
|
||||||
ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
|
ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
|
||||||
|
@ -489,15 +642,13 @@
|
||||||
ProductGroup = 146834001AC3E56700842450 /* Products */;
|
ProductGroup = 146834001AC3E56700842450 /* Products */;
|
||||||
ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
},
|
},
|
||||||
{
|
|
||||||
ProductGroup = 2D20A2851E9BD6420070AD10 /* Products */;
|
|
||||||
ProjectRef = 6891818AED994DEA96991E86 /* RNBlur.xcodeproj */;
|
|
||||||
},
|
|
||||||
);
|
);
|
||||||
projectRoot = "";
|
projectRoot = "";
|
||||||
targets = (
|
targets = (
|
||||||
13B07F861A680F5B00A75B9A /* Basic */,
|
13B07F861A680F5B00A75B9A /* Basic */,
|
||||||
00E356ED1AD99517003FC87E /* BasicTests */,
|
00E356ED1AD99517003FC87E /* BasicTests */,
|
||||||
|
2D02E47A1E0B4A5D006451C7 /* Basic-tvOS */,
|
||||||
|
2D02E48F1E0B4A5D006451C7 /* Basic-tvOSTests */,
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
/* End PBXProject section */
|
/* End PBXProject section */
|
||||||
|
@ -559,60 +710,109 @@
|
||||||
remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
|
remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
2D20A28C1E9BD6420070AD10 /* libRCTImage-tvOS.a */ = {
|
3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
path = "libRCTImage-tvOS.a";
|
path = "libRCTImage-tvOS.a";
|
||||||
remoteRef = 2D20A28B1E9BD6420070AD10 /* PBXContainerItemProxy */;
|
remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
2D20A2901E9BD6420070AD10 /* libRCTLinking-tvOS.a */ = {
|
3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
path = "libRCTLinking-tvOS.a";
|
path = "libRCTLinking-tvOS.a";
|
||||||
remoteRef = 2D20A28F1E9BD6420070AD10 /* PBXContainerItemProxy */;
|
remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
2D20A2941E9BD6420070AD10 /* libRCTNetwork-tvOS.a */ = {
|
3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
path = "libRCTNetwork-tvOS.a";
|
path = "libRCTNetwork-tvOS.a";
|
||||||
remoteRef = 2D20A2931E9BD6420070AD10 /* PBXContainerItemProxy */;
|
remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
2D20A2981E9BD6420070AD10 /* libRCTSettings-tvOS.a */ = {
|
3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
path = "libRCTSettings-tvOS.a";
|
path = "libRCTSettings-tvOS.a";
|
||||||
remoteRef = 2D20A2971E9BD6420070AD10 /* PBXContainerItemProxy */;
|
remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
2D20A29C1E9BD6420070AD10 /* libRCTText-tvOS.a */ = {
|
3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
path = "libRCTText-tvOS.a";
|
path = "libRCTText-tvOS.a";
|
||||||
remoteRef = 2D20A29B1E9BD6420070AD10 /* PBXContainerItemProxy */;
|
remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
2D20A2A11E9BD6420070AD10 /* libRCTWebSocket-tvOS.a */ = {
|
3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
path = "libRCTWebSocket-tvOS.a";
|
path = "libRCTWebSocket-tvOS.a";
|
||||||
remoteRef = 2D20A2A01E9BD6420070AD10 /* PBXContainerItemProxy */;
|
remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
2D20A2A51E9BD6420070AD10 /* libReact-tvOS.a */ = {
|
3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
path = "libReact-tvOS.a";
|
path = libReact.a;
|
||||||
remoteRef = 2D20A2A41E9BD6420070AD10 /* PBXContainerItemProxy */;
|
remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
2D20A2A81E9BD6420070AD10 /* libRNBlur.a */ = {
|
3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
path = libRNBlur.a;
|
path = libyoga.a;
|
||||||
remoteRef = 2D20A2A71E9BD6420070AD10 /* PBXContainerItemProxy */;
|
remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = libyoga.a;
|
||||||
|
remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = libcxxreact.a;
|
||||||
|
remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = libcxxreact.a;
|
||||||
|
remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = libjschelpers.a;
|
||||||
|
remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = libjschelpers.a;
|
||||||
|
remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = libRCTAnimation.a;
|
||||||
|
remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = "libRCTAnimation-tvOS.a";
|
||||||
|
remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
|
78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
|
||||||
|
@ -648,6 +848,21 @@
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
2D02E4791E0B4A5D006451C7 /* Resources */ = {
|
||||||
|
isa = PBXResourcesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
2D02E48E1E0B4A5D006451C7 /* Resources */ = {
|
||||||
|
isa = PBXResourcesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
/* End PBXResourcesBuildPhase section */
|
/* End PBXResourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
|
@ -665,6 +880,20 @@
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
|
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
|
||||||
};
|
};
|
||||||
|
2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
);
|
||||||
|
name = "Bundle React Native Code And Images";
|
||||||
|
outputPaths = (
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
|
||||||
|
};
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
|
@ -685,6 +914,23 @@
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
2D02E4771E0B4A5D006451C7 /* Sources */ = {
|
||||||
|
isa = PBXSourcesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
|
||||||
|
2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
2D02E48C1E0B4A5D006451C7 /* Sources */ = {
|
||||||
|
isa = PBXSourcesBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
2DCD954D1E0B4F2C00145EB5 /* BasicTests.m in Sources */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
/* End PBXSourcesBuildPhase section */
|
/* End PBXSourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXTargetDependency section */
|
/* Begin PBXTargetDependency section */
|
||||||
|
@ -693,6 +939,11 @@
|
||||||
target = 13B07F861A680F5B00A75B9A /* Basic */;
|
target = 13B07F861A680F5B00A75B9A /* Basic */;
|
||||||
targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
|
targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
|
||||||
};
|
};
|
||||||
|
2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
|
||||||
|
isa = PBXTargetDependency;
|
||||||
|
target = 2D02E47A1E0B4A5D006451C7 /* Basic-tvOS */;
|
||||||
|
targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
|
||||||
|
};
|
||||||
/* End PBXTargetDependency section */
|
/* End PBXTargetDependency section */
|
||||||
|
|
||||||
/* Begin PBXVariantGroup section */
|
/* Begin PBXVariantGroup section */
|
||||||
|
@ -719,12 +970,20 @@
|
||||||
INFOPLIST_FILE = BasicTests/Info.plist;
|
INFOPLIST_FILE = BasicTests/Info.plist;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||||
|
OTHER_LDFLAGS = (
|
||||||
|
"-ObjC",
|
||||||
|
"-lc++",
|
||||||
|
);
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Basic.app/Basic";
|
||||||
LIBRARY_SEARCH_PATHS = (
|
LIBRARY_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"\"$(SRCROOT)/$(TARGET_NAME)\"",
|
"\"$(SRCROOT)/$(TARGET_NAME)\"",
|
||||||
);
|
);
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
HEADER_SEARCH_PATHS = (
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Basic.app/Basic";
|
"$(inherited)",
|
||||||
|
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
||||||
|
);
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
|
@ -736,12 +995,20 @@
|
||||||
INFOPLIST_FILE = BasicTests/Info.plist;
|
INFOPLIST_FILE = BasicTests/Info.plist;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||||
|
OTHER_LDFLAGS = (
|
||||||
|
"-ObjC",
|
||||||
|
"-lc++",
|
||||||
|
);
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Basic.app/Basic";
|
||||||
LIBRARY_SEARCH_PATHS = (
|
LIBRARY_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"\"$(SRCROOT)/$(TARGET_NAME)\"",
|
"\"$(SRCROOT)/$(TARGET_NAME)\"",
|
||||||
);
|
);
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
HEADER_SEARCH_PATHS = (
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Basic.app/Basic";
|
"$(inherited)",
|
||||||
|
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
||||||
|
);
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
|
@ -751,12 +1018,6 @@
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
DEAD_CODE_STRIPPING = NO;
|
DEAD_CODE_STRIPPING = NO;
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
||||||
"$(SRCROOT)/../node_modules/react-native/React/**",
|
|
||||||
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Basic/Info.plist;
|
INFOPLIST_FILE = Basic/Info.plist;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
|
@ -766,6 +1027,10 @@
|
||||||
);
|
);
|
||||||
PRODUCT_NAME = Basic;
|
PRODUCT_NAME = Basic;
|
||||||
VERSIONING_SYSTEM = "apple-generic";
|
VERSIONING_SYSTEM = "apple-generic";
|
||||||
|
HEADER_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
||||||
|
);
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
|
@ -774,12 +1039,6 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
||||||
"$(SRCROOT)/../node_modules/react-native/React/**",
|
|
||||||
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Basic/Info.plist;
|
INFOPLIST_FILE = Basic/Info.plist;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
|
@ -789,6 +1048,128 @@
|
||||||
);
|
);
|
||||||
PRODUCT_NAME = Basic;
|
PRODUCT_NAME = Basic;
|
||||||
VERSIONING_SYSTEM = "apple-generic";
|
VERSIONING_SYSTEM = "apple-generic";
|
||||||
|
HEADER_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
||||||
|
);
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
2D02E4971E0B4A5E006451C7 /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
|
||||||
|
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
|
||||||
|
CLANG_ANALYZER_NONNULL = YES;
|
||||||
|
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||||
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||||
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||||
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
|
ENABLE_TESTABILITY = YES;
|
||||||
|
GCC_NO_COMMON_BLOCKS = YES;
|
||||||
|
INFOPLIST_FILE = "Basic-tvOS/Info.plist";
|
||||||
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||||
|
OTHER_LDFLAGS = (
|
||||||
|
"-ObjC",
|
||||||
|
"-lc++",
|
||||||
|
);
|
||||||
|
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Basic-tvOS";
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
SDKROOT = appletvos;
|
||||||
|
TARGETED_DEVICE_FAMILY = 3;
|
||||||
|
TVOS_DEPLOYMENT_TARGET = 9.2;
|
||||||
|
LIBRARY_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"\"$(SRCROOT)/$(TARGET_NAME)\"",
|
||||||
|
);
|
||||||
|
HEADER_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
||||||
|
);
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
2D02E4981E0B4A5E006451C7 /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
|
||||||
|
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
|
||||||
|
CLANG_ANALYZER_NONNULL = YES;
|
||||||
|
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||||
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||||
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||||
|
COPY_PHASE_STRIP = NO;
|
||||||
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
|
GCC_NO_COMMON_BLOCKS = YES;
|
||||||
|
INFOPLIST_FILE = "Basic-tvOS/Info.plist";
|
||||||
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||||
|
OTHER_LDFLAGS = (
|
||||||
|
"-ObjC",
|
||||||
|
"-lc++",
|
||||||
|
);
|
||||||
|
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Basic-tvOS";
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
SDKROOT = appletvos;
|
||||||
|
TARGETED_DEVICE_FAMILY = 3;
|
||||||
|
TVOS_DEPLOYMENT_TARGET = 9.2;
|
||||||
|
LIBRARY_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"\"$(SRCROOT)/$(TARGET_NAME)\"",
|
||||||
|
);
|
||||||
|
HEADER_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
||||||
|
);
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
2D02E4991E0B4A5E006451C7 /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||||
|
CLANG_ANALYZER_NONNULL = YES;
|
||||||
|
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||||
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||||
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||||
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
|
ENABLE_TESTABILITY = YES;
|
||||||
|
GCC_NO_COMMON_BLOCKS = YES;
|
||||||
|
INFOPLIST_FILE = "Basic-tvOSTests/Info.plist";
|
||||||
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||||
|
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Basic-tvOSTests";
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
SDKROOT = appletvos;
|
||||||
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Basic-tvOS.app/Basic-tvOS";
|
||||||
|
TVOS_DEPLOYMENT_TARGET = 10.1;
|
||||||
|
LIBRARY_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"\"$(SRCROOT)/$(TARGET_NAME)\"",
|
||||||
|
);
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
2D02E49A1E0B4A5E006451C7 /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||||
|
CLANG_ANALYZER_NONNULL = YES;
|
||||||
|
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||||
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||||
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||||
|
COPY_PHASE_STRIP = NO;
|
||||||
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
|
GCC_NO_COMMON_BLOCKS = YES;
|
||||||
|
INFOPLIST_FILE = "Basic-tvOSTests/Info.plist";
|
||||||
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||||
|
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Basic-tvOSTests";
|
||||||
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
SDKROOT = appletvos;
|
||||||
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Basic-tvOS.app/Basic-tvOS";
|
||||||
|
TVOS_DEPLOYMENT_TARGET = 10.1;
|
||||||
|
LIBRARY_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"\"$(SRCROOT)/$(TARGET_NAME)\"",
|
||||||
|
);
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
|
@ -826,12 +1207,6 @@
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
||||||
"$(SRCROOT)/../node_modules/react-native/React/**",
|
|
||||||
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
|
||||||
);
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||||
MTL_ENABLE_DEBUG_INFO = YES;
|
MTL_ENABLE_DEBUG_INFO = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
|
@ -867,12 +1242,6 @@
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
||||||
"$(SRCROOT)/../node_modules/react-native/React/**",
|
|
||||||
"$(SRCROOT)/../node_modules/react-native-blur/ios",
|
|
||||||
);
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
|
@ -901,6 +1270,24 @@
|
||||||
defaultConfigurationIsVisible = 0;
|
defaultConfigurationIsVisible = 0;
|
||||||
defaultConfigurationName = Release;
|
defaultConfigurationName = Release;
|
||||||
};
|
};
|
||||||
|
2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Basic-tvOS" */ = {
|
||||||
|
isa = XCConfigurationList;
|
||||||
|
buildConfigurations = (
|
||||||
|
2D02E4971E0B4A5E006451C7 /* Debug */,
|
||||||
|
2D02E4981E0B4A5E006451C7 /* Release */,
|
||||||
|
);
|
||||||
|
defaultConfigurationIsVisible = 0;
|
||||||
|
defaultConfigurationName = Release;
|
||||||
|
};
|
||||||
|
2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Basic-tvOSTests" */ = {
|
||||||
|
isa = XCConfigurationList;
|
||||||
|
buildConfigurations = (
|
||||||
|
2D02E4991E0B4A5E006451C7 /* Debug */,
|
||||||
|
2D02E49A1E0B4A5E006451C7 /* Release */,
|
||||||
|
);
|
||||||
|
defaultConfigurationIsVisible = 0;
|
||||||
|
defaultConfigurationName = Release;
|
||||||
|
};
|
||||||
83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Basic" */ = {
|
83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Basic" */ = {
|
||||||
isa = XCConfigurationList;
|
isa = XCConfigurationList;
|
||||||
buildConfigurations = (
|
buildConfigurations = (
|
||||||
|
|
|
@ -0,0 +1,129 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Scheme
|
||||||
|
LastUpgradeVersion = "0820"
|
||||||
|
version = "1.3">
|
||||||
|
<BuildAction
|
||||||
|
parallelizeBuildables = "NO"
|
||||||
|
buildImplicitDependencies = "YES">
|
||||||
|
<BuildActionEntries>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "2D2A28121D9B038B00D4039D"
|
||||||
|
BuildableName = "libReact.a"
|
||||||
|
BlueprintName = "React-tvOS"
|
||||||
|
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
||||||
|
BuildableName = "Basic-tvOS.app"
|
||||||
|
BlueprintName = "Basic-tvOS"
|
||||||
|
ReferencedContainer = "container:Basic.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "NO"
|
||||||
|
buildForArchiving = "NO"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
||||||
|
BuildableName = "Basic-tvOSTests.xctest"
|
||||||
|
BlueprintName = "Basic-tvOSTests"
|
||||||
|
ReferencedContainer = "container:Basic.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
</BuildActionEntries>
|
||||||
|
</BuildAction>
|
||||||
|
<TestAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||||
|
<Testables>
|
||||||
|
<TestableReference
|
||||||
|
skipped = "NO">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
||||||
|
BuildableName = "Basic-tvOSTests.xctest"
|
||||||
|
BlueprintName = "Basic-tvOSTests"
|
||||||
|
ReferencedContainer = "container:Basic.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</TestableReference>
|
||||||
|
</Testables>
|
||||||
|
<MacroExpansion>
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
||||||
|
BuildableName = "Basic-tvOS.app"
|
||||||
|
BlueprintName = "Basic-tvOS"
|
||||||
|
ReferencedContainer = "container:Basic.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</MacroExpansion>
|
||||||
|
<AdditionalOptions>
|
||||||
|
</AdditionalOptions>
|
||||||
|
</TestAction>
|
||||||
|
<LaunchAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
launchStyle = "0"
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
ignoresPersistentStateOnLaunch = "NO"
|
||||||
|
debugDocumentVersioning = "YES"
|
||||||
|
debugServiceExtension = "internal"
|
||||||
|
allowLocationSimulation = "YES">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
||||||
|
BuildableName = "Basic-tvOS.app"
|
||||||
|
BlueprintName = "Basic-tvOS"
|
||||||
|
ReferencedContainer = "container:Basic.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
<AdditionalOptions>
|
||||||
|
</AdditionalOptions>
|
||||||
|
</LaunchAction>
|
||||||
|
<ProfileAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||||
|
savedToolIdentifier = ""
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
debugDocumentVersioning = "YES">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
||||||
|
BuildableName = "Basic-tvOS.app"
|
||||||
|
BlueprintName = "Basic-tvOS"
|
||||||
|
ReferencedContainer = "container:Basic.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</ProfileAction>
|
||||||
|
<AnalyzeAction
|
||||||
|
buildConfiguration = "Debug">
|
||||||
|
</AnalyzeAction>
|
||||||
|
<ArchiveAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
revealArchiveInOrganizer = "YES">
|
||||||
|
</ArchiveAction>
|
||||||
|
</Scheme>
|
|
@ -3,9 +3,23 @@
|
||||||
LastUpgradeVersion = "0620"
|
LastUpgradeVersion = "0620"
|
||||||
version = "1.3">
|
version = "1.3">
|
||||||
<BuildAction
|
<BuildAction
|
||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "NO"
|
||||||
buildImplicitDependencies = "YES">
|
buildImplicitDependencies = "YES">
|
||||||
<BuildActionEntries>
|
<BuildActionEntries>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
|
||||||
|
BuildableName = "libReact.a"
|
||||||
|
BlueprintName = "React"
|
||||||
|
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
<BuildActionEntry
|
<BuildActionEntry
|
||||||
buildForTesting = "YES"
|
buildForTesting = "YES"
|
||||||
buildForRunning = "YES"
|
buildForRunning = "YES"
|
||||||
|
@ -37,10 +51,10 @@
|
||||||
</BuildActionEntries>
|
</BuildActionEntries>
|
||||||
</BuildAction>
|
</BuildAction>
|
||||||
<TestAction
|
<TestAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||||
buildConfiguration = "Debug">
|
|
||||||
<Testables>
|
<Testables>
|
||||||
<TestableReference
|
<TestableReference
|
||||||
skipped = "NO">
|
skipped = "NO">
|
||||||
|
@ -62,15 +76,18 @@
|
||||||
ReferencedContainer = "container:Basic.xcodeproj">
|
ReferencedContainer = "container:Basic.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</MacroExpansion>
|
</MacroExpansion>
|
||||||
|
<AdditionalOptions>
|
||||||
|
</AdditionalOptions>
|
||||||
</TestAction>
|
</TestAction>
|
||||||
<LaunchAction
|
<LaunchAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
launchStyle = "0"
|
launchStyle = "0"
|
||||||
useCustomWorkingDirectory = "NO"
|
useCustomWorkingDirectory = "NO"
|
||||||
buildConfiguration = "Debug"
|
|
||||||
ignoresPersistentStateOnLaunch = "NO"
|
ignoresPersistentStateOnLaunch = "NO"
|
||||||
debugDocumentVersioning = "YES"
|
debugDocumentVersioning = "YES"
|
||||||
|
debugServiceExtension = "internal"
|
||||||
allowLocationSimulation = "YES">
|
allowLocationSimulation = "YES">
|
||||||
<BuildableProductRunnable
|
<BuildableProductRunnable
|
||||||
runnableDebuggingMode = "0">
|
runnableDebuggingMode = "0">
|
||||||
|
@ -86,10 +103,10 @@
|
||||||
</AdditionalOptions>
|
</AdditionalOptions>
|
||||||
</LaunchAction>
|
</LaunchAction>
|
||||||
<ProfileAction
|
<ProfileAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||||
savedToolIdentifier = ""
|
savedToolIdentifier = ""
|
||||||
useCustomWorkingDirectory = "NO"
|
useCustomWorkingDirectory = "NO"
|
||||||
buildConfiguration = "Release"
|
|
||||||
debugDocumentVersioning = "YES">
|
debugDocumentVersioning = "YES">
|
||||||
<BuildableProductRunnable
|
<BuildableProductRunnable
|
||||||
runnableDebuggingMode = "0">
|
runnableDebuggingMode = "0">
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
|
<key>CFBundleDisplayName</key>
|
||||||
|
<string>Basic</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>$(EXECUTABLE_NAME)</string>
|
<string>$(EXECUTABLE_NAME)</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
|
@ -38,10 +40,17 @@
|
||||||
<false/>
|
<false/>
|
||||||
<key>NSLocationWhenInUseUsageDescription</key>
|
<key>NSLocationWhenInUseUsageDescription</key>
|
||||||
<string></string>
|
<string></string>
|
||||||
<key>NSAppTransportSecurity</key>
|
<key>NSAppTransportSecurity</key>
|
||||||
|
<!--See http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/ -->
|
||||||
<dict>
|
<dict>
|
||||||
<key>NSAllowsArbitraryLoads</key>
|
<key>NSExceptionDomains</key>
|
||||||
<true/>
|
<dict>
|
||||||
|
<key>localhost</key>
|
||||||
|
<dict>
|
||||||
|
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
// Offline JS
|
|
||||||
// To re-generate the offline bundle, run this from the root of your project:
|
|
||||||
//
|
|
||||||
// $ react-native bundle --minify
|
|
||||||
//
|
|
||||||
// See http://facebook.github.io/react-native/docs/runningondevice.html for more details.
|
|
||||||
|
|
||||||
throw new Error('Offline JS file is empty. See iOS/main.jsbundle for instructions');
|
|
|
@ -1,13 +1,23 @@
|
||||||
{
|
{
|
||||||
"name": "Basic",
|
"name": "Basic",
|
||||||
"version": "0.0.2",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node_modules/react-native/packager/packager.sh"
|
"start": "node node_modules/react-native/local-cli/cli.js start",
|
||||||
},
|
"test": "jest"
|
||||||
"dependencies": {
|
},
|
||||||
"react": "~15.4.1",
|
"dependencies": {
|
||||||
"react-native": "^0.42.0",
|
"react": "16.0.0-alpha.6",
|
||||||
"react-native-blur": "file:../../"
|
"react-native": "0.43.3",
|
||||||
}
|
"react-native-blur": "file:../../"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"babel-jest": "19.0.0",
|
||||||
|
"babel-preset-react-native": "1.9.1",
|
||||||
|
"jest": "19.0.2",
|
||||||
|
"react-test-renderer": "16.0.0-alpha.6"
|
||||||
|
},
|
||||||
|
"jest": {
|
||||||
|
"preset": "react-native"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,14 +1,31 @@
|
||||||
import React, { Component, PropTypes } from 'react';
|
import React, { Component, PropTypes } from 'react';
|
||||||
import { View, requireNativeComponent } from 'react-native';
|
import { View, requireNativeComponent, DeviceEventEmitter, } from 'react-native';
|
||||||
|
|
||||||
class BlurView extends Component {
|
class BlurView extends Component {
|
||||||
|
componentWillMount() {
|
||||||
|
DeviceEventEmitter.addListener('ReactNativeBlurError', (message) => {
|
||||||
|
throw new Error(`[ReactNativeBlur]: ${message}`);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
componentWillUnmount() {
|
||||||
|
DeviceEventEmitter.removeAllListeners('ReactNativeBlurError');
|
||||||
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
if (this.props.children != null) {
|
||||||
|
throw new Error(
|
||||||
|
'[ReactNativeBlur]: BlurView cannot contain any child views on Android. ' +
|
||||||
|
'You should use "position: absolute" on the BlurView, ' +
|
||||||
|
'and place other views in front of it.');
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NativeBlurView
|
<NativeBlurView
|
||||||
{...this.props}
|
{...this.props}
|
||||||
style={[{
|
style={[{
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
}, this.props.style
|
}, this.props.style,
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
|
@ -8,7 +8,7 @@ class BlurView extends Component {
|
||||||
{...this.props}
|
{...this.props}
|
||||||
style={[{
|
style={[{
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
}, this.props.style
|
}, this.props.style,
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue