diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..15782f84
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+root = true
+
+[*]
+charset = utf-8
+indent_size = 2
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.gradle]
+indent_size = 4
+
+[*.md]
+trim_trailing_whitespace = false
diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 00000000..a8a80e26
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1,4 @@
+node_modules
+lib/
+example/android/app/build
+example/ios/Pods
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 00000000..17736d7d
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,25 @@
+const typescriptEslintRecommended = require('@typescript-eslint/eslint-plugin/dist/configs/recommended.json');
+const typescriptEslintPrettier = require('eslint-config-prettier/@typescript-eslint');
+
+module.exports = {
+ extends: ['@react-native-community'],
+ overrides: [
+ {
+ files: ['*.ts', '*.tsx'],
+ // Apply the recommended Typescript defaults and the prettier overrides to all Typescript files
+ rules: Object.assign(
+ typescriptEslintRecommended.rules,
+ typescriptEslintPrettier.rules,
+ {'@typescript-eslint/explicit-member-accessibility': 'off'},
+ ),
+ },
+ {
+ files: ['example/**/*.ts', 'example/**/*.tsx'],
+ rules: {
+ // Turn off rules which are useless and annoying for the example files files
+ '@typescript-eslint/explicit-function-return-type': 'off',
+ 'react-native/no-inline-styles': 'off',
+ },
+ },
+ ],
+};
diff --git a/.flowconfig b/.flowconfig
deleted file mode 100644
index 363b337a..00000000
--- a/.flowconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-[ignore]
-
-[include]
-
-[libs]
-
-[lints]
-
-[options]
diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md
deleted file mode 100644
index 6fd408ce..00000000
--- a/.github/CODE_OF_CONDUCT.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# Contributor Covenant Code of Conduct
-
-## Our Pledge
-
-In the interest of fostering an open and welcoming environment, we as
-contributors and maintainers pledge to making participation in our project and
-our community a harassment-free experience for everyone, regardless of age, body
-size, disability, ethnicity, gender identity and expression, level of
-experience, nationality, personal appearance, race, religion, or sexual identity
-and orientation.
-
-## Our Standards
-
-Examples of behavior that contributes to creating a positive environment
-include:
-
-* Using welcoming and inclusive language
-* Being respectful of differing viewpoints and experiences
-* Gracefully accepting constructive criticism
-* Focusing on what is best for the community
-* Showing empathy towards other community members
-
-Examples of unacceptable behavior by participants include:
-
-* The use of sexualized language or imagery and unwelcome sexual attention or
- advances
-* Trolling, insulting/derogatory comments, and personal or political attacks
-* Public or private harassment
-* Publishing others' private information, such as a physical or electronic
- address, without explicit permission
-* Other conduct which could reasonably be considered inappropriate in a
- professional setting
-
-## Our Responsibilities
-
-Project maintainers are responsible for clarifying the standards of acceptable
-behavior and are expected to take appropriate and fair corrective action in
-response to any instances of unacceptable behavior.
-
-Project maintainers have the right and responsibility to remove, edit, or reject
-comments, commits, code, wiki edits, issues, and other contributions that are
-not aligned to this Code of Conduct, or to ban temporarily or permanently any
-contributor for other behaviors that they deem inappropriate, threatening,
-offensive, or harmful.
-
-## Scope
-
-This Code of Conduct applies both within project spaces and in public spaces
-when an individual is representing the project or its community. Examples of
-representing a project or community include using an official project e-mail
-address, posting via an official social media account, or acting as an appointed
-representative at an online or offline event. Representation of a project may be
-further defined and clarified by project maintainers.
-
-## Enforcement
-
-Instances of abusive, harassing, or otherwise unacceptable behavior may be
-reported by contacting the project team at yonaforst@hotmail.com. The project
-team will review and investigate all complaints, and will respond in a way that
-it deems appropriate to the circumstances. The project team is obligated to
-maintain confidentiality with regard to the reporter of an incident. Further
-details of specific enforcement policies may be posted separately.
-
-Project maintainers who do not follow or enforce the Code of Conduct in good
-faith may face temporary or permanent repercussions as determined by other
-members of the project's leadership.
-
-## Attribution
-
-This Code of Conduct is adapted from the [Contributor Covenant][homepage],
-version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
-
-[homepage]: http://contributor-covenant.org
-[version]: http://contributor-covenant.org/version/1/4/
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 00000000..d3726954
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1 @@
+custom: https://www.paypal.me/zoontek
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
deleted file mode 100644
index d38e37a5..00000000
--- a/.github/ISSUE_TEMPLATE.md
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-### Describe your environment
-
-* React-Native version
-* Platform: iOS, Android, both?
-* Device (which one?), simulator?
-* OS version
-* react-native-permissions version
-* Devtools: Xcode? Android Studio version?
-* (Android only: buildToolsVersion)
-
-### How to repeat issue and example
-
-Explain what you did, what you expected to happen, and what actually happens.
-Provide some code if needed.
-
-### Solution
-
-Do you know what needs to be done to address this issue? Ideally, provide a pull
-request with a fix.
diff --git a/.github/stale.yml b/.github/stale.yml
new file mode 100644
index 00000000..3e096e58
--- /dev/null
+++ b/.github/stale.yml
@@ -0,0 +1,35 @@
+# Configuration for probot-stale based on: https://github.com/facebook/react-native/blob/master/.github/stale.yml
+
+# Number of days of inactivity before an issue becomes stale
+daysUntilStale: 90
+
+# Number of days of inactivity before a stale issue is closed
+daysUntilClose: 7
+
+# Issues with these labels will never be considered stale
+exemptLabels:
+ - Security
+ - Pinned
+ - Good first issue
+ - 'Type: Discussion'
+ - Partner
+ - Core Team
+ - 'Help Wanted :octocat:'
+ - 'Impact: Regression'
+ - 'Resolution: PR Submitted'
+ - 'Resolution: Backlog'
+
+# Label to use when marking an issue as stale
+staleLabel: Stale
+
+# Comment to post when marking an issue as stale. Set to `false` to disable
+markComment: >
+ Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs.
+ You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open.
+ Thank you for your contributions.
+
+# Comment to post when closing a stale issue. Set to `false` to disable
+closeComment: >
+ Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
+
+only: issues
diff --git a/.gitignore b/.gitignore
index 4b263c54..bebeaade 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1,51 @@
-*.xcworkspace
+# OSX
+.DS_Store
+
+# Xcode
+build/
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
xcuserdata
+*.xccheckout
+*.moved-aside
+DerivedData
+*.hmap
+*.ipa
+*.xcuserstate
+project.xcworkspace
+
+# Android/IntelliJ
+build/
+.idea
+.gradle
+local.properties
+*.iml
+
+# Visual Studio Code
+.vscode/
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
+# node.js
node_modules/
+npm-debug.log
+yarn-error.log
-*.DS_Store
-Thumbs.db
-Desktop.ini
+# BUCK
+buck-out/
+\.buckd/
+*.keystore
+!debug.keystore
-.vscode/
+# Bundle artifact
+*.jsbundle
+
+# Bob
+lib/
-android/build/
+# CocoaPods
+Pods/
diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index 90c978b3..00000000
--- a/.npmignore
+++ /dev/null
@@ -1 +0,0 @@
-example/
diff --git a/.prettierignore b/.prettierignore
index 1f125498..a8a80e26 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,3 +1,4 @@
-android/
-ios/
-example/node_modules/
+node_modules
+lib/
+example/android/app/build
+example/ios/Pods
diff --git a/.prettierrc b/.prettierrc
index 89a0a2b7..06fec134 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,5 +1,6 @@
{
+ "bracketSpacing": false,
+ "jsxBracketSameLine": true,
"singleQuote": true,
- "trailingComma": "all",
- "semi": false
+ "trailingComma": "all"
}
diff --git a/.yarnrc b/.yarnrc
new file mode 100644
index 00000000..3d567722
--- /dev/null
+++ b/.yarnrc
@@ -0,0 +1 @@
+save-exact true
diff --git a/CODEOWNERS b/CODEOWNERS
new file mode 100644
index 00000000..b9637f53
--- /dev/null
+++ b/CODEOWNERS
@@ -0,0 +1,2 @@
+# Global owners
+* @zoontek
diff --git a/LICENSE b/LICENSE
index a416aa46..e84b7e7f 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
-The MIT License (MIT)
+MIT License
-Copyright (c) 2015 Yonah Forst
+Copyright (c) 2019 Mathieu Acthernoene
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index 310f86df..57aeed71 100644
--- a/README.md
+++ b/README.md
@@ -6,311 +6,577 @@
![MIT](https://img.shields.io/dub/l/vibe-d.svg)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
-Request user permissions from React Native, iOS + Android
+An unified permissions API for React Native on iOS and Android.
-### 2.0.0 is on it's way! A bit of help is needed [here](https://github.com/yonahforst/react-native-permissions/pull/291)!
+## Support
-| Version | React Native Support |
+| version | react-native version |
| ------- | -------------------- |
-| 1.1.1 | 0.40 - 0.52 |
-| 0.2.5 | 0.33 - 0.39 |
+| 2.0.0+ | 0.60.0+ |
+| 1.2.1 | 0.56.0 - 0.59.10 |
-_Complies with
-[react-native-version-support-table](https://github.com/dangnelson/react-native-version-support-table)_
-
-## β οΈ Breaking changes in version 1.0.0
-
-* Now using React Native's own JS `PermissionsAndroid` module on Android, which
- is great because we no longer have to do any additional linking on Android
-* Updated API to be closer to React Native's `PermissionsAndroid`
-* Removed `openSettings()` support on Android (to stay linking-free). There are
- several NPM modules available for this
-* `restricted` status now supported on Android, although it means something
- different than iOS
+_You can use 2.0.0 with 0.59.10- with the [`jetify -r`](https://github.com/mikehardy/jetifier/blob/master/README.md#to-reverse-jetify--convert-node_modules-dependencies-to-support-libraries) `postinstall` command._
## Setup
-```sh
-npm install --save react-native-permissions
+```bash
+$ npm install --save react-native-permissions
# --- or ---
-yarn add react-native-permissions
+$ yarn add react-native-permissions
```
-_π Don't forget to add permissions to `AndroidManifest.xml` for android and
-`Info.plist` for iOS (Xcode >= 8). See [iOS Notes](#ios-notes) or [Android Notes](#android-notes) for more details._
+### iOS
-### Additional iOS setup
+By default no permission handler is installed. Update your `Podfile` by choosing the ones you want to check or request, then run `pod install`.
-#### Using cocoaPods
+```ruby
+target 'YourAwesomeProject' do
+
+ # β¦
+
+ permissions_path = '../node_modules/react-native-permissions/ios'
+
+ pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral.podspec"
+ pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars.podspec"
+ pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
+ pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts.podspec"
+ pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID.podspec"
+ pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways.podspec"
+ pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse.podspec"
+ pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary.podspec"
+ pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone.podspec"
+ pod 'Permission-Motion', :path => "#{permissions_path}/Motion.podspec"
+ pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec"
+ pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary.podspec"
+ pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders.podspec"
+ pod 'Permission-Siri', :path => "#{permissions_path}/Siri.podspec"
+ pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition.podspec"
+ pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit.podspec"
+
+end
+```
-Update the following line with your path to `node_modules/` and add it to your
-podfile:
+Then update your `Info.plist` with wanted permissions usage descriptions:
-```ruby
-pod 'ReactNativePermissions', :path => '../node_modules/react-native-permissions'
+```xml
+
+
+
+
+
+
+
+ NSAppleMusicUsageDescription
+ YOUR TEXT
+ NSBluetoothAlwaysUsageDescription
+ YOUR TEXT
+ NSBluetoothPeripheralUsageDescription
+ YOUR TEXT
+ NSCalendarsUsageDescription
+ YOUR TEXT
+ NSCameraUsageDescription
+ YOUR TEXT
+ NSContactsUsageDescription
+ YOUR TEXT
+ NSFaceIDUsageDescription
+ YOUR TEXT
+ NSLocationAlwaysAndWhenInUseUsageDescription
+ YOUR TEXT
+ NSLocationAlwaysUsageDescription
+ YOUR TEXT
+ NSLocationWhenInUseUsageDescription
+ YOUR TEXT
+ NSMicrophoneUsageDescription
+ YOUR TEXT
+ NSMotionUsageDescription
+ YOUR TEXT
+ NSPhotoLibraryUsageDescription
+ YOUR TEXT
+ NSRemindersUsageDescription
+ YOUR TEXT
+ NSSpeechRecognitionUsageDescription
+ YOUR TEXT
+
+
+
+
+
```
-#### Using react-native link
+### Android
+
+Add all wanted permissions to your app `android/app/src/main/res/AndroidManifest.xml` file:
-```sh
-react-native link react-native-permissions
+```xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
```
-#### Using manual linking
+## π Manual linking
-1. In the XCode's "Project navigator", right click on your project's Libraries
- folder β `Add Files to <...>`
-2. Go to `node_modules` β `react-native-permissions` β select
- `ReactNativePermissions.xcodeproj`
-3. Add `libReactNativePermissions.a` to `Build Phases` -> `Link Binary With
- Libraries`
+Because this package targets React Native 0.60.0+, you will probably don't need to link it manually. Otherwise if it's not the case, follow this additional instructions:
-## Using
+
+ π See manual linking instructions
-```js
-import Permissions from 'react-native-permissions'
-// OR const Permissions = require('react-native-permissions').default
-// if you use CommonJS module system
+### iOS
-//...
+Add this line to your `ios/Podfile` file, then run `pod install`.
-export default class extends React.Component {
- //...
+```bash
+target 'YourAwesomeProject' do
+ # β¦
+ pod 'RNPermissions', :path => '../node_modules/react-native-permissions'
+end
+```
- // Check the status of a single permission
- componentDidMount() {
- Permissions.check('photo').then(response => {
- // Response is one of: 'authorized', 'denied', 'restricted', or 'undetermined'
- this.setState({ photoPermission: response })
- })
- }
+### Android
- // Request permission to access photos
- _requestPermission = () => {
- Permissions.request('photo').then(response => {
- // Returns once the user has chosen to 'allow' or to 'not allow' access
- // Response is one of: 'authorized', 'denied', 'restricted', or 'undetermined'
- this.setState({ photoPermission: response })
- })
- }
+1. Add the following lines to `android/settings.gradle`:
- // Check the status of multiple permissions
- _checkCameraAndPhotos = () => {
- Permissions.checkMultiple(['camera', 'photo']).then(response => {
- //response is an object mapping type to permission
- this.setState({
- cameraPermission: response.camera,
- photoPermission: response.photo,
- })
- })
- }
+```gradle
+include ':react-native-permissions'
+project(':react-native-permissions').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-permissions/android')
+```
+
+2. Add the implementation line to the dependencies in `android/app/build.gradle`:
+
+```gradle
+dependencies {
+ // ...
+ implementation project(':react-native-permissions')
+}
+```
- // This is a common pattern when asking for permissions.
- // iOS only gives you once chance to show the permission dialog,
- // after which the user needs to manually enable them from settings.
- // The idea here is to explain why we need access and determine if
- // the user will say no, so that we don't blow our one chance.
- // If the user already denied access, we can ask them to enable it from settings.
- _alertForPhotosPermission() {
- Alert.alert(
- 'Can we access your photos?',
- 'We need access so you can set your profile pic',
- [
- {
- text: 'No way',
- onPress: () => console.log('Permission denied'),
- style: 'cancel',
- },
- this.state.photoPermission == 'undetermined'
- ? { text: 'OK', onPress: this._requestPermission }
- : { text: 'Open Settings', onPress: Permissions.openSettings },
- ],
- )
+3. Add the import and link the package in `MainApplication.java`:
+
+```java
+import com.reactnativecommunity.rnpermissions.RNPermissionsPackage; // <- add the RNPermissionsPackage import
+
+public class MainApplication extends Application implements ReactApplication {
+
+ // β¦
+
+ @Override
+ protected List getPackages() {
+ @SuppressWarnings("UnnecessaryLocalVariable")
+ List packages = new PackageList(this).getPackages();
+ // β¦
+ packages.add(new RNPermissionsPackage());
+ return packages;
}
- //...
+ // β¦
}
```
+
+
+## Understanding permission flow
+
+As permissions are not handled in the same way on iOS and Android, this library provides an abstraction over the two platforms behaviors. To understand it a little better, take a look to these two flowcharts:
+
+### iOS flow
+
+```
+ βββββββββββββββββββββββββββββββββ
+ β check(PERMISSIONS.IOS.CAMERA) β
+ βββββββββββββββββββββββββββββββββ
+ β
+ Is the feature available
+ on this deviceΒ ?
+ β ββββββ
+ βββββββββββββ NO ββββββββββββββββ
+ β ββββββ β
+ βββββββ βΌ
+ β YES β βββββββββββββββββββββββ
+ βββββββ β RESULTS.UNAVAILABLE β
+ β βββββββββββββββββββββββ
+ Is the permission
+ requestableΒ ?
+ β ββββββ
+ βββββββββββββ NO ββββββββββββββββ
+ β ββββββ β
+ βββββββ βΌ
+ β YES β βββββββββββββββββββββ
+ βββββββ β RESULTS.BLOCKED / β
+ β β RESULTS.GRANTED β
+ βΌ βββββββββββββββββββββ
+ ββββββββββββββββββ
+ β RESULTS.DENIED β
+ ββββββββββββββββββ
+ β
+ βΌ
+ βββββββββββββββββββββββββββββββββββ
+ β request(PERMISSIONS.IOS.CAMERA) β
+ βββββββββββββββββββββββββββββββββββ
+ β
+ Does the user accepted
+ the requestΒ ?
+ β ββββββ
+ βββββββββββββ NO ββββββββββββββββ
+ β ββββββ β
+ βββββββ βΌ
+ β YES β βββββββββββββββββββ
+ βββββββ β RESULTS.BLOCKED β
+ β βββββββββββββββββββ
+ βΌ
+ βββββββββββββββββββ
+ β RESULTS.GRANTED β
+ βββββββββββββββββββ
+```
+
+### Android flow
+
+```
+ βββββββββββββββββββββββββββββββββββββ
+ β check(PERMISSIONS.ANDROID.CAMERA) β
+ βββββββββββββββββββββββββββββββββββββ
+ β
+ Is the feature available
+ on this deviceΒ ?
+ β ββββββ
+ βββββββββββββ NO ββββββββββββββββ
+ β ββββββ β
+ βββββββ βΌ
+ β YES β βββββββββββββββββββββββ
+ βββββββ β RESULTS.UNAVAILABLE β
+ β βββββββββββββββββββββββ
+ Is the permission
+ requestableΒ ?
+ β ββββββ
+ βββββββββββββ NO ββββββββββββββββ
+ β ββββββ β
+ βββββββ βΌ
+ β YES β βββββββββββββββββββββ
+ βββββββ β RESULTS.BLOCKED / β
+ β β RESULTS.GRANTED β
+ βΌ βββββββββββββββββββββ
+ ββββββββββββββββββ
+ β RESULTS.DENIED βββββββββββββββββββββββββ
+ ββββββββββββββββββ β
+ β β
+ βΌ β
+βββββββββββββββββββββββββββββββββββββββ ββββββ
+β request(PERMISSIONS.ANDROID.CAMERA) β β NO β
+βββββββββββββββββββββββββββββββββββββββ ββββββ
+ β β
+ Does the user accepted β
+ the requestΒ ? β
+ β ββββββ Does the user checked
+ βββββββββββββ NO ββββββ"NeverΒ askΒ again"Β ?
+ β ββββββ β
+ βββββββ βββββββ
+ β YES β β YES β
+ βββββββ βββββββ
+ β β
+ βΌ βΌ
+ βββββββββββββββββββ βββββββββββββββββββ
+ β RESULTS.GRANTED β β RESULTS.BLOCKED β
+ βββββββββββββββββββ βββββββββββββββββββ
+```
+
## API
+### Supported permissions
+
+```js
+import {PERMISSIONS} from 'react-native-permissions';
+
+// Android permissions
+
+PERMISSIONS.ANDROID.ACCEPT_HANDOVER;
+PERMISSIONS.ANDROID.ACCESS_BACKGROUND_LOCATION;
+PERMISSIONS.ANDROID.ACCESS_COARSE_LOCATION;
+PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION;
+PERMISSIONS.ANDROID.ACTIVITY_RECOGNITION;
+PERMISSIONS.ANDROID.ADD_VOICEMAIL;
+PERMISSIONS.ANDROID.ANSWER_PHONE_CALLS;
+PERMISSIONS.ANDROID.BODY_SENSORS;
+PERMISSIONS.ANDROID.CALL_PHONE;
+PERMISSIONS.ANDROID.CAMERA;
+PERMISSIONS.ANDROID.GET_ACCOUNTS;
+PERMISSIONS.ANDROID.PROCESS_OUTGOING_CALLS;
+PERMISSIONS.ANDROID.READ_CALENDAR;
+PERMISSIONS.ANDROID.READ_CALL_LOG;
+PERMISSIONS.ANDROID.READ_CONTACTS;
+PERMISSIONS.ANDROID.READ_EXTERNAL_STORAGE;
+PERMISSIONS.ANDROID.READ_PHONE_NUMBERS;
+PERMISSIONS.ANDROID.READ_PHONE_STATE;
+PERMISSIONS.ANDROID.READ_SMS;
+PERMISSIONS.ANDROID.RECEIVE_MMS;
+PERMISSIONS.ANDROID.RECEIVE_SMS;
+PERMISSIONS.ANDROID.RECEIVE_WAP_PUSH;
+PERMISSIONS.ANDROID.RECORD_AUDIO;
+PERMISSIONS.ANDROID.SEND_SMS;
+PERMISSIONS.ANDROID.USE_SIP;
+PERMISSIONS.ANDROID.WRITE_CALENDAR;
+PERMISSIONS.ANDROID.WRITE_CALL_LOG;
+PERMISSIONS.ANDROID.WRITE_CONTACTS;
+PERMISSIONS.ANDROID.WRITE_EXTERNAL_STORAGE;
+
+// iOS permissions
+
+PERMISSIONS.IOS.BLUETOOTH_PERIPHERAL;
+PERMISSIONS.IOS.CALENDARS;
+PERMISSIONS.IOS.CAMERA;
+PERMISSIONS.IOS.CONTACTS;
+PERMISSIONS.IOS.FACE_ID;
+PERMISSIONS.IOS.LOCATION_ALWAYS;
+PERMISSIONS.IOS.LOCATION_WHEN_IN_USE;
+PERMISSIONS.IOS.MEDIA_LIBRARY;
+PERMISSIONS.IOS.MICROPHONE;
+PERMISSIONS.IOS.MOTION;
+PERMISSIONS.IOS.PHOTO_LIBRARY;
+PERMISSIONS.IOS.REMINDERS;
+PERMISSIONS.IOS.SIRI;
+PERMISSIONS.IOS.SPEECH_RECOGNITION;
+PERMISSIONS.IOS.STOREKIT;
+```
+
### Permissions statuses
-Promises resolve into one of these statuses:
-
-| Return value | Notes |
-| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `authorized` | User has authorized this permission |
-| `denied` | User has denied this permission at least once. On iOS this means that the user will not be prompted again. Android users can be prompted multiple times until they select 'Never ask me again' |
-| `restricted` | **iOS** - this means user is not able to grant this permission, either because it's not supported by the device or because it has been blocked by parental controls. **Android** - this means that the user has selected 'Never ask me again' while denying permission |
-| `undetermined` | User has not yet been prompted with a permission dialog |
-
-### Supported permissions types
-
-The current supported permissions are:
-
-| | Type | iOS | Android |
-| ------------------ | ------------------- | --- | ------- |
-| Location | `location` | βοΈ | β |
-| Camera | `camera` | βοΈ | β |
-| Microphone | `microphone` | βοΈ | β |
-| Photos | `photo` | βοΈ | β |
-| Contacts | `contacts` | βοΈ | β |
-| Events | `event` | βοΈ | β |
-| Bluetooth | `bluetooth` | βοΈ | β |
-| Reminders | `reminder` | βοΈ | β |
-| Push Notifications | `notification` | βοΈ | β |
-| Background Refresh | `backgroundRefresh` | βοΈ | β |
-| Speech Recognition | `speechRecognition` | βοΈ | β |
-| Media Library | `mediaLibrary` | βοΈ | β |
-| Motion Activity | `motion` | βοΈ | β |
-| Storage | `storage` | βοΈ | β |
-| Phone Call | `callPhone` | βοΈ | β |
-| Read SMS | `readSms` | βοΈ | β |
-| Receive SMS | `receiveSms` | βοΈ | β |
+Permission checks and requests resolve into one of these statuses:
+
+| Return value | Notes |
+| --------------------- | ----------------------------------------------------------------- |
+| `RESULTS.UNAVAILABLE` | This feature is not available (on this device / in this context) |
+| `RESULTS.DENIED` | The permission has not been requested / is denied but requestable |
+| `RESULTS.GRANTED` | The permission is granted |
+| `RESULTS.BLOCKED` | The permission is denied and not requestable anymore |
### Methods
-| Method Name | Arguments | Notes |
-| ------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `check()` | `type` | - Returns a promise with the permission status. See iOS Notes for special cases |
-| `request()` | `type` | - Accepts any permission type except `backgroundRefresh`. If the current status is `undetermined`, shows the permission dialog and returns a promise with the resulting status. Otherwise, immediately return a promise with the current status. See iOS Notes for special cases |
-| `checkMultiple()` | `[types]` | - Accepts an array of permission types and returns a promise with an object mapping permission types to statuses |
-| `getTypes()` | _none_ | - Returns an array of valid permission types |
-| `openSettings()` | _none_ | - _(iOS only - 8.0 and later)_ Switches the user to the settings page of your app |
-| `canOpenSettings()` | _none_ | - _(iOS only)_ Returns a boolean indicating if the device supports switching to the settings page |
-
-### iOS Notes
-
-* Permission type `bluetooth` represents the status of the
- `CBPeripheralManager`. Don't use this if only need `CBCentralManager`
-* Permission type `location` accepts a second parameter for `request()` and
- `check()`; the second parameter is a string, either `always` or `whenInUse`
- (default).
-* Permission type `notification` accepts a second parameter for `request()`. The
- second parameter is an array with the desired alert types. Any combination of
- `alert`, `badge` and `sound` (default requests all three).
-* If you are not requesting mediaLibrary then you can remove MediaPlayer.framework from the xcode project
+```ts
+// type used in usage examples
+type PermissionStatus = 'unavailable' | 'denied' | 'blocked' | 'granted';
+```
+
+#### check
+
+Check one permission status.
+
+```ts
+function check(permission: string): Promise;
+```
```js
-// example
-Permissions.check('location', { type: 'always' }).then(response => {
- this.setState({ locationPermission: response })
-})
-
-Permissions.request('location', { type: 'always' }).then(response => {
- this.setState({ locationPermission: response })
-})
-
-Permissions.request('notification', { type: ['alert', 'badge'] }).then(
- response => {
- this.setState({ notificationPermission: response })
- },
-)
+import {check, PERMISSIONS, RESULTS} from 'react-native-permissions';
+
+check(PERMISSIONS.IOS.LOCATION_ALWAYS)
+ .then(result => {
+ switch (result) {
+ case RESULTS.UNAVAILABLE:
+ console.log(
+ 'This feature is not available (on this device / in this context)',
+ );
+ break;
+ case RESULTS.DENIED:
+ console.log(
+ 'The permission has not been requested / is denied but requestable',
+ );
+ break;
+ case RESULTS.GRANTED:
+ console.log('The permission is granted');
+ break;
+ case RESULTS.BLOCKED:
+ console.log('The permission is denied and not requestable anymore');
+ break;
+ }
+ })
+ .catch(error => {
+ // β¦
+ });
```
-* You cannot request microphone permissions on the simulator.
-* With Xcode 8, you now need to add usage descriptions for each permission you
- will request. Open Xcode β `Info.plist` β Add a key (starting with "Privacy -
- ...") with your kit specific permission.
+---
-Example: If you need Contacts permission you have to add the key `Privacy -
-Contacts Usage Description`.
+#### request
-
+Request one permission.
-#### App Store submission disclaimer
+```ts
+type Rationale = {
+ title: string;
+ message: string;
+ buttonPositive?: string;
+ buttonNegative?: string;
+ buttonNeutral?: string;
+};
-If you need to submit you application to the AppStore, you need to add to your
-`Info.plist` all `*UsageDescription` keys with a string value explaining to the
-user how the app uses this data. **Even if you don't use them**.
+function request(
+ permission: string,
+ rationale?: Rationale,
+): Promise;
+```
-So before submitting your app to the App Store, make sure that in your
-`Info.plist` you have the following keys:
+```js
+import {request, PERMISSIONS} from 'react-native-permissions';
-```xml
-NSBluetoothPeripheralUsageDescription
-Some description
-NSCalendarsUsageDescription
-Some description
-NSCameraUsageDescription
-Some description
-NSLocationWhenInUseUsageDescription
-Some description
-NSPhotoLibraryAddUsageDescription
-Some description
-NSPhotoLibraryUsageDescription
-Some description
-NSSpeechRecognitionUsageDescription
-Some description
-NSAppleMusicUsageDescription
-Some description
-NSMotionUsageDescription
-Some description
+request(PERMISSIONS.IOS.LOCATION_ALWAYS).then(result => {
+ // β¦
+});
```
-This is required because during the phase of processing in the App Store
-submission, the system detects that you app contains code to request the
-permission `X` but don't have the `UsageDescription` key and then it rejects the
-build.
-> Please note that it will only be shown to the users the usage descriptions of
-> the permissions you really require in your app.
+---
+
+#### checkNotifications
+
+Check notifications permission status and get notifications settings values.
+
+```ts
+interface NotificationSettings {
+ // properties only availables on iOS
+ // unavailable settings will not be included in the response object
+ alert?: boolean;
+ badge?: boolean;
+ sound?: boolean;
+ lockScreen?: boolean;
+ carPlay?: boolean;
+ notificationCenter?: boolean;
+ criticalAlert?: boolean;
+}
+
+function checkNotifications(): Promise<{
+ status: PermissionStatus;
+ settings: NotificationSettings;
+}>;
+```
-You can find more information about this issue in #46.
+```js
+import {checkNotifications} from 'react-native-permissions';
-### Android Notes
+checkNotifications().then(({status, settings}) => {
+ // β¦
+});
+```
-* Uses React Native's own
- [`PermissionsAndroid` JS API](http://facebook.github.io/react-native/docs/permissionsandroid.html).
-* All required permissions also need to be included in the `AndroidManifest.xml`
- file before they can be requested. Otherwise `request()` will immediately
- return `denied`.
-* You can request write access to any of these types by also including the
- appropriate write permission in the `AndroidManifest.xml` file. Read more
- [here](https://developer.android.com/guide/topics/security/permissions.html#normal-dangerous).
+---
+
+#### requestNotifications
+
+Request notifications permission status and get notifications settings values.
+
+```ts
+// only used on iOS
+type NotificationOption =
+ | 'alert'
+ | 'badge'
+ | 'sound'
+ | 'criticalAlert'
+ | 'carPlay'
+ | 'provisional';
+
+interface NotificationSettings {
+ // properties only availables on iOS
+ // unavailable settings will not be included in the response object
+ alert?: boolean;
+ badge?: boolean;
+ sound?: boolean;
+ lockScreen?: boolean;
+ carPlay?: boolean;
+ notificationCenter?: boolean;
+ criticalAlert?: boolean;
+}
-* The optional rationale argument will show a dialog prompt.
+function requestNotifications(
+ options: NotificationOption[],
+): Promise<{
+ status: PermissionStatus;
+ settings: NotificationSettings;
+}>;
+```
```js
-// example
-Permissions.request('camera', {
- rationale: {
- title: 'Cool Photo App Camera Permission',
- message:
- 'Cool Photo App needs access to your camera ' +
- 'so you can take awesome pictures.',
- },
-}).then(response => {
- this.setState({ cameraPermission: response })
-})
+import {requestNotifications} from 'react-native-permissions';
+
+requestNotifications(['alert', 'sound']).then(({status, settings}) => {
+ // β¦
+});
```
-* Permissions are automatically accepted for **targetSdkVersion < 23** but you
- can still use `check()` to check if the user has disabled them from Settings.
+---
-You might need to elevate the **targetSdkVersion** version in your
-`build.gradle`:
+#### openSettings
-```groovy
-android {
- compileSdkVersion 23 // β set at least 23
- buildToolsVersion "23.0.1" // β set at least 23.0.0
+Open application settings.
- defaultConfig {
- minSdkVersion 16
- targetSdkVersion 23 // β set at least 23
- // ...
+```ts
+function openSettings(): Promise;
```
-## Troubleshooting
+```js
+import {openSettings} from 'react-native-permissions';
-#### Q: iOS - App crashes as soon as I request permission
+openSettings().catch(() => console.warn('cannot open settings'));
+```
-> A: Starting with Xcode 8, you need to add permission descriptions. See iOS
-> notes for more details. Thanks to [@jesperlndk](https://github.com/jesperlndk)
-> for discovering this.
+## Additional recipes
-#### Q: iOS - App crashes when I change permission from settings
+#### Check multiples permissions
-> A: This is normal. iOS restarts your app when your privacy settings change.
-> Just google "iOS crash permission change"
+```js
+import {check, PERMISSIONS} from 'react-native-permissions';
+
+// can be done in parallel
+Promise.all([
+ check(PERMISSIONS.IOS.CAMERA),
+ check(PERMISSIONS.IOS.CONTACTS),
+ // β¦
+]).then(([cameraStatus, contactsStatus /* β¦ */]) => {
+ console.log({cameraStatus, contactsStatus});
+});
+```
+
+#### Request multiples permissions
+
+_β οΈΒ Β It's a very bad UX pattern, avoid doing it!_
+
+```js
+import {check, request, PERMISSIONS} from 'react-native-permissions';
+
+// should be done in sequence
+async function requestAll() {
+ const cameraStatus = await request(PERMISSIONS.IOS.CAMERA);
+ const contactsStatus = await request(PERMISSIONS.IOS.CONTACTS);
+ return {cameraStatus, contactsStatus};
+}
+
+console.log(requestAll());
+```
diff --git a/RNPermissions.podspec b/RNPermissions.podspec
new file mode 100644
index 00000000..4a668cfb
--- /dev/null
+++ b/RNPermissions.podspec
@@ -0,0 +1,21 @@
+require 'json'
+package = JSON.parse(File.read('./package.json'))
+
+Pod::Spec.new do |s|
+ s.name = "RNPermissions"
+ s.dependency "React"
+
+ s.version = package["version"]
+ s.license = package["license"]
+ s.summary = package["description"]
+ s.authors = package["author"]
+ s.homepage = package["homepage"]
+
+ s.platform = :ios, "9.0"
+ s.ios.deployment_target = "9.0"
+ s.tvos.deployment_target = "11.0"
+ s.requires_arc = true
+
+ s.source = { :git => package["repository"]["url"], :tag => s.version }
+ s.source_files = "ios/*.{h,m}"
+end
diff --git a/ReactNativePermissions.podspec b/ReactNativePermissions.podspec
deleted file mode 100644
index e1fbb739..00000000
--- a/ReactNativePermissions.podspec
+++ /dev/null
@@ -1,22 +0,0 @@
-require 'json'
-
-package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
-
-Pod::Spec.new do |s|
- s.name = 'ReactNativePermissions'
- s.version = package['version']
- s.summary = package['description']
- s.description = package['description']
- s.homepage = package['homepage']
- s.license = package['license']
- s.author = package['author']
- s.source = { :git => 'https://github.com/yonahforst/react-native-permissions.git', :tag => s.version }
-
- s.platform = :ios, '9.0'
- s.ios.deployment_target = '8.0'
-
- s.preserve_paths = 'LICENSE', 'package.json'
- s.source_files = '**/*.{h,m}'
- s.exclude_files = 'example/**/*'
- s.dependency 'React'
-end
diff --git a/android/build.gradle b/android/build.gradle
new file mode 100644
index 00000000..ba5c5bc3
--- /dev/null
+++ b/android/build.gradle
@@ -0,0 +1,51 @@
+def safeExtGet(prop, fallback) {
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
+}
+
+buildscript {
+ // The Android Gradle plugin is only required when opening the android folder stand-alone.
+ // This avoids unnecessary downloads and potential conflicts when the library is included as a
+ // module dependency in an application project.
+ if (project == rootProject) {
+ repositories {
+ google()
+ jcenter()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.5.0'
+ }
+ }
+}
+
+apply plugin: 'com.android.library'
+
+android {
+ compileSdkVersion safeExtGet('compileSdkVersion', 28)
+ buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')
+ defaultConfig {
+ minSdkVersion safeExtGet('minSdkVersion', 16)
+ targetSdkVersion safeExtGet('targetSdkVersion', 28)
+ }
+ lintOptions {
+ abortOnError false
+ }
+}
+
+repositories {
+ mavenLocal()
+ maven {
+ // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
+ url "$rootDir/../node_modules/react-native/android"
+ }
+ maven {
+ // Android JSC is installed from npm
+ url "$rootDir/../node_modules/jsc-android/dist"
+ }
+ google()
+ jcenter()
+}
+
+dependencies {
+ //noinspection GradleDynamicVersion
+ implementation 'com.facebook.react:react-native:+' // From node_modules
+}
diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..88b339c8
--- /dev/null
+++ b/android/src/main/AndroidManifest.xml
@@ -0,0 +1,4 @@
+
+
diff --git a/android/src/main/java/com/reactnativecommunity/rnpermissions/RNPermissionsModule.java b/android/src/main/java/com/reactnativecommunity/rnpermissions/RNPermissionsModule.java
new file mode 100644
index 00000000..e6fb8856
--- /dev/null
+++ b/android/src/main/java/com/reactnativecommunity/rnpermissions/RNPermissionsModule.java
@@ -0,0 +1,114 @@
+package com.reactnativecommunity.rnpermissions;
+
+import android.Manifest;
+import android.content.Context;
+import android.content.Intent;
+import android.content.SharedPreferences;
+import android.net.Uri;
+import android.provider.Settings;
+
+import androidx.core.app.NotificationManagerCompat;
+
+import com.facebook.react.bridge.Arguments;
+import com.facebook.react.bridge.Promise;
+import com.facebook.react.bridge.ReactApplicationContext;
+import com.facebook.react.bridge.ReactContextBaseJavaModule;
+import com.facebook.react.bridge.ReactMethod;
+import com.facebook.react.bridge.ReadableArray;
+import com.facebook.react.bridge.WritableArray;
+import com.facebook.react.bridge.WritableMap;
+import com.facebook.react.module.annotations.ReactModule;
+
+import java.util.Map;
+
+@ReactModule(name = RNPermissionsModule.MODULE_NAME)
+public class RNPermissionsModule extends ReactContextBaseJavaModule {
+
+ private static final String ERROR_INVALID_ACTIVITY = "E_INVALID_ACTIVITY";
+ public static final String MODULE_NAME = "RNPermissions";
+ private static final String SETTING_NAME = "@RNPermissions:NonRequestables";
+
+ private final SharedPreferences sharedPrefs;
+
+ public RNPermissionsModule(ReactApplicationContext reactContext) {
+ super(reactContext);
+ sharedPrefs = reactContext.getSharedPreferences(SETTING_NAME, Context.MODE_PRIVATE);
+ }
+
+ @Override
+ public String getName() {
+ return MODULE_NAME;
+ }
+
+ @ReactMethod
+ public void isAvailable(final String permission, final Promise promise) {
+ String fieldName = permission.substring(permission.lastIndexOf('.') + 1);
+
+ try {
+ Manifest.permission.class.getField(fieldName);
+ promise.resolve(true);
+ } catch (NoSuchFieldException e) {
+ promise.resolve(false);
+ }
+ }
+
+ @ReactMethod
+ public void setNonRequestable(final String permission, final Promise promise) {
+ promise.resolve(sharedPrefs.edit().putBoolean(permission, true).commit());
+ }
+
+ @ReactMethod
+ public void getNonRequestables(final Promise promise) {
+ WritableArray result = Arguments.createArray();
+ Map entries = sharedPrefs.getAll();
+
+ for (Map.Entry entry : entries.entrySet()) {
+ result.pushString(entry.getKey());
+ }
+
+ promise.resolve(result);
+ }
+
+ @ReactMethod
+ public void openSettings(final Promise promise) {
+ try {
+ final ReactApplicationContext reactContext = getReactApplicationContext();
+ final Intent intent = new Intent();
+
+ intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
+ intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ intent.setData(Uri.fromParts("package", reactContext.getPackageName(), null));
+
+ reactContext.startActivity(intent);
+ promise.resolve(true);
+ } catch (Exception e) {
+ promise.reject(ERROR_INVALID_ACTIVITY, e);
+ }
+ }
+
+ private WritableMap internalCheckNotifications() {
+ final ReactApplicationContext reactContext = getReactApplicationContext();
+ final boolean enabled = NotificationManagerCompat.from(reactContext).areNotificationsEnabled();
+ final WritableMap map = Arguments.createMap();
+ final WritableMap settings = Arguments.createMap();
+
+ if (enabled) {
+ map.putString("status", "granted");
+ } else {
+ map.putString("status", "denied");
+ }
+
+ map.putMap("settings", settings);
+ return map;
+ }
+
+ @ReactMethod
+ public void checkNotifications(final Promise promise) {
+ promise.resolve(internalCheckNotifications());
+ }
+
+ @ReactMethod
+ public void requestNotifications(ReadableArray options, final Promise promise) {
+ promise.resolve(internalCheckNotifications());
+ }
+}
diff --git a/android/src/main/java/com/reactnativecommunity/rnpermissions/RNPermissionsPackage.java b/android/src/main/java/com/reactnativecommunity/rnpermissions/RNPermissionsPackage.java
new file mode 100644
index 00000000..37d1f024
--- /dev/null
+++ b/android/src/main/java/com/reactnativecommunity/rnpermissions/RNPermissionsPackage.java
@@ -0,0 +1,22 @@
+package com.reactnativecommunity.rnpermissions;
+
+import com.facebook.react.ReactPackage;
+import com.facebook.react.bridge.NativeModule;
+import com.facebook.react.bridge.ReactApplicationContext;
+import com.facebook.react.uimanager.ViewManager;
+
+import java.util.Collections;
+import java.util.List;
+
+public class RNPermissionsPackage implements ReactPackage {
+
+ @Override
+ public List createNativeModules(ReactApplicationContext reactContext) {
+ return Collections.singletonList(new RNPermissionsModule(reactContext));
+ }
+
+ @Override
+ public List createViewManagers(ReactApplicationContext reactContext) {
+ return Collections.emptyList();
+ }
+}
diff --git a/example/.babelrc b/example/.babelrc
deleted file mode 100644
index a9ce1369..00000000
--- a/example/.babelrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "presets": ["react-native"]
-}
diff --git a/example/.buckconfig b/example/.buckconfig
deleted file mode 100644
index 934256cb..00000000
--- a/example/.buckconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-
-[android]
- target = Google Inc.:Google APIs:23
-
-[maven_repositories]
- central = https://repo1.maven.org/maven2
diff --git a/example/.flowconfig b/example/.flowconfig
deleted file mode 100644
index 1ac2a7be..00000000
--- a/example/.flowconfig
+++ /dev/null
@@ -1,48 +0,0 @@
-[ignore]
-; We fork some components by platform
-.*/*[.]android.js
-
-; Ignore "BUCK" generated dirs
-/\.buckd/
-
-; Ignore unexpected extra "@providesModule"
-.*/node_modules/.*/node_modules/fbjs/.*
-
-; 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
-.*/Libraries/react-native/React.js
-
-; Ignore polyfills
-.*/Libraries/polyfills/.*
-
-[include]
-
-[libs]
-node_modules/react-native/Libraries/react-native/react-native-interface.js
-node_modules/react-native/flow/
-
-[options]
-emoji=true
-
-module.system=haste
-
-munge_underscores=true
-
-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=$FlowFixMe
-suppress_type=$FlowFixMeProps
-suppress_type=$FlowFixMeState
-suppress_type=$FixMe
-
-suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
-suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
-suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
-suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
-
-unsafe.enable_getters_and_setters=true
-
-[version]
-^0.56.0
diff --git a/example/.gitignore b/example/.gitignore
deleted file mode 100644
index 0826423b..00000000
--- a/example/.gitignore
+++ /dev/null
@@ -1,53 +0,0 @@
-# OSX
-#
-.DS_Store
-
-# Xcode
-#
-build/
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-*.xccheckout
-*.moved-aside
-DerivedData
-*.hmap
-*.ipa
-*.xcuserstate
-project.xcworkspace
-
-# Android/IntelliJ
-#
-build/
-.idea
-.gradle
-local.properties
-*.iml
-
-# node.js
-#
-node_modules/
-npm-debug.log
-yarn-error.log
-
-# BUCK
-buck-out/
-\.buckd/
-*.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://docs.fastlane.tools/best-practices/source-control/
-
-*/fastlane/report.xml
-*/fastlane/Preview.html
-*/fastlane/screenshots
diff --git a/example/.watchmanconfig b/example/.watchmanconfig
deleted file mode 100644
index 9e26dfee..00000000
--- a/example/.watchmanconfig
+++ /dev/null
@@ -1 +0,0 @@
-{}
\ No newline at end of file
diff --git a/example/App.js b/example/App.js
deleted file mode 100644
index 9f78ebf5..00000000
--- a/example/App.js
+++ /dev/null
@@ -1,182 +0,0 @@
-// @flow
-
-import React, { Component } from 'react'
-import {
- StyleSheet,
- TouchableHighlight,
- Text,
- View,
- Alert,
- AppState,
- Platform,
-} from 'react-native'
-
-import Permissions from 'react-native-permissions'
-
-export default class App extends Component {
- state = {
- types: [],
- status: {},
- }
-
- componentDidMount() {
- let types = Permissions.getTypes()
- let canOpenSettings = Permissions.canOpenSettings()
-
- this.setState({ types, canOpenSettings })
- this._updatePermissions(types)
- AppState.addEventListener('change', this._handleAppStateChange)
- }
-
- componentWillUnmount() {
- AppState.removeEventListener('change', this._handleAppStateChange)
- }
-
- //update permissions when app comes back from settings
- _handleAppStateChange = appState => {
- if (appState == 'active') {
- this._updatePermissions(this.state.types)
- }
- }
-
- _openSettings = () =>
- Permissions.openSettings().then(() => alert('back to app!!'))
-
- _updatePermissions = types => {
- Permissions.checkMultiple(types)
- .then(status => {
- if (this.state.isAlways) {
- return Permissions.check('location', 'always').then(location => ({
- ...status,
- location,
- }))
- }
- return status
- })
- .then(status => this.setState({ status }))
- }
-
- _requestPermission = permission => {
- var options
-
- if (permission == 'location') {
- options = this.state.isAlways ? 'always' : 'whenInUse'
- }
-
- Permissions.request(permission, options)
- .then(res => {
- this.setState({
- status: { ...this.state.status, [permission]: res },
- })
- if (res != 'authorized') {
- var buttons = [{ text: 'Cancel', style: 'cancel' }]
- if (this.state.canOpenSettings)
- buttons.push({
- text: 'Open Settings',
- onPress: this._openSettings,
- })
-
- Alert.alert(
- 'Whoops!',
- 'There was a problem getting your permission. Please enable it from settings.',
- buttons,
- )
- }
- })
- .catch(e => console.warn(e))
- }
-
- _onLocationSwitchChange = () => {
- this.setState({ isAlways: !this.state.isAlways })
- this._updatePermissions(this.state.types)
- }
-
- render() {
- return (
-
- {this.state.types.map(p => (
- this._requestPermission(p)}
- >
-
-
- {Platform.OS == 'ios' && p == 'location'
- ? `location ${this.state.isAlways ? 'always' : 'whenInUse'}`
- : p}
-
- {this.state.status[p]}
-
-
- ))}
-
-
- Toggle location type
-
-
- {this.state.canOpenSettings && (
-
- Open settings
-
- )}
-
-
-
- Note: microphone permissions may not work on iOS simulator. Also,
- toggling permissions from the settings menu may cause the app to
- crash. This is normal on iOS. Google "ios crash permission change"
-
-
- )
- }
-}
-
-const styles = StyleSheet.create({
- container: {
- flex: 1,
- justifyContent: 'center',
- backgroundColor: '#F5FCFF',
- padding: 10,
- },
- text: {
- textAlign: 'center',
- fontWeight: 'bold',
- },
- subtext: {
- textAlign: 'center',
- },
- button: {
- margin: 5,
- borderColor: 'black',
- borderWidth: 3,
- overflow: 'hidden',
- },
- buttonInner: {
- flexDirection: 'column',
- },
- undetermined: {
- backgroundColor: '#E0E0E0',
- },
- authorized: {
- backgroundColor: '#C5E1A5',
- },
- denied: {
- backgroundColor: '#ef9a9a',
- },
- restricted: {
- backgroundColor: '#ef9a9a',
- },
- footer: {
- padding: 10,
- flexDirection: 'row',
- justifyContent: 'space-between',
- },
- footer_android: {
- height: 0,
- width: 0,
- },
-})
diff --git a/example/App.tsx b/example/App.tsx
new file mode 100644
index 00000000..0ab76aa3
--- /dev/null
+++ b/example/App.tsx
@@ -0,0 +1,183 @@
+import React from 'react';
+import {Appbar, List, TouchableRipple} from 'react-native-paper';
+import theme from './theme';
+
+import {
+ FlatList,
+ Platform,
+ StatusBar,
+ Text,
+ View,
+ GestureResponderEvent,
+} from 'react-native';
+
+import RNPermissions, {
+ PermissionStatus,
+ Permission,
+ NotificationsResponse,
+} from 'react-native-permissions';
+
+const {PERMISSIONS, RESULTS} = RNPermissions;
+// eslint-disable-next-line @typescript-eslint/no-unused-vars
+const {SIRI, ...PERMISSIONS_IOS} = PERMISSIONS.IOS; // remove siri (certificate required)
+
+const PLATFORM_PERMISSIONS = Platform.select<
+ typeof PERMISSIONS_IOS | typeof PERMISSIONS.ANDROID | {}
+>({
+ ios: PERMISSIONS_IOS,
+ android: PERMISSIONS.ANDROID,
+ default: {},
+});
+
+const PERMISSIONS_VALUES: Permission[] = Object.values(PLATFORM_PERMISSIONS);
+
+const colors: {[key: string]: string} = {
+ unavailable: '#cfd8dc',
+ denied: '#ff9800',
+ granted: '#43a047',
+ blocked: '#e53935',
+};
+
+const icons: {[key: string]: string} = {
+ unavailable: 'lens',
+ denied: 'error',
+ granted: 'check-circle',
+ blocked: 'cancel',
+};
+
+const PermissionRow = ({
+ name,
+ status,
+ onPress,
+}: {
+ name: string;
+ status: string;
+ onPress: (event: GestureResponderEvent) => void;
+}) => (
+
+ }
+ title={name}
+ description={status}
+ />
+
+);
+
+interface State {
+ statuses: PermissionStatus[];
+ notifications: NotificationsResponse;
+}
+
+function getSettingString(setting: boolean | undefined) {
+ return setting
+ ? RESULTS.GRANTED
+ : setting === false
+ ? RESULTS.DENIED
+ : RESULTS.UNAVAILABLE;
+}
+
+export default class App extends React.Component<{}, State> {
+ state: State = {
+ statuses: [],
+ notifications: {status: 'unavailable', settings: {}},
+ };
+
+ check = () =>
+ Promise.all(PERMISSIONS_VALUES.map(_ => RNPermissions.check(_)))
+ .then(statuses => this.setState({statuses}))
+ .then(() => RNPermissions.checkNotifications())
+ .then(notifications => this.setState({notifications}))
+ .catch(error => console.warn(error));
+
+ refresh = () => {
+ this.setState({statuses: []}, this.check);
+ };
+
+ componentDidMount() {
+ this.check();
+ }
+
+ render() {
+ const {notifications} = this.state;
+ const {settings} = notifications;
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+ item}
+ data={Object.keys(PLATFORM_PERMISSIONS)}
+ renderItem={({item, index}) => {
+ const value = PERMISSIONS_VALUES[index];
+ const status = this.state.statuses[index];
+
+ return (
+ {
+ RNPermissions.request(value)
+ .then(() => this.check())
+ .catch(err => console.error(err));
+ }}
+ />
+ );
+ }}
+ />
+
+
+
+ {
+ RNPermissions.requestNotifications(['alert', 'badge', 'sound'])
+ .then(() => this.check())
+ .catch(err => console.error(err));
+ }}>
+ (
+
+ )}
+ title="NOTIFICATIONS"
+ description={notifications.status}
+ />
+
+
+
+ {`alert: ${getSettingString(settings.alert)}\n`}
+ {`badge: ${getSettingString(settings.badge)}\n`}
+ {`sound: ${getSettingString(settings.sound)}\n`}
+ {`lockScreen: ${getSettingString(settings.lockScreen)}\n`}
+ {`notificationCenter: ${getSettingString(
+ settings.notificationCenter,
+ )}\n`}
+ {`carPlay: ${getSettingString(settings.carPlay)}\n`}
+ {`criticalAlert: ${getSettingString(settings.criticalAlert)}\n`}
+
+
+ );
+ }
+}
diff --git a/example/__tests__/index.js b/example/__tests__/index.js
deleted file mode 100644
index f1198e46..00000000
--- a/example/__tests__/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import 'react-native'
-import React from 'react'
-import Index from '../index.js'
-
-// Note: test renderer must be required after react-native.
-import renderer from 'react-test-renderer'
-
-it('renders correctly', () => {
- const tree = renderer.create()
-})
diff --git a/example/android/app/BUCK b/example/android/app/BUCK
index c8f56032..b1bee30b 100644
--- a/example/android/app/BUCK
+++ b/example/android/app/BUCK
@@ -8,23 +8,13 @@
# - `buck install -r android/app` - compile, install and run application
#
+load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")
+
lib_deps = []
-for jarfile in glob(['libs/*.jar']):
- name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
- lib_deps.append(':' + name)
- prebuilt_jar(
- name = name,
- binary_jar = jarfile,
- )
+create_aar_targets(glob(["libs/*.aar"]))
-for aarfile in glob(['libs/*.aar']):
- name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
- lib_deps.append(':' + name)
- android_prebuilt_aar(
- name = name,
- aar = aarfile,
- )
+create_jar_targets(glob(["libs/*.jar"]))
android_library(
name = "all-libs",
@@ -45,12 +35,12 @@ android_library(
android_build_config(
name = "build_config",
- package = "com.example",
+ package = "com.rnpermissionsexample",
)
android_resource(
name = "res",
- package = "com.example",
+ package = "com.rnpermissionsexample",
res = "src/main/res",
)
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
index 2145ce15..a2fe99df 100644
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -18,6 +18,9 @@ import com.android.build.OutputFile
* // the entry file for bundle generation
* entryFile: "index.android.js",
*
+ * // https://facebook.github.io/react-native/docs/performance#enable-the-ram-format
+ * bundleCommand: "ram-bundle",
+ *
* // whether to bundle JS and assets in debug mode
* bundleInDebug: false,
*
@@ -73,7 +76,8 @@ import com.android.build.OutputFile
*/
project.ext.react = [
- entryFile: "index.js"
+ entryFile: "index.js",
+ enableHermes: false, // clean and rebuild if changing
]
apply from: "../../node_modules/react-native/react.gradle"
@@ -93,30 +97,67 @@ def enableSeparateBuildPerCPUArchitecture = false
*/
def enableProguardInReleaseBuilds = false
+/**
+ * The preferred build flavor of JavaScriptCore.
+ *
+ * For example, to use the international variant, you can use:
+ * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
+ *
+ * The international variant includes ICU i18n library and necessary data
+ * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
+ * give correct results when using with locales other than en-US. Note that
+ * this variant is about 6MiB larger per architecture than default.
+ */
+def jscFlavor = 'org.webkit:android-jsc:+'
+
+/**
+ * Whether to enable the Hermes VM.
+ *
+ * This should be set on project.ext.react and mirrored here. If it is not set
+ * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
+ * and the benefits of using Hermes will therefore be sharply reduced.
+ */
+def enableHermes = project.ext.react.get("enableHermes", false);
+
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.1"
+ compileSdkVersion rootProject.ext.compileSdkVersion
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
defaultConfig {
- applicationId "com.example"
- minSdkVersion 16
- targetSdkVersion 23
+ applicationId "com.rnpermissionsexample"
+ minSdkVersion rootProject.ext.minSdkVersion
+ targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
- ndk {
- abiFilters "armeabi-v7a", "x86"
- }
}
splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
- include "armeabi-v7a", "x86"
+ include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
+ }
+ }
+ signingConfigs {
+ debug {
+ storeFile file('debug.keystore')
+ storePassword 'android'
+ keyAlias 'androiddebugkey'
+ keyPassword 'android'
}
}
buildTypes {
+ debug {
+ signingConfig signingConfigs.debug
+ }
release {
+ // Caution! In production, you need to generate your own keystore file.
+ // see https://facebook.github.io/react-native/docs/signed-apk-android.
+ signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
@@ -125,21 +166,29 @@ android {
applicationVariants.all { variant ->
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
- // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
- def versionCodes = ["armeabi-v7a":1, "x86":2]
+ // https://developer.android.com/studio/build/configure-apk-splits.html
+ def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
}
+
}
}
}
dependencies {
- compile fileTree(dir: "libs", include: ["*.jar"])
- compile "com.android.support:appcompat-v7:23.0.1"
- compile "com.facebook.react:react-native:+" // From node_modules
+ implementation fileTree(dir: "libs", include: ["*.jar"])
+ implementation "com.facebook.react:react-native:+" // From node_modules
+
+ if (enableHermes) {
+ def hermesPath = "../../node_modules/hermes-engine/android/";
+ debugImplementation files(hermesPath + "hermes-debug.aar")
+ releaseImplementation files(hermesPath + "hermes-release.aar")
+ } else {
+ implementation jscFlavor
+ }
}
// Run this once to be able to run the application with BUCK
@@ -148,3 +197,5 @@ task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
+
+apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
diff --git a/example/android/app/build_defs.bzl b/example/android/app/build_defs.bzl
new file mode 100644
index 00000000..fff270f8
--- /dev/null
+++ b/example/android/app/build_defs.bzl
@@ -0,0 +1,19 @@
+"""Helper definitions to glob .aar and .jar targets"""
+
+def create_aar_targets(aarfiles):
+ for aarfile in aarfiles:
+ name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")]
+ lib_deps.append(":" + name)
+ android_prebuilt_aar(
+ name = name,
+ aar = aarfile,
+ )
+
+def create_jar_targets(jarfiles):
+ for jarfile in jarfiles:
+ name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")]
+ lib_deps.append(":" + name)
+ prebuilt_jar(
+ name = name,
+ binary_jar = jarfile,
+ )
diff --git a/example/android/app/debug.keystore b/example/android/app/debug.keystore
new file mode 100644
index 00000000..364e105e
Binary files /dev/null and b/example/android/app/debug.keystore differ
diff --git a/example/android/app/proguard-rules.pro b/example/android/app/proguard-rules.pro
index 6e8516c8..11b02572 100644
--- a/example/android/app/proguard-rules.pro
+++ b/example/android/app/proguard-rules.pro
@@ -8,63 +8,3 @@
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
-
-# If your project uses WebView with JS, uncomment the following
-# and specify the fully qualified class name to the JavaScript interface
-# class:
-#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
-# public *;
-#}
-
-# Disabling obfuscation is useful if you collect stack traces from production crashes
-# (unless you are using a system that supports de-obfuscate the stack traces).
--dontobfuscate
-
-# React Native
-
-# Keep our interfaces so they can be used by other ProGuard rules.
-# See http://sourceforge.net/p/proguard/bugs/466/
--keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
--keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
--keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
-
-# Do not strip any method/class that is annotated with @DoNotStrip
--keep @com.facebook.proguard.annotations.DoNotStrip class *
--keep @com.facebook.common.internal.DoNotStrip class *
--keepclassmembers class * {
- @com.facebook.proguard.annotations.DoNotStrip *;
- @com.facebook.common.internal.DoNotStrip *;
-}
-
--keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
- void set*(***);
- *** get*();
-}
-
--keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
--keep class * extends com.facebook.react.bridge.NativeModule { *; }
--keepclassmembers,includedescriptorclasses class * { native ; }
--keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; }
--keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; }
--keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; }
-
--dontwarn com.facebook.react.**
-
-# TextLayoutBuilder uses a non-public Android constructor within StaticLayout.
-# See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details.
--dontwarn android.text.StaticLayout
-
-# okhttp
-
--keepattributes Signature
--keepattributes *Annotation*
--keep class okhttp3.** { *; }
--keep interface okhttp3.** { *; }
--dontwarn okhttp3.**
-
-# okio
-
--keep class sun.misc.Unsafe { *; }
--dontwarn java.nio.file.*
--dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
--dontwarn okio.**
diff --git a/example/android/app/src/debug/AndroidManifest.xml b/example/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 00000000..fa26aa56
--- /dev/null
+++ b/example/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml
index 941c9c3f..7bf41dfa 100644
--- a/example/android/app/src/main/AndroidManifest.xml
+++ b/example/android/app/src/main/AndroidManifest.xml
@@ -1,30 +1,44 @@
+ package="com.rnpermissionsexample">
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
getPackages() {
- return Arrays.asList(
- new MainReactPackage()
- );
- }
-
- @Override
- protected String getJSMainModuleName() {
- return "index";
- }
- };
-
- @Override
- public ReactNativeHost getReactNativeHost() {
- return mReactNativeHost;
- }
-
- @Override
- public void onCreate() {
- super.onCreate();
- SoLoader.init(this, /* native exopackage */ false);
- }
-}
diff --git a/example/android/app/src/main/java/com/example/MainActivity.java b/example/android/app/src/main/java/com/rnpermissionsexample/MainActivity.java
similarity index 81%
rename from example/android/app/src/main/java/com/example/MainActivity.java
rename to example/android/app/src/main/java/com/rnpermissionsexample/MainActivity.java
index f55db764..348c8ae5 100644
--- a/example/android/app/src/main/java/com/example/MainActivity.java
+++ b/example/android/app/src/main/java/com/rnpermissionsexample/MainActivity.java
@@ -1,4 +1,4 @@
-package com.example;
+package com.rnpermissionsexample;
import com.facebook.react.ReactActivity;
@@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity {
*/
@Override
protected String getMainComponentName() {
- return "Example";
+ return "RNPermissionsExample";
}
}
diff --git a/example/android/app/src/main/java/com/rnpermissionsexample/MainApplication.java b/example/android/app/src/main/java/com/rnpermissionsexample/MainApplication.java
new file mode 100644
index 00000000..102fdce9
--- /dev/null
+++ b/example/android/app/src/main/java/com/rnpermissionsexample/MainApplication.java
@@ -0,0 +1,76 @@
+package com.rnpermissionsexample;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.facebook.react.PackageList;
+import com.facebook.react.ReactApplication;
+import com.facebook.react.ReactNativeHost;
+import com.facebook.react.ReactPackage;
+import com.facebook.soloader.SoLoader;
+
+import java.lang.reflect.InvocationTargetException;
+import java.util.List;
+
+public class MainApplication extends Application implements ReactApplication {
+
+ private final ReactNativeHost mReactNativeHost =
+ new ReactNativeHost(this) {
+ @Override
+ public boolean getUseDeveloperSupport() {
+ return BuildConfig.DEBUG;
+ }
+
+ @Override
+ protected List getPackages() {
+ @SuppressWarnings("UnnecessaryLocalVariable")
+ List packages = new PackageList(this).getPackages();
+ // Packages that cannot be autolinked yet can be added manually here, for example:
+ // packages.add(new MyReactNativePackage());
+ return packages;
+ }
+
+ @Override
+ protected String getJSMainModuleName() {
+ return "index";
+ }
+ };
+
+ @Override
+ public ReactNativeHost getReactNativeHost() {
+ return mReactNativeHost;
+ }
+
+ @Override
+ public void onCreate() {
+ super.onCreate();
+ SoLoader.init(this, /* native exopackage */ false);
+ initializeFlipper(this); // Remove this line if you don't want Flipper enabled
+ }
+
+ /**
+ * Loads Flipper in React Native templates.
+ *
+ * @param context
+ */
+ private static void initializeFlipper(Context context) {
+ if (BuildConfig.DEBUG) {
+ try {
+ /*
+ We use reflection here to pick up the class that initializes Flipper,
+ since Flipper library is not available in release mode
+ */
+ Class> aClass = Class.forName("com.facebook.flipper.ReactNativeFlipper");
+ aClass.getMethod("initializeFlipper", Context.class).invoke(null, context);
+ } catch (ClassNotFoundException e) {
+ e.printStackTrace();
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ } catch (IllegalAccessException e) {
+ e.printStackTrace();
+ } catch (InvocationTargetException e) {
+ e.printStackTrace();
+ }
+ }
+ }
+}
diff --git a/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
index cde69bcc..a2f59082 100644
Binary files a/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 00000000..1b523998
Binary files /dev/null and b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
index c133a0cb..ff10afd6 100644
Binary files a/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 00000000..115a4c76
Binary files /dev/null and b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
index bfa42f0e..dcd3cd80 100644
Binary files a/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..459ca609
Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
index 324e72cd..8ca12fe0 100644
Binary files a/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..8e19b410
Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..b824ebdd
Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..4c19a13c
Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/example/android/app/src/main/res/values/strings.xml b/example/android/app/src/main/res/values/strings.xml
index 0057fcb9..a4e7cfd1 100644
--- a/example/android/app/src/main/res/values/strings.xml
+++ b/example/android/app/src/main/res/values/strings.xml
@@ -1,3 +1,3 @@
- Example
+ RNPermissionsExample
diff --git a/example/android/app/src/main/res/values/styles.xml b/example/android/app/src/main/res/values/styles.xml
index 319eb0ca..62fe59fa 100644
--- a/example/android/app/src/main/res/values/styles.xml
+++ b/example/android/app/src/main/res/values/styles.xml
@@ -3,6 +3,7 @@
diff --git a/example/android/build.gradle b/example/android/build.gradle
index eed9972b..18b62bbe 100644
--- a/example/android/build.gradle
+++ b/example/android/build.gradle
@@ -1,11 +1,19 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
+ ext {
+ buildToolsVersion = "28.0.3"
+ minSdkVersion = 16
+ compileSdkVersion = 28
+ targetSdkVersion = 28
+ supportLibVersion = "28.0.0"
+ }
repositories {
+ google()
jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.2.3'
+ classpath("com.android.tools.build:gradle:3.4.2")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -15,10 +23,16 @@ buildscript {
allprojects {
repositories {
mavenLocal()
- jcenter()
maven {
// 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 {
+ // Android JSC is installed from npm
+ url("$rootDir/../node_modules/jsc-android/dist")
}
+
+ google()
+ jcenter()
}
}
diff --git a/example/android/gradle.properties b/example/android/gradle.properties
index 1fd964e9..027ef9db 100644
--- a/example/android/gradle.properties
+++ b/example/android/gradle.properties
@@ -17,4 +17,5 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
-android.useDeprecatedNdk=true
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/example/android/gradle/wrapper/gradle-wrapper.jar b/example/android/gradle/wrapper/gradle-wrapper.jar
index b5166dad..5c2d1cf0 100644
Binary files a/example/android/gradle/wrapper/gradle-wrapper.jar and b/example/android/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties
index dbdc05d2..e0c4de36 100644
--- a/example/android/gradle/wrapper/gradle-wrapper.properties
+++ b/example/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
diff --git a/example/android/gradlew b/example/android/gradlew
index 91a7e269..b0d6d0ab 100755
--- a/example/android/gradlew
+++ b/example/android/gradlew
@@ -1,4 +1,20 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
##############################################################################
##
@@ -6,20 +22,38 @@
##
##############################################################################
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS=""
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
-warn ( ) {
+warn () {
echo "$*"
}
-die ( ) {
+die () {
echo
echo "$*"
echo
@@ -30,6 +64,7 @@ die ( ) {
cygwin=false
msys=false
darwin=false
+nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
@@ -40,31 +75,11 @@ case "`uname`" in
MINGW* )
msys=true
;;
+ NONSTOP* )
+ nonstop=true
+ ;;
esac
-# For Cygwin, ensure paths are in UNIX format before anything is touched.
-if $cygwin ; then
- [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-fi
-
-# Attempt to set APP_HOME
-# Resolve links: $0 may be a link
-PRG="$0"
-# Need this for relative symlinks.
-while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`dirname "$PRG"`"/$link"
- fi
-done
-SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >&-
-APP_HOME="`pwd -P`"
-cd "$SAVED" >&-
-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
@@ -90,7 +105,7 @@ location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
-if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
@@ -114,6 +129,7 @@ fi
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
@@ -154,11 +170,19 @@ if $cygwin ; then
esac
fi
-# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
-function splitJvmOpts() {
- JVM_OPTS=("$@")
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
}
-eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
-JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+APP_ARGS=$(save "$@")
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
-exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
+exec "$JAVACMD" "$@"
diff --git a/example/android/gradlew.bat b/example/android/gradlew.bat
index aec99730..15e1ee37 100644
--- a/example/android/gradlew.bat
+++ b/example/android/gradlew.bat
@@ -1,3 +1,19 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@@ -8,14 +24,14 @@
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=
-
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
@@ -46,10 +62,9 @@ echo location of your Java installation.
goto fail
:init
-@rem Get command-line arguments, handling Windowz variants
+@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
-if "%@eval[2+2]" == "4" goto 4NT_args
:win9xME_args
@rem Slurp the command line arguments.
@@ -60,11 +75,6 @@ set _SKIP=2
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
-goto execute
-
-:4NT_args
-@rem Get arguments from the 4NT Shell from JP Software
-set CMD_LINE_ARGS=%$
:execute
@rem Setup the command line
diff --git a/example/android/keystores/BUCK b/example/android/keystores/BUCK
deleted file mode 100644
index 88e4c31b..00000000
--- a/example/android/keystores/BUCK
+++ /dev/null
@@ -1,8 +0,0 @@
-keystore(
- name = "debug",
- properties = "debug.keystore.properties",
- store = "debug.keystore",
- visibility = [
- "PUBLIC",
- ],
-)
diff --git a/example/android/keystores/debug.keystore.properties b/example/android/keystores/debug.keystore.properties
deleted file mode 100644
index 121bfb49..00000000
--- a/example/android/keystores/debug.keystore.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-key.store=debug.keystore
-key.alias=androiddebugkey
-key.store.password=android
-key.alias.password=android
diff --git a/example/android/settings.gradle b/example/android/settings.gradle
index 54b22e1c..9afb2336 100644
--- a/example/android/settings.gradle
+++ b/example/android/settings.gradle
@@ -1,3 +1,3 @@
-rootProject.name = 'Example'
-
+rootProject.name = 'RNPermissionsExample'
+apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
diff --git a/example/app.json b/example/app.json
index b5980516..cb4b158f 100644
--- a/example/app.json
+++ b/example/app.json
@@ -1,4 +1,4 @@
{
- "name": "Example",
- "displayName": "Example"
+ "name": "RNPermissionsExample",
+ "displayName": "RNPermissionsExample"
}
diff --git a/example/babel.config.js b/example/babel.config.js
new file mode 100644
index 00000000..f842b77f
--- /dev/null
+++ b/example/babel.config.js
@@ -0,0 +1,3 @@
+module.exports = {
+ presets: ['module:metro-react-native-babel-preset'],
+};
diff --git a/example/index.js b/example/index.js
index 995872f8..d02abf4f 100644
--- a/example/index.js
+++ b/example/index.js
@@ -1,4 +1,14 @@
-import { AppRegistry } from 'react-native'
-import App from './App'
+import React from 'react';
+import {Provider as PaperProvider} from 'react-native-paper';
+import {AppRegistry} from 'react-native';
+import App from './App';
+import {name as appName} from './app.json';
+import theme from './theme';
-AppRegistry.registerComponent('Example', () => App)
+let Main = () => (
+
+
+
+);
+
+AppRegistry.registerComponent(appName, () => Main);
diff --git a/example/ios/Example-tvOS/Info.plist b/example/ios/Example-tvOS/Info.plist
deleted file mode 100644
index 2fb6a11c..00000000
--- a/example/ios/Example-tvOS/Info.plist
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- 1
- LSRequiresIPhoneOS
-
- UILaunchStoryboardName
- LaunchScreen
- UIRequiredDeviceCapabilities
-
- armv7
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UIViewControllerBasedStatusBarAppearance
-
- NSLocationWhenInUseUsageDescription
-
- NSAppTransportSecurity
-
-
- NSExceptionDomains
-
- localhost
-
- NSExceptionAllowsInsecureHTTPLoads
-
-
-
-
-
-
diff --git a/example/ios/Example-tvOSTests/Info.plist b/example/ios/Example-tvOSTests/Info.plist
deleted file mode 100644
index 886825cc..00000000
--- a/example/ios/Example-tvOSTests/Info.plist
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- BNDL
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- 1
-
-
diff --git a/example/ios/Example.xcodeproj/project.pbxproj b/example/ios/Example.xcodeproj/project.pbxproj
deleted file mode 100644
index e0f87f80..00000000
--- a/example/ios/Example.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1525 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
- 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
- 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
- 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
- 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
- 00E356F31AD99517003FC87E /* ExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExampleTests.m */; };
- 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
- 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
- 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
- 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
- 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
- 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
- 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
- 140ED2AC1D01E1AD002B40FF /* 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.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.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 /* ExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExampleTests.m */; };
- 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
- 66AE23241FE44648000AEC3F /* libReactNativePermissions.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 66AE23231FE44628000AEC3F /* libReactNativePermissions.a */; };
- 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
- ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 134814201AA4EA6300B7C361;
- remoteInfo = RCTActionSheet;
- };
- 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 134814201AA4EA6300B7C361;
- remoteInfo = RCTGeolocation;
- };
- 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
- remoteInfo = RCTImage;
- };
- 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 58B511DB1A9E6C8500147676;
- remoteInfo = RCTNetwork;
- };
- 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
- remoteInfo = RCTVibration;
- };
- 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
- remoteInfo = Example;
- };
- 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 134814201AA4EA6300B7C361;
- remoteInfo = RCTSettings;
- };
- 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
- remoteInfo = RCTWebSocket;
- };
- 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
- remoteInfo = React;
- };
- 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
- remoteInfo = "Example-tvOS";
- };
- 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
- remoteInfo = "RCTImage-tvOS";
- };
- 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 2D2A28471D9B043800D4039D;
- remoteInfo = "RCTLinking-tvOS";
- };
- 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
- remoteInfo = "RCTNetwork-tvOS";
- };
- 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 2D2A28611D9B046600D4039D;
- remoteInfo = "RCTSettings-tvOS";
- };
- 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
- remoteInfo = "RCTText-tvOS";
- };
- 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 2D2A28881D9B049200D4039D;
- remoteInfo = "RCTWebSocket-tvOS";
- };
- 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
- remoteInfo = "React-tvOS";
- };
- 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
- 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";
- };
- 661E35331FD3107F00C328EA /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
- remoteInfo = "third-party";
- };
- 661E35351FD3107F00C328EA /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
- remoteInfo = "third-party-tvOS";
- };
- 661E35371FD3107F00C328EA /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 139D7E881E25C6D100323FB7;
- remoteInfo = "double-conversion";
- };
- 661E35391FD3107F00C328EA /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 3D383D621EBD27B9005632C8;
- remoteInfo = "double-conversion-tvOS";
- };
- 661E353B1FD3107F00C328EA /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
- remoteInfo = privatedata;
- };
- 661E353D1FD3107F00C328EA /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
- remoteInfo = "privatedata-tvOS";
- };
- 66AE23221FE44628000AEC3F /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 14B7951690F04106A4A8E60E /* ReactNativePermissions.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 9D23B34F1C767B80008B4819;
- remoteInfo = ReactNativePermissions;
- };
- 66F16BED1FC608A800E71FEB /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = ADD01A681E09402E00F6D226;
- remoteInfo = "RCTBlob-tvOS";
- };
- 66F16BFF1FC608A800E71FEB /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
- remoteInfo = fishhook;
- };
- 66F16C011FC608A800E71FEB /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
- remoteInfo = "fishhook-tvOS";
- };
- 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 134814201AA4EA6300B7C361;
- remoteInfo = RCTLinking;
- };
- 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 58B5119B1A9E6C1200147676;
- remoteInfo = RCTText;
- };
- ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
- remoteInfo = RCTBlob;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
- 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
- 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
- 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
- 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
- 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
- 00E356EE1AD99517003FC87E /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
- 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 00E356F21AD99517003FC87E /* ExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExampleTests.m; sourceTree = ""; };
- 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
- 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
- 13B07F961A680F5B00A75B9A /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Example/AppDelegate.h; sourceTree = ""; };
- 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Example/AppDelegate.m; sourceTree = ""; };
- 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
- 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Example/Images.xcassets; sourceTree = ""; };
- 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Example/Info.plist; sourceTree = ""; };
- 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Example/main.m; sourceTree = ""; };
- 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
- 14B7951690F04106A4A8E60E /* ReactNativePermissions.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = ReactNativePermissions.xcodeproj; path = "../node_modules/react-native-permissions/ios/ReactNativePermissions.xcodeproj"; sourceTree = ""; };
- 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
- 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Example-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 = ""; };
- 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
- 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
- ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 00E356EB1AD99517003FC87E /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
- 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
- 146834051AC3E58100842450 /* libReact.a in Frameworks */,
- 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
- 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
- 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
- 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
- 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
- 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
- 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
- 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
- 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
- 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
- 66AE23241FE44648000AEC3F /* libReactNativePermissions.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */,
- 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.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;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
- isa = PBXGroup;
- children = (
- 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 00C302B61ABCB90400DB3ED1 /* Products */ = {
- isa = PBXGroup;
- children = (
- 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 00C302BC1ABCB91800DB3ED1 /* Products */ = {
- isa = PBXGroup;
- children = (
- 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
- 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 00C302D41ABCB9D200DB3ED1 /* Products */ = {
- isa = PBXGroup;
- children = (
- 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
- 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
- isa = PBXGroup;
- children = (
- 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 00E356EF1AD99517003FC87E /* ExampleTests */ = {
- isa = PBXGroup;
- children = (
- 00E356F21AD99517003FC87E /* ExampleTests.m */,
- 00E356F01AD99517003FC87E /* Supporting Files */,
- );
- path = ExampleTests;
- sourceTree = "";
- };
- 00E356F01AD99517003FC87E /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 00E356F11AD99517003FC87E /* Info.plist */,
- );
- name = "Supporting Files";
- sourceTree = "";
- };
- 139105B71AF99BAD00B5F7CC /* Products */ = {
- isa = PBXGroup;
- children = (
- 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
- 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 139FDEE71B06529A00C62182 /* Products */ = {
- isa = PBXGroup;
- children = (
- 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
- 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
- 66F16C001FC608A800E71FEB /* libfishhook.a */,
- 66F16C021FC608A800E71FEB /* libfishhook-tvOS.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 13B07FAE1A68108700A75B9A /* Example */ = {
- isa = PBXGroup;
- children = (
- 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
- 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
- 13B07FB01A68108700A75B9A /* AppDelegate.m */,
- 13B07FB51A68108700A75B9A /* Images.xcassets */,
- 13B07FB61A68108700A75B9A /* Info.plist */,
- 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
- 13B07FB71A68108700A75B9A /* main.m */,
- );
- name = Example;
- sourceTree = "";
- };
- 146834001AC3E56700842450 /* Products */ = {
- isa = PBXGroup;
- children = (
- 146834041AC3E56700842450 /* libReact.a */,
- 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
- 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
- 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
- 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
- 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
- 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
- 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
- 661E35341FD3107F00C328EA /* libthird-party.a */,
- 661E35361FD3107F00C328EA /* libthird-party.a */,
- 661E35381FD3107F00C328EA /* libdouble-conversion.a */,
- 661E353A1FD3107F00C328EA /* libdouble-conversion.a */,
- 661E353C1FD3107F00C328EA /* libprivatedata.a */,
- 661E353E1FD3107F00C328EA /* libprivatedata-tvOS.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
- isa = PBXGroup;
- children = (
- 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
- 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 66AE22FC1FE44628000AEC3F /* Products */ = {
- isa = PBXGroup;
- children = (
- 66AE23231FE44628000AEC3F /* libReactNativePermissions.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 66F16C081FC608C600E71FEB /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- );
- name = Frameworks;
- sourceTree = "";
- };
- 78C398B11ACF4ADC00677621 /* Products */ = {
- isa = PBXGroup;
- children = (
- 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
- 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
- isa = PBXGroup;
- children = (
- 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
- 146833FF1AC3E56700842450 /* React.xcodeproj */,
- 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
- ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
- 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
- 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
- 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
- 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
- 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
- 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
- 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
- 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
- 14B7951690F04106A4A8E60E /* ReactNativePermissions.xcodeproj */,
- );
- name = Libraries;
- sourceTree = "";
- };
- 832341B11AAA6A8300B99B32 /* Products */ = {
- isa = PBXGroup;
- children = (
- 832341B51AAA6A8300B99B32 /* libRCTText.a */,
- 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 83CBB9F61A601CBA00E9B192 = {
- isa = PBXGroup;
- children = (
- 13B07FAE1A68108700A75B9A /* Example */,
- 832341AE1AAA6A7D00B99B32 /* Libraries */,
- 00E356EF1AD99517003FC87E /* ExampleTests */,
- 83CBBA001A601CBA00E9B192 /* Products */,
- 66F16C081FC608C600E71FEB /* Frameworks */,
- );
- indentWidth = 2;
- sourceTree = "";
- tabWidth = 2;
- usesTabs = 0;
- };
- 83CBBA001A601CBA00E9B192 /* Products */ = {
- isa = PBXGroup;
- children = (
- 13B07F961A680F5B00A75B9A /* Example.app */,
- 00E356EE1AD99517003FC87E /* ExampleTests.xctest */,
- 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */,
- 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */,
- );
- name = Products;
- sourceTree = "";
- };
- ADBDB9201DFEBF0600ED6528 /* Products */ = {
- isa = PBXGroup;
- children = (
- ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
- 66F16BEE1FC608A800E71FEB /* libRCTBlob-tvOS.a */,
- );
- name = Products;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 00E356ED1AD99517003FC87E /* ExampleTests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */;
- buildPhases = (
- 00E356EA1AD99517003FC87E /* Sources */,
- 00E356EB1AD99517003FC87E /* Frameworks */,
- 00E356EC1AD99517003FC87E /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- 00E356F51AD99517003FC87E /* PBXTargetDependency */,
- );
- name = ExampleTests;
- productName = ExampleTests;
- productReference = 00E356EE1AD99517003FC87E /* ExampleTests.xctest */;
- productType = "com.apple.product-type.bundle.unit-test";
- };
- 13B07F861A680F5B00A75B9A /* Example */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */;
- buildPhases = (
- 13B07F871A680F5B00A75B9A /* Sources */,
- 13B07F8C1A680F5B00A75B9A /* Frameworks */,
- 13B07F8E1A680F5B00A75B9A /* Resources */,
- 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = Example;
- productName = "Hello World";
- productReference = 13B07F961A680F5B00A75B9A /* Example.app */;
- productType = "com.apple.product-type.application";
- };
- 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOS" */;
- buildPhases = (
- 2D02E4771E0B4A5D006451C7 /* Sources */,
- 2D02E4781E0B4A5D006451C7 /* Frameworks */,
- 2D02E4791E0B4A5D006451C7 /* Resources */,
- 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "Example-tvOS";
- productName = "Example-tvOS";
- productReference = 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */;
- productType = "com.apple.product-type.application";
- };
- 2D02E48F1E0B4A5D006451C7 /* Example-tvOSTests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOSTests" */;
- buildPhases = (
- 2D02E48C1E0B4A5D006451C7 /* Sources */,
- 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
- 2D02E48E1E0B4A5D006451C7 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
- );
- name = "Example-tvOSTests";
- productName = "Example-tvOSTests";
- productReference = 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */;
- productType = "com.apple.product-type.bundle.unit-test";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 83CBB9F71A601CBA00E9B192 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 610;
- ORGANIZATIONNAME = Facebook;
- TargetAttributes = {
- 00E356ED1AD99517003FC87E = {
- CreatedOnToolsVersion = 6.2;
- DevelopmentTeam = 745449BDR9;
- TestTargetID = 13B07F861A680F5B00A75B9A;
- };
- 13B07F861A680F5B00A75B9A = {
- DevelopmentTeam = 745449BDR9;
- SystemCapabilities = {
- com.apple.BackgroundModes = {
- enabled = 1;
- };
- };
- };
- 2D02E47A1E0B4A5D006451C7 = {
- CreatedOnToolsVersion = 8.2.1;
- ProvisioningStyle = Automatic;
- };
- 2D02E48F1E0B4A5D006451C7 = {
- CreatedOnToolsVersion = 8.2.1;
- ProvisioningStyle = Automatic;
- TestTargetID = 2D02E47A1E0B4A5D006451C7;
- };
- };
- };
- buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = 83CBB9F61A601CBA00E9B192;
- productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
- projectDirPath = "";
- projectReferences = (
- {
- ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
- ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
- },
- {
- ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
- ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
- },
- {
- ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
- ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
- },
- {
- ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
- ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
- },
- {
- ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
- ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
- },
- {
- ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
- ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
- },
- {
- ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
- ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
- },
- {
- ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
- ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
- },
- {
- ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
- ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
- },
- {
- ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
- ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
- },
- {
- ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
- ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
- },
- {
- ProductGroup = 146834001AC3E56700842450 /* Products */;
- ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
- },
- {
- ProductGroup = 66AE22FC1FE44628000AEC3F /* Products */;
- ProjectRef = 14B7951690F04106A4A8E60E /* ReactNativePermissions.xcodeproj */;
- },
- );
- projectRoot = "";
- targets = (
- 13B07F861A680F5B00A75B9A /* Example */,
- 00E356ED1AD99517003FC87E /* ExampleTests */,
- 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */,
- 2D02E48F1E0B4A5D006451C7 /* Example-tvOSTests */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXReferenceProxy section */
- 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTActionSheet.a;
- remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTGeolocation.a;
- remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTImage.a;
- remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTNetwork.a;
- remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTVibration.a;
- remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTSettings.a;
- remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTWebSocket.a;
- remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 146834041AC3E56700842450 /* libReact.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libReact.a;
- remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libRCTImage-tvOS.a";
- remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libRCTLinking-tvOS.a";
- remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libRCTNetwork-tvOS.a";
- remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libRCTSettings-tvOS.a";
- remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libRCTText-tvOS.a";
- remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libRCTWebSocket-tvOS.a";
- remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libReact.a;
- remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libyoga.a;
- 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.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTAnimation.a;
- remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 661E35341FD3107F00C328EA /* libthird-party.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libthird-party.a";
- remoteRef = 661E35331FD3107F00C328EA /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 661E35361FD3107F00C328EA /* libthird-party.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libthird-party.a";
- remoteRef = 661E35351FD3107F00C328EA /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 661E35381FD3107F00C328EA /* libdouble-conversion.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libdouble-conversion.a";
- remoteRef = 661E35371FD3107F00C328EA /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 661E353A1FD3107F00C328EA /* libdouble-conversion.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libdouble-conversion.a";
- remoteRef = 661E35391FD3107F00C328EA /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 661E353C1FD3107F00C328EA /* libprivatedata.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libprivatedata.a;
- remoteRef = 661E353B1FD3107F00C328EA /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 661E353E1FD3107F00C328EA /* libprivatedata-tvOS.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libprivatedata-tvOS.a";
- remoteRef = 661E353D1FD3107F00C328EA /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 66AE23231FE44628000AEC3F /* libReactNativePermissions.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libReactNativePermissions.a;
- remoteRef = 66AE23221FE44628000AEC3F /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 66F16BEE1FC608A800E71FEB /* libRCTBlob-tvOS.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libRCTBlob-tvOS.a";
- remoteRef = 66F16BED1FC608A800E71FEB /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 66F16C001FC608A800E71FEB /* libfishhook.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libfishhook.a;
- remoteRef = 66F16BFF1FC608A800E71FEB /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 66F16C021FC608A800E71FEB /* libfishhook-tvOS.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = "libfishhook-tvOS.a";
- remoteRef = 66F16C011FC608A800E71FEB /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTLinking.a;
- remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTText.a;
- remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
- ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
- isa = PBXReferenceProxy;
- fileType = archive.ar;
- path = libRCTBlob.a;
- remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
-/* End PBXReferenceProxy section */
-
-/* Begin PBXResourcesBuildPhase section */
- 00E356EC1AD99517003FC87E /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 13B07F8E1A680F5B00A75B9A /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
- 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
- );
- 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 */
-
-/* Begin PBXShellScriptBuildPhase section */
- 00DD1BFF1BD5951E006B06BC /* 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/scripts/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/scripts/react-native-xcode.sh";
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 00E356EA1AD99517003FC87E /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 00E356F31AD99517003FC87E /* ExampleTests.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 13B07F871A680F5B00A75B9A /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
- 13B07FC11A68108700A75B9A /* main.m in Sources */,
- );
- 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 /* ExampleTests.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 13B07F861A680F5B00A75B9A /* Example */;
- targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
- };
- 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */;
- targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
- 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
- isa = PBXVariantGroup;
- children = (
- 13B07FB21A68108700A75B9A /* Base */,
- );
- name = LaunchScreen.xib;
- path = Example;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 00E356F61AD99517003FC87E /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- DEVELOPMENT_TEAM = 745449BDR9;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/../node_modules/react-native-permissions",
- "$(SRCROOT)/../node_modules/react-native-permissions/ios/**",
- );
- INFOPLIST_FILE = ExampleTests/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- LIBRARY_SEARCH_PATHS = (
- "$(inherited)",
- "\"$(SRCROOT)/$(TARGET_NAME)\"",
- );
- OTHER_LDFLAGS = (
- "-ObjC",
- "-lc++",
- );
- PRODUCT_NAME = "$(TARGET_NAME)";
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example";
- };
- name = Debug;
- };
- 00E356F71AD99517003FC87E /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- COPY_PHASE_STRIP = NO;
- DEVELOPMENT_TEAM = 745449BDR9;
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/../node_modules/react-native-permissions",
- "$(SRCROOT)/../node_modules/react-native-permissions/ios/**",
- );
- INFOPLIST_FILE = ExampleTests/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- LIBRARY_SEARCH_PATHS = (
- "$(inherited)",
- "\"$(SRCROOT)/$(TARGET_NAME)\"",
- );
- OTHER_LDFLAGS = (
- "-ObjC",
- "-lc++",
- );
- PRODUCT_NAME = "$(TARGET_NAME)";
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example";
- };
- name = Release;
- };
- 13B07F941A680F5B00A75B9A /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CURRENT_PROJECT_VERSION = 1;
- DEAD_CODE_STRIPPING = NO;
- DEVELOPMENT_TEAM = 745449BDR9;
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/../node_modules/react-native-permissions",
- "$(SRCROOT)/../node_modules/react-native-permissions/ios/**",
- );
- INFOPLIST_FILE = Example/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- "-lc++",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.react.permissions;
- PRODUCT_NAME = Example;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Debug;
- };
- 13B07F951A680F5B00A75B9A /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CURRENT_PROJECT_VERSION = 1;
- DEVELOPMENT_TEAM = 745449BDR9;
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/../node_modules/react-native-permissions",
- "$(SRCROOT)/../node_modules/react-native-permissions/ios/**",
- );
- INFOPLIST_FILE = Example/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- "-lc++",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.react.permissions;
- PRODUCT_NAME = Example;
- VERSIONING_SYSTEM = "apple-generic";
- };
- 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;
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/../node_modules/react-native-permissions",
- "$(SRCROOT)/../node_modules/react-native-permissions/ios/**",
- );
- INFOPLIST_FILE = "Example-tvOS/Info.plist";
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- LIBRARY_SEARCH_PATHS = (
- "$(inherited)",
- "\"$(SRCROOT)/$(TARGET_NAME)\"",
- );
- OTHER_LDFLAGS = (
- "-ObjC",
- "-lc++",
- );
- PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOS";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = appletvos;
- TARGETED_DEVICE_FAMILY = 3;
- TVOS_DEPLOYMENT_TARGET = 9.2;
- };
- 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;
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/../node_modules/react-native-permissions",
- "$(SRCROOT)/../node_modules/react-native-permissions/ios/**",
- );
- INFOPLIST_FILE = "Example-tvOS/Info.plist";
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- LIBRARY_SEARCH_PATHS = (
- "$(inherited)",
- "\"$(SRCROOT)/$(TARGET_NAME)\"",
- );
- OTHER_LDFLAGS = (
- "-ObjC",
- "-lc++",
- );
- PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOS";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = appletvos;
- TARGETED_DEVICE_FAMILY = 3;
- TVOS_DEPLOYMENT_TARGET = 9.2;
- };
- 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 = "Example-tvOSTests/Info.plist";
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- LIBRARY_SEARCH_PATHS = (
- "$(inherited)",
- "\"$(SRCROOT)/$(TARGET_NAME)\"",
- );
- PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = appletvos;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-tvOS.app/Example-tvOS";
- TVOS_DEPLOYMENT_TARGET = 10.1;
- };
- 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 = "Example-tvOSTests/Info.plist";
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- LIBRARY_SEARCH_PATHS = (
- "$(inherited)",
- "\"$(SRCROOT)/$(TARGET_NAME)\"",
- );
- PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = appletvos;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-tvOS.app/Example-tvOS";
- TVOS_DEPLOYMENT_TARGET = 10.1;
- };
- name = Release;
- };
- 83CBBA201A601CBA00E9B192 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- };
- name = Debug;
- };
- 83CBBA211A601CBA00E9B192 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 00E356F61AD99517003FC87E /* Debug */,
- 00E356F71AD99517003FC87E /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 13B07F941A680F5B00A75B9A /* Debug */,
- 13B07F951A680F5B00A75B9A /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOS" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 2D02E4971E0B4A5E006451C7 /* Debug */,
- 2D02E4981E0B4A5E006451C7 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOSTests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 2D02E4991E0B4A5E006451C7 /* Debug */,
- 2D02E49A1E0B4A5E006451C7 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 83CBBA201A601CBA00E9B192 /* Debug */,
- 83CBBA211A601CBA00E9B192 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
-}
diff --git a/example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example-tvOS.xcscheme b/example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example-tvOS.xcscheme
deleted file mode 100644
index e2da6acd..00000000
--- a/example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example-tvOS.xcscheme
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/example/ios/Example/AppDelegate.h b/example/ios/Example/AppDelegate.h
deleted file mode 100644
index a9654d5e..00000000
--- a/example/ios/Example/AppDelegate.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Copyright (c) 2015-present, Facebook, Inc.
- * All rights reserved.
- *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
- */
-
-#import
-
-@interface AppDelegate : UIResponder
-
-@property (nonatomic, strong) UIWindow *window;
-
-@end
diff --git a/example/ios/Example/AppDelegate.m b/example/ios/Example/AppDelegate.m
deleted file mode 100644
index 0ab68468..00000000
--- a/example/ios/Example/AppDelegate.m
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Copyright (c) 2015-present, Facebook, Inc.
- * All rights reserved.
- *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
- */
-
-#import "AppDelegate.h"
-
-#import
-#import
-
-@implementation AppDelegate
-
-- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
-{
- NSURL *jsCodeLocation;
-
- jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
-
- RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
- moduleName:@"Example"
- initialProperties:nil
- launchOptions:launchOptions];
- rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
-
- self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
- UIViewController *rootViewController = [UIViewController new];
- rootViewController.view = rootView;
- self.window.rootViewController = rootViewController;
- [self.window makeKeyAndVisible];
- return YES;
-}
-
-@end
diff --git a/example/ios/Example/main.m b/example/ios/Example/main.m
deleted file mode 100644
index 3d767fcb..00000000
--- a/example/ios/Example/main.m
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Copyright (c) 2015-present, Facebook, Inc.
- * All rights reserved.
- *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
- */
-
-#import
-
-#import "AppDelegate.h"
-
-int main(int argc, char * argv[]) {
- @autoreleasepool {
- return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
- }
-}
diff --git a/example/ios/ExampleTests/ExampleTests.m b/example/ios/ExampleTests/ExampleTests.m
deleted file mode 100644
index 22ba2250..00000000
--- a/example/ios/ExampleTests/ExampleTests.m
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * Copyright (c) 2015-present, Facebook, Inc.
- * All rights reserved.
- *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
- */
-
-#import
-#import
-
-#import
-#import
-
-#define TIMEOUT_SECONDS 600
-#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
-
-@interface ExampleTests : XCTestCase
-
-@end
-
-@implementation ExampleTests
-
-- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
-{
- if (test(view)) {
- return YES;
- }
- for (UIView *subview in [view subviews]) {
- if ([self findSubviewInView:subview matching:test]) {
- return YES;
- }
- }
- return NO;
-}
-
-- (void)testRendersWelcomeScreen
-{
- UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
- NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
- BOOL foundElement = NO;
-
- __block NSString *redboxError = nil;
- RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
- if (level >= RCTLogLevelError) {
- redboxError = message;
- }
- });
-
- while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
- [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
- [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
-
- foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
- if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
- return YES;
- }
- return NO;
- }];
- }
-
- RCTSetLogFunction(RCTDefaultLogFunction);
-
- XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
- XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
-}
-
-
-@end
diff --git a/example/ios/ExampleTests/Info.plist b/example/ios/ExampleTests/Info.plist
deleted file mode 100644
index 886825cc..00000000
--- a/example/ios/ExampleTests/Info.plist
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- BNDL
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- 1
-
-
diff --git a/example/ios/Podfile b/example/ios/Podfile
new file mode 100644
index 00000000..b2e3fc66
--- /dev/null
+++ b/example/ios/Podfile
@@ -0,0 +1,56 @@
+platform :ios, '9.0'
+require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
+
+target 'RNPermissionsExample' do
+ pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
+ pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
+ pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
+ pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
+ pod 'React', :path => '../node_modules/react-native/'
+ pod 'React-Core', :path => '../node_modules/react-native/'
+ pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
+ pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
+ pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
+ pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
+ pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
+ pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
+ pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
+ pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
+ pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
+ pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
+ pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
+ pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
+
+ pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
+ pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
+ pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
+ pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
+ pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
+ pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
+ pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
+
+ pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
+ pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
+ pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
+
+ permissions_path = '../node_modules/react-native-permissions/ios'
+
+ pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral.podspec"
+ pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars.podspec"
+ pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
+ pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts.podspec"
+ pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID.podspec"
+ pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways.podspec"
+ pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse.podspec"
+ pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary.podspec"
+ pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone.podspec"
+ pod 'Permission-Motion', :path => "#{permissions_path}/Motion.podspec"
+ pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec"
+ pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary.podspec"
+ pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders.podspec"
+ # pod 'Permission-Siri', :path => "#{permissions_path}/Siri.podspec"
+ pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition.podspec"
+ pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit.podspec"
+
+ use_native_modules!
+end
diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock
new file mode 100644
index 00000000..f225ff38
--- /dev/null
+++ b/example/ios/Podfile.lock
@@ -0,0 +1,440 @@
+PODS:
+ - boost-for-react-native (1.63.0)
+ - DoubleConversion (1.1.6)
+ - FBLazyVector (0.61.1)
+ - FBReactNativeSpec (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - RCTRequired (= 0.61.1)
+ - RCTTypeSafety (= 0.61.1)
+ - React-Core (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - ReactCommon/turbomodule/core (= 0.61.1)
+ - Folly (2018.10.22.00):
+ - boost-for-react-native
+ - DoubleConversion
+ - Folly/Default (= 2018.10.22.00)
+ - glog
+ - Folly/Default (2018.10.22.00):
+ - boost-for-react-native
+ - DoubleConversion
+ - glog
+ - glog (0.3.5)
+ - Permission-BluetoothPeripheral (2.0.0):
+ - RNPermissions
+ - Permission-Calendars (2.0.0):
+ - RNPermissions
+ - Permission-Camera (2.0.0):
+ - RNPermissions
+ - Permission-Contacts (2.0.0):
+ - RNPermissions
+ - Permission-FaceID (2.0.0):
+ - RNPermissions
+ - Permission-LocationAlways (2.0.0):
+ - RNPermissions
+ - Permission-LocationWhenInUse (2.0.0):
+ - RNPermissions
+ - Permission-MediaLibrary (2.0.0):
+ - RNPermissions
+ - Permission-Microphone (2.0.0):
+ - RNPermissions
+ - Permission-Motion (2.0.0):
+ - RNPermissions
+ - Permission-Notifications (2.0.0):
+ - RNPermissions
+ - Permission-PhotoLibrary (2.0.0):
+ - RNPermissions
+ - Permission-Reminders (2.0.0):
+ - RNPermissions
+ - Permission-SpeechRecognition (2.0.0):
+ - RNPermissions
+ - Permission-StoreKit (2.0.0):
+ - RNPermissions
+ - RCTRequired (0.61.1)
+ - RCTTypeSafety (0.61.1):
+ - FBLazyVector (= 0.61.1)
+ - Folly (= 2018.10.22.00)
+ - RCTRequired (= 0.61.1)
+ - React-Core (= 0.61.1)
+ - React (0.61.1):
+ - React-Core (= 0.61.1)
+ - React-Core/DevSupport (= 0.61.1)
+ - React-Core/RCTWebSocket (= 0.61.1)
+ - React-RCTActionSheet (= 0.61.1)
+ - React-RCTAnimation (= 0.61.1)
+ - React-RCTBlob (= 0.61.1)
+ - React-RCTImage (= 0.61.1)
+ - React-RCTLinking (= 0.61.1)
+ - React-RCTNetwork (= 0.61.1)
+ - React-RCTSettings (= 0.61.1)
+ - React-RCTText (= 0.61.1)
+ - React-RCTVibration (= 0.61.1)
+ - React-Core (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default (= 0.61.1)
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/CoreModulesHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/Default (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/DevSupport (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default (= 0.61.1)
+ - React-Core/RCTWebSocket (= 0.61.1)
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - React-jsinspector (= 0.61.1)
+ - Yoga
+ - React-Core/RCTActionSheetHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/RCTAnimationHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/RCTBlobHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/RCTImageHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/RCTLinkingHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/RCTNetworkHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/RCTSettingsHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/RCTTextHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/RCTVibrationHeaders (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-Core/RCTWebSocket (0.61.1):
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core/Default (= 0.61.1)
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsiexecutor (= 0.61.1)
+ - Yoga
+ - React-CoreModules (0.61.1):
+ - FBReactNativeSpec (= 0.61.1)
+ - Folly (= 2018.10.22.00)
+ - RCTTypeSafety (= 0.61.1)
+ - React-Core/CoreModulesHeaders (= 0.61.1)
+ - React-RCTImage (= 0.61.1)
+ - ReactCommon/turbomodule/core (= 0.61.1)
+ - React-cxxreact (0.61.1):
+ - boost-for-react-native (= 1.63.0)
+ - DoubleConversion
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-jsinspector (= 0.61.1)
+ - React-jsi (0.61.1):
+ - boost-for-react-native (= 1.63.0)
+ - DoubleConversion
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-jsi/Default (= 0.61.1)
+ - React-jsi/Default (0.61.1):
+ - boost-for-react-native (= 1.63.0)
+ - DoubleConversion
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-jsiexecutor (0.61.1):
+ - DoubleConversion
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-jsinspector (0.61.1)
+ - React-RCTActionSheet (0.61.1):
+ - React-Core/RCTActionSheetHeaders (= 0.61.1)
+ - React-RCTAnimation (0.61.1):
+ - React-Core/RCTAnimationHeaders (= 0.61.1)
+ - React-RCTBlob (0.61.1):
+ - React-Core/RCTBlobHeaders (= 0.61.1)
+ - React-Core/RCTWebSocket (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - React-RCTNetwork (= 0.61.1)
+ - React-RCTImage (0.61.1):
+ - React-Core/RCTImageHeaders (= 0.61.1)
+ - React-RCTNetwork (= 0.61.1)
+ - React-RCTLinking (0.61.1):
+ - React-Core/RCTLinkingHeaders (= 0.61.1)
+ - React-RCTNetwork (0.61.1):
+ - React-Core/RCTNetworkHeaders (= 0.61.1)
+ - React-RCTSettings (0.61.1):
+ - React-Core/RCTSettingsHeaders (= 0.61.1)
+ - React-RCTText (0.61.1):
+ - React-Core/RCTTextHeaders (= 0.61.1)
+ - React-RCTVibration (0.61.1):
+ - React-Core/RCTVibrationHeaders (= 0.61.1)
+ - ReactCommon/jscallinvoker (0.61.1):
+ - DoubleConversion
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-cxxreact (= 0.61.1)
+ - ReactCommon/turbomodule/core (0.61.1):
+ - DoubleConversion
+ - Folly (= 2018.10.22.00)
+ - glog
+ - React-Core (= 0.61.1)
+ - React-cxxreact (= 0.61.1)
+ - React-jsi (= 0.61.1)
+ - ReactCommon/jscallinvoker (= 0.61.1)
+ - RNPermissions (2.0.0):
+ - React
+ - RNVectorIcons (6.6.0):
+ - React
+ - Yoga (1.14.0)
+
+DEPENDENCIES:
+ - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
+ - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
+ - FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
+ - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
+ - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
+ - Permission-BluetoothPeripheral (from `../node_modules/react-native-permissions/ios/BluetoothPeripheral.podspec`)
+ - Permission-Calendars (from `../node_modules/react-native-permissions/ios/Calendars.podspec`)
+ - Permission-Camera (from `../node_modules/react-native-permissions/ios/Camera.podspec`)
+ - Permission-Contacts (from `../node_modules/react-native-permissions/ios/Contacts.podspec`)
+ - Permission-FaceID (from `../node_modules/react-native-permissions/ios/FaceID.podspec`)
+ - Permission-LocationAlways (from `../node_modules/react-native-permissions/ios/LocationAlways.podspec`)
+ - Permission-LocationWhenInUse (from `../node_modules/react-native-permissions/ios/LocationWhenInUse.podspec`)
+ - Permission-MediaLibrary (from `../node_modules/react-native-permissions/ios/MediaLibrary.podspec`)
+ - Permission-Microphone (from `../node_modules/react-native-permissions/ios/Microphone.podspec`)
+ - Permission-Motion (from `../node_modules/react-native-permissions/ios/Motion.podspec`)
+ - Permission-Notifications (from `../node_modules/react-native-permissions/ios/Notifications.podspec`)
+ - Permission-PhotoLibrary (from `../node_modules/react-native-permissions/ios/PhotoLibrary.podspec`)
+ - Permission-Reminders (from `../node_modules/react-native-permissions/ios/Reminders.podspec`)
+ - Permission-SpeechRecognition (from `../node_modules/react-native-permissions/ios/SpeechRecognition.podspec`)
+ - Permission-StoreKit (from `../node_modules/react-native-permissions/ios/StoreKit.podspec`)
+ - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
+ - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
+ - React (from `../node_modules/react-native/`)
+ - React-Core (from `../node_modules/react-native/`)
+ - React-Core/DevSupport (from `../node_modules/react-native/`)
+ - React-Core/RCTWebSocket (from `../node_modules/react-native/`)
+ - React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
+ - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
+ - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
+ - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
+ - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
+ - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
+ - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
+ - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
+ - React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
+ - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
+ - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
+ - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
+ - React-RCTText (from `../node_modules/react-native/Libraries/Text`)
+ - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
+ - ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)
+ - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
+ - RNPermissions (from `../node_modules/react-native-permissions`)
+ - RNVectorIcons (from `../node_modules/react-native-vector-icons`)
+ - Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
+
+SPEC REPOS:
+ https://github.com/cocoapods/specs.git:
+ - boost-for-react-native
+
+EXTERNAL SOURCES:
+ DoubleConversion:
+ :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
+ FBLazyVector:
+ :path: "../node_modules/react-native/Libraries/FBLazyVector"
+ FBReactNativeSpec:
+ :path: "../node_modules/react-native/Libraries/FBReactNativeSpec"
+ Folly:
+ :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
+ glog:
+ :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
+ Permission-BluetoothPeripheral:
+ :path: "../node_modules/react-native-permissions/ios/BluetoothPeripheral.podspec"
+ Permission-Calendars:
+ :path: "../node_modules/react-native-permissions/ios/Calendars.podspec"
+ Permission-Camera:
+ :path: "../node_modules/react-native-permissions/ios/Camera.podspec"
+ Permission-Contacts:
+ :path: "../node_modules/react-native-permissions/ios/Contacts.podspec"
+ Permission-FaceID:
+ :path: "../node_modules/react-native-permissions/ios/FaceID.podspec"
+ Permission-LocationAlways:
+ :path: "../node_modules/react-native-permissions/ios/LocationAlways.podspec"
+ Permission-LocationWhenInUse:
+ :path: "../node_modules/react-native-permissions/ios/LocationWhenInUse.podspec"
+ Permission-MediaLibrary:
+ :path: "../node_modules/react-native-permissions/ios/MediaLibrary.podspec"
+ Permission-Microphone:
+ :path: "../node_modules/react-native-permissions/ios/Microphone.podspec"
+ Permission-Motion:
+ :path: "../node_modules/react-native-permissions/ios/Motion.podspec"
+ Permission-Notifications:
+ :path: "../node_modules/react-native-permissions/ios/Notifications.podspec"
+ Permission-PhotoLibrary:
+ :path: "../node_modules/react-native-permissions/ios/PhotoLibrary.podspec"
+ Permission-Reminders:
+ :path: "../node_modules/react-native-permissions/ios/Reminders.podspec"
+ Permission-SpeechRecognition:
+ :path: "../node_modules/react-native-permissions/ios/SpeechRecognition.podspec"
+ Permission-StoreKit:
+ :path: "../node_modules/react-native-permissions/ios/StoreKit.podspec"
+ RCTRequired:
+ :path: "../node_modules/react-native/Libraries/RCTRequired"
+ RCTTypeSafety:
+ :path: "../node_modules/react-native/Libraries/TypeSafety"
+ React:
+ :path: "../node_modules/react-native/"
+ React-Core:
+ :path: "../node_modules/react-native/"
+ React-CoreModules:
+ :path: "../node_modules/react-native/React/CoreModules"
+ React-cxxreact:
+ :path: "../node_modules/react-native/ReactCommon/cxxreact"
+ React-jsi:
+ :path: "../node_modules/react-native/ReactCommon/jsi"
+ React-jsiexecutor:
+ :path: "../node_modules/react-native/ReactCommon/jsiexecutor"
+ React-jsinspector:
+ :path: "../node_modules/react-native/ReactCommon/jsinspector"
+ React-RCTActionSheet:
+ :path: "../node_modules/react-native/Libraries/ActionSheetIOS"
+ React-RCTAnimation:
+ :path: "../node_modules/react-native/Libraries/NativeAnimation"
+ React-RCTBlob:
+ :path: "../node_modules/react-native/Libraries/Blob"
+ React-RCTImage:
+ :path: "../node_modules/react-native/Libraries/Image"
+ React-RCTLinking:
+ :path: "../node_modules/react-native/Libraries/LinkingIOS"
+ React-RCTNetwork:
+ :path: "../node_modules/react-native/Libraries/Network"
+ React-RCTSettings:
+ :path: "../node_modules/react-native/Libraries/Settings"
+ React-RCTText:
+ :path: "../node_modules/react-native/Libraries/Text"
+ React-RCTVibration:
+ :path: "../node_modules/react-native/Libraries/Vibration"
+ ReactCommon:
+ :path: "../node_modules/react-native/ReactCommon"
+ RNPermissions:
+ :path: "../node_modules/react-native-permissions"
+ RNVectorIcons:
+ :path: "../node_modules/react-native-vector-icons"
+ Yoga:
+ :path: "../node_modules/react-native/ReactCommon/yoga"
+
+SPEC CHECKSUMS:
+ boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
+ DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
+ FBLazyVector: 0846affdb2924b01093eb696766ecb0104e409e0
+ FBReactNativeSpec: c4cf958af1b97799b524f63a26a1c509c0295b04
+ Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
+ glog: 1f3da668190260b06b429bb211bfbee5cd790c28
+ Permission-BluetoothPeripheral: ca07124613f3e7ee8633a39074e912e1d724e28b
+ Permission-Calendars: eadc1b8060ff4e98417c6339e75c76f277fc7fce
+ Permission-Camera: 550f1b7609fc658fa2e28f930e235aa994c7b315
+ Permission-Contacts: 3a6e04f3960fcaf6d352c9c4c5e82d42bcbcb4cc
+ Permission-FaceID: de6d7c544fee1425f8d3d32f1240b290f198e194
+ Permission-LocationAlways: 358bb6ab37d28a39dfcdc7b35cf2e3bbbf69d295
+ Permission-LocationWhenInUse: eba4249d3c1783fd235b18c213c530b66398bbbd
+ Permission-MediaLibrary: 7c30b4ba4bdb062863c58ed6013a4219a01ef6fc
+ Permission-Microphone: c63c2adf5027d69383e27784622af743207fdf10
+ Permission-Motion: 534e287327fbf44e864328c52b2cd5a584e94cb5
+ Permission-Notifications: b85820c267c433ba07b5212f575f6dd02e9b4420
+ Permission-PhotoLibrary: 908dceabf4cc66c81c0c485a72e1e6b1d253f58e
+ Permission-Reminders: 412dd3103fae872f13c34bfd2f9061395ea27900
+ Permission-SpeechRecognition: 15ca6fa0535ad385de45f166f0748ccea8912450
+ Permission-StoreKit: 97edf428564d8a11356f311afa1aa498274e9787
+ RCTRequired: 53825815218847d3e9c7b6d92ad2d197a926d51e
+ RCTTypeSafety: d886540c518e53064dfa081bf7693fd650699b92
+ React: 5dea58967c421bd1fdf6b94c18b9ed0f5134683c
+ React-Core: b381e65aa0da9b94b9dcdc4a99298075b1c3876c
+ React-CoreModules: 4ed224e29848ba76d26aacb8e3fe85712d3c4fe1
+ React-cxxreact: 52c98f5c1fb4e4d9f4b588742718350a55f4f088
+ React-jsi: 61ff417c95e6c3af50fb96399037e80752fb5ce7
+ React-jsiexecutor: ee45274419eb95614bbbadb98e20684c5f29996e
+ React-jsinspector: 574d597112f9ea3d1b717f6fb62aef764c70dd6f
+ React-RCTActionSheet: af4d951113b1e068bb30611f91b984a7a73597ff
+ React-RCTAnimation: 4f518d70bb6890b7c3d9d732f84786d6693ca297
+ React-RCTBlob: 072a4888c08de0eef6d04eaa727d25e577e6ff26
+ React-RCTImage: 78c5cdf1b2de6cd3cd650dd741868fad19a35528
+ React-RCTLinking: 486ed1c9a659c7f9fea213868f8930b9a0a79f07
+ React-RCTNetwork: e79599f3160b459da03447e32b8bcca1a0f0f797
+ React-RCTSettings: 48b7c5a64ffe0c54c39d59eb7d9036e72305f95a
+ React-RCTText: 81b62b4e7f11531a5154e4daa5617670d5a2d5de
+ React-RCTVibration: 8be61459e3749d1fb02cf414edd05b3007622882
+ ReactCommon: 4fba5be89efdf0b5720e0adb3d8d7edf6e532db0
+ RNPermissions: 0954178834810a675efad2a26041ffa5380e663f
+ RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
+ Yoga: d8c572ddec8d05b7dba08e4e5f1924004a177078
+
+PODFILE CHECKSUM: fd41fb3cc785483e3289e017b0986b9b143fd760
+
+COCOAPODS: 1.7.5
diff --git a/example/ios/RNPermissionsExample.xcodeproj/project.pbxproj b/example/ios/RNPermissionsExample.xcodeproj/project.pbxproj
new file mode 100644
index 00000000..b2dd3a64
--- /dev/null
+++ b/example/ios/RNPermissionsExample.xcodeproj/project.pbxproj
@@ -0,0 +1,463 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
+ 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
+ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
+ 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
+ FF61E46FEEB7199D22A548F5 /* libPods-RNPermissionsExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D78CFB0B797068FC55B9C8C1 /* libPods-RNPermissionsExample.a */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
+ 13B07F961A680F5B00A75B9A /* RNPermissionsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNPermissionsExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RNPermissionsExample/AppDelegate.h; sourceTree = ""; };
+ 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RNPermissionsExample/AppDelegate.m; sourceTree = ""; };
+ 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
+ 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNPermissionsExample/Images.xcassets; sourceTree = ""; };
+ 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNPermissionsExample/Info.plist; sourceTree = ""; };
+ 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNPermissionsExample/main.m; sourceTree = ""; };
+ 6508191B9B16B2AC0281B3AC /* Pods-RNPermissionsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNPermissionsExample.release.xcconfig"; path = "Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample.release.xcconfig"; sourceTree = ""; };
+ B6736F72654167EDBA7145AA /* Pods-RNPermissionsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNPermissionsExample.debug.xcconfig"; path = "Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample.debug.xcconfig"; sourceTree = ""; };
+ D78CFB0B797068FC55B9C8C1 /* libPods-RNPermissionsExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNPermissionsExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
+ ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ FF61E46FEEB7199D22A548F5 /* libPods-RNPermissionsExample.a in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 13B07FAE1A68108700A75B9A /* RNPermissionsExample */ = {
+ isa = PBXGroup;
+ children = (
+ 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
+ 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
+ 13B07FB01A68108700A75B9A /* AppDelegate.m */,
+ 13B07FB51A68108700A75B9A /* Images.xcassets */,
+ 13B07FB61A68108700A75B9A /* Info.plist */,
+ 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
+ 13B07FB71A68108700A75B9A /* main.m */,
+ );
+ name = RNPermissionsExample;
+ sourceTree = "";
+ };
+ 2426786032D9E4653AC74A82 /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ B6736F72654167EDBA7145AA /* Pods-RNPermissionsExample.debug.xcconfig */,
+ 6508191B9B16B2AC0281B3AC /* Pods-RNPermissionsExample.release.xcconfig */,
+ );
+ path = Pods;
+ sourceTree = "";
+ };
+ 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
+ ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
+ D78CFB0B797068FC55B9C8C1 /* libPods-RNPermissionsExample.a */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+ 83CBB9F61A601CBA00E9B192 = {
+ isa = PBXGroup;
+ children = (
+ 13B07FAE1A68108700A75B9A /* RNPermissionsExample */,
+ 83CBBA001A601CBA00E9B192 /* Products */,
+ 2D16E6871FA4F8E400B85C8A /* Frameworks */,
+ 2426786032D9E4653AC74A82 /* Pods */,
+ );
+ indentWidth = 2;
+ sourceTree = "";
+ tabWidth = 2;
+ usesTabs = 0;
+ };
+ 83CBBA001A601CBA00E9B192 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 13B07F961A680F5B00A75B9A /* RNPermissionsExample.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 13B07F861A680F5B00A75B9A /* RNPermissionsExample */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNPermissionsExample" */;
+ buildPhases = (
+ B8E3F604061BE0BB6353585E /* [CP] Check Pods Manifest.lock */,
+ FD10A7F022414F080027D42C /* Start Packager */,
+ 13B07F871A680F5B00A75B9A /* Sources */,
+ 13B07F8C1A680F5B00A75B9A /* Frameworks */,
+ 13B07F8E1A680F5B00A75B9A /* Resources */,
+ 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
+ B87A842ED79307A87D526EC5 /* [CP] Copy Pods Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = RNPermissionsExample;
+ productName = RNPermissionsExample;
+ productReference = 13B07F961A680F5B00A75B9A /* RNPermissionsExample.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 83CBB9F71A601CBA00E9B192 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 940;
+ ORGANIZATIONNAME = Facebook;
+ TargetAttributes = {
+ 13B07F861A680F5B00A75B9A = {
+ DevelopmentTeam = 745449BDR9;
+ };
+ };
+ };
+ buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNPermissionsExample" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ English,
+ en,
+ Base,
+ );
+ mainGroup = 83CBB9F61A601CBA00E9B192;
+ productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 13B07F861A680F5B00A75B9A /* RNPermissionsExample */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 13B07F8E1A680F5B00A75B9A /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
+ 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 00DD1BFF1BD5951E006B06BC /* 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/scripts/react-native-xcode.sh";
+ };
+ B87A842ED79307A87D526EC5 /* [CP] Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample-resources.sh",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
+ );
+ name = "[CP] Copy Pods Resources";
+ outputPaths = (
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EvilIcons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Feather.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialIcons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ B8E3F604061BE0BB6353585E /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-RNPermissionsExample-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ FD10A7F022414F080027D42C /* Start Packager */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ name = "Start Packager";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n";
+ showEnvVarsInLog = 0;
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 13B07F871A680F5B00A75B9A /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
+ 13B07FC11A68108700A75B9A /* main.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 13B07FB21A68108700A75B9A /* Base */,
+ );
+ name = LaunchScreen.xib;
+ path = RNPermissionsExample;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 13B07F941A680F5B00A75B9A /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = B6736F72654167EDBA7145AA /* Pods-RNPermissionsExample.debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CURRENT_PROJECT_VERSION = 1;
+ DEAD_CODE_STRIPPING = NO;
+ DEVELOPMENT_TEAM = 745449BDR9;
+ INFOPLIST_FILE = RNPermissionsExample/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-ObjC",
+ "-lc++",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.rnpermissionsexample;
+ PRODUCT_NAME = RNPermissionsExample;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 13B07F951A680F5B00A75B9A /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 6508191B9B16B2AC0281B3AC /* Pods-RNPermissionsExample.release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = 745449BDR9;
+ INFOPLIST_FILE = RNPermissionsExample/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-ObjC",
+ "-lc++",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.rnpermissionsexample;
+ PRODUCT_NAME = RNPermissionsExample;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Release;
+ };
+ 83CBBA201A601CBA00E9B192 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ 83CBBA211A601CBA00E9B192 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNPermissionsExample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 13B07F941A680F5B00A75B9A /* Debug */,
+ 13B07F951A680F5B00A75B9A /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNPermissionsExample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 83CBBA201A601CBA00E9B192 /* Debug */,
+ 83CBBA211A601CBA00E9B192 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
+}
diff --git a/example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme b/example/ios/RNPermissionsExample.xcodeproj/xcshareddata/xcschemes/RNPermissionsExample.xcscheme
similarity index 66%
rename from example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
rename to example/ios/RNPermissionsExample.xcodeproj/xcshareddata/xcschemes/RNPermissionsExample.xcscheme
index 273f724d..dd187558 100644
--- a/example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
+++ b/example/ios/RNPermissionsExample.xcodeproj/xcshareddata/xcschemes/RNPermissionsExample.xcscheme
@@ -1,6 +1,6 @@
-
-
-
-
+ BuildableName = "RNPermissionsExample.app"
+ BlueprintName = "RNPermissionsExample"
+ ReferencedContainer = "container:RNPermissionsExample.xcodeproj">
@@ -56,24 +42,14 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
-
-
-
-
+ BuildableName = "RNPermissionsExample.app"
+ BlueprintName = "RNPermissionsExample"
+ ReferencedContainer = "container:RNPermissionsExample.xcodeproj">
@@ -94,9 +70,9 @@
+ BuildableName = "RNPermissionsExample.app"
+ BlueprintName = "RNPermissionsExample"
+ ReferencedContainer = "container:RNPermissionsExample.xcodeproj">
@@ -113,9 +89,9 @@
+ BuildableName = "RNPermissionsExample.app"
+ BlueprintName = "RNPermissionsExample"
+ ReferencedContainer = "container:RNPermissionsExample.xcodeproj">
diff --git a/example/ios/RNPermissionsExample.xcworkspace/contents.xcworkspacedata b/example/ios/RNPermissionsExample.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..6197994a
--- /dev/null
+++ b/example/ios/RNPermissionsExample.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/example/ios/RNPermissionsExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/example/ios/RNPermissionsExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000..18d98100
--- /dev/null
+++ b/example/ios/RNPermissionsExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/example/ios/RNPermissionsExample/AppDelegate.h b/example/ios/RNPermissionsExample/AppDelegate.h
new file mode 100644
index 00000000..2726d5e1
--- /dev/null
+++ b/example/ios/RNPermissionsExample/AppDelegate.h
@@ -0,0 +1,15 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+#import
+#import
+
+@interface AppDelegate : UIResponder
+
+@property (nonatomic, strong) UIWindow *window;
+
+@end
diff --git a/example/ios/RNPermissionsExample/AppDelegate.m b/example/ios/RNPermissionsExample/AppDelegate.m
new file mode 100644
index 00000000..59e27311
--- /dev/null
+++ b/example/ios/RNPermissionsExample/AppDelegate.m
@@ -0,0 +1,42 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+#import "AppDelegate.h"
+
+#import
+#import
+#import
+
+@implementation AppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
+ RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
+ moduleName:@"RNPermissionsExample"
+ initialProperties:nil];
+
+ rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
+
+ self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
+ UIViewController *rootViewController = [UIViewController new];
+ rootViewController.view = rootView;
+ self.window.rootViewController = rootViewController;
+ [self.window makeKeyAndVisible];
+ return YES;
+}
+
+- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
+{
+#if DEBUG
+ return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
+#else
+ return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
+#endif
+}
+
+@end
diff --git a/example/ios/Example/Base.lproj/LaunchScreen.xib b/example/ios/RNPermissionsExample/Base.lproj/LaunchScreen.xib
similarity index 93%
rename from example/ios/Example/Base.lproj/LaunchScreen.xib
rename to example/ios/RNPermissionsExample/Base.lproj/LaunchScreen.xib
index 8c70b043..87a898c8 100644
--- a/example/ios/Example/Base.lproj/LaunchScreen.xib
+++ b/example/ios/RNPermissionsExample/Base.lproj/LaunchScreen.xib
@@ -18,7 +18,7 @@
-