├── .gitignore
├── README.md
├── android
├── src
│ └── main
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ └── com
│ │ └── phodal
│ │ └── apprate
│ │ └── AppRate.java
└── build.gradle
├── ios
├── DoreAppRate.xcodeproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcuserdata
│ │ │ └── phodal.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ ├── xcuserdata
│ │ └── phodal.xcuserdatad
│ │ │ └── xcschemes
│ │ │ └── xcschememanagement.plist
│ └── project.pbxproj
└── DoreAppRate
│ ├── DoreAppRate.h
│ └── DoreAppRate.m
├── package.json
└── LICENSE
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # dore-apprate
2 |
--------------------------------------------------------------------------------
/android/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ios/DoreAppRate.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/DoreAppRate.xcodeproj/project.xcworkspace/xcuserdata/phodal.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phodal/dore-apprate/master/ios/DoreAppRate.xcodeproj/project.xcworkspace/xcuserdata/phodal.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "dore-app-rate",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "git+https://github.com/phodal/dore-apprate.git"
12 | },
13 | "keywords": [],
14 | "author": "",
15 | "license": "ISC",
16 | "bugs": {
17 | "url": "https://github.com/phodal/dore-apprate/issues"
18 | },
19 | "homepage": "https://github.com/phodal/dore-apprate#readme"
20 | }
21 |
--------------------------------------------------------------------------------
/ios/DoreAppRate.xcodeproj/xcuserdata/phodal.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | DoreAppRate.xcscheme
8 |
9 | orderHint
10 | 40
11 |
12 | RNModule.xcscheme
13 |
14 | orderHint
15 | 0
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.library'
2 |
3 | android {
4 | compileSdkVersion 25
5 | buildToolsVersion "25.0.1"
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 25
10 | versionCode 1
11 | versionName "1.0"
12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(include: ['*.jar'], dir: 'libs')
24 | compile 'com.facebook.react:react-native:+'
25 | }
26 |
--------------------------------------------------------------------------------
/ios/DoreAppRate/DoreAppRate.h:
--------------------------------------------------------------------------------
1 | //
2 | // DoreAppRate.h
3 | // DoreAppRate
4 | //
5 | // Created by phodal on 17/12/2017.
6 | //
7 |
8 | #import
9 | #import
10 | #import
11 | #import
12 | #import
13 | #import
14 |
15 | @interface DoreAppRate : RCTEventEmitter
16 |
17 | - (void)getAppVersion:(CDVInvokedUrlCommand *)command;
18 |
19 | - (void)getAppTitle:(CDVInvokedUrlCommand *)command;
20 |
21 | - (void)launchiOSReview:(CDVInvokedUrlCommand *)command;
22 |
23 | - (void)launchAppStore:(NSString *)appId;
24 |
25 | - (void)launchInAppReview;
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/android/src/main/java/com/phodal/apprate/AppRate.java:
--------------------------------------------------------------------------------
1 | package org.pushandplay.cordova.apprate;
2 |
3 | import org.apache.cordova.CordovaPlugin;
4 | import org.apache.cordova.CallbackContext;
5 | import org.json.JSONArray;
6 | import org.json.JSONException;
7 | import org.json.JSONObject;
8 |
9 | import android.content.pm.PackageManager.NameNotFoundException;
10 | import android.content.pm.PackageManager;
11 | import android.content.pm.ApplicationInfo;
12 |
13 | public class AppRate extends CordovaPlugin {
14 | @Override
15 | public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException
16 | {
17 | try {
18 | PackageManager packageManager = this.cordova.getActivity().getPackageManager();
19 |
20 | if (action.equals("getAppVersion")){
21 | callbackContext.success(packageManager.getPackageInfo(this.cordova.getActivity().getPackageName(), 0).versionName);
22 | return true;
23 | }
24 | if (action.equals("getAppTitle")) {
25 | ApplicationInfo applicationInfo = packageManager.getApplicationInfo(this.cordova.getActivity().getApplicationContext().getApplicationInfo().packageName, 0);
26 | final String applicationName = (String) (applicationInfo != null ? packageManager.getApplicationLabel(applicationInfo) : "Unknown");
27 |
28 | callbackContext.success(applicationName);
29 |
30 | return true;
31 | }
32 | return false;
33 | } catch (NameNotFoundException e) {
34 | callbackContext.success("N/A");
35 | return true;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/ios/DoreAppRate/DoreAppRate.m:
--------------------------------------------------------------------------------
1 | //
2 | // DoreAppRate.m
3 | // DoreAppRate
4 | //
5 | // Created by phodal on 17/12/2017.
6 | //
7 |
8 | #import "RNAppRate.h"
9 | #import
10 | #import
11 |
12 | @implementation RNNoTagDatepicker
13 |
14 | @synthesize bridge = _bridge;
15 |
16 | - (NSArray *) supportedEvents
17 | {
18 | return @[@"DATEPICKER_NATIVE_INVOKE"];
19 | }
20 |
21 | RCT_EXPORT_MODULE()
22 |
23 | - (void)getAppVersion:(CDVInvokedUrlCommand *)command {
24 | [self.commandDelegate runInBackground:^{
25 | NSString *versionString = [[NSBundle mainBundle] infoDictionary][@"CFBundleShortVersionString"];
26 | CDVPluginResult *pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:versionString];
27 |
28 | [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
29 | }];
30 | }
31 |
32 | - (void)getAppTitle:(CDVInvokedUrlCommand *)command {
33 | [self.commandDelegate runInBackground:^{
34 | NSString *appNameString = [[NSBundle mainBundle] infoDictionary][@"CFBundleDisplayName"];
35 | CDVPluginResult *pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:appNameString];
36 |
37 | [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
38 | }];
39 | }
40 |
41 | - (void)launchiOSReview:(CDVInvokedUrlCommand *)command {
42 | BOOL shouldUseNativePrompt = [command.arguments[1] boolValue];
43 |
44 | if (shouldUseNativePrompt && [SKStoreReviewController class]) {
45 | [self launchInAppReview];
46 | } else {
47 | NSString *appId = @"";
48 |
49 | if ([command.arguments count] >= 1) {
50 | appId = (NSString *) (command.arguments)[0];
51 | }
52 |
53 | [self launchAppStore:appId];
54 | }
55 | }
56 |
57 | - (void)launchAppStore:(NSString *) appId{
58 | [self.commandDelegate runInBackground:^{
59 | // Initialize Product View Controller
60 | SKStoreProductViewController *storeProductViewController = [[SKStoreProductViewController alloc] init];
61 |
62 | // Configure View Controller
63 | [storeProductViewController setDelegate:self];
64 | [storeProductViewController loadProductWithParameters:@{SKStoreProductParameterITunesItemIdentifier : appId} completionBlock:^(BOOL result, NSError *error) {
65 | if (error) {
66 | NSLog(@"Error %@ with User Info %@.", error, [error userInfo]);
67 | } else {
68 | [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
69 | [self.viewController presentViewController:storeProductViewController animated:YES completion:nil];
70 | }
71 | }];
72 | [UIApplication sharedApplication].networkActivityIndicatorVisible = YES;
73 | }];
74 | }
75 |
76 | - (void)launchInAppReview {
77 | [self.commandDelegate runInBackground:^{
78 | [SKStoreReviewController requestReview];
79 | }];
80 | }
81 |
82 | - (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController {
83 | [viewController dismissViewControllerAnimated:YES completion:nil];
84 | }
85 |
86 | @end
87 |
88 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | Apache License
3 | Version 2.0, January 2004
4 | http://www.apache.org/licenses/
5 |
6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7 |
8 | 1. Definitions.
9 |
10 | "License" shall mean the terms and conditions for use, reproduction,
11 | and distribution as defined by Sections 1 through 9 of this document.
12 |
13 | "Licensor" shall mean the copyright owner or entity authorized by
14 | the copyright owner that is granting the License.
15 |
16 | "Legal Entity" shall mean the union of the acting entity and all
17 | other entities that control, are controlled by, or are under common
18 | control with that entity. For the purposes of this definition,
19 | "control" means (i) the power, direct or indirect, to cause the
20 | direction or management of such entity, whether by contract or
21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
22 | outstanding shares, or (iii) beneficial ownership of such entity.
23 |
24 | "You" (or "Your") shall mean an individual or Legal Entity
25 | exercising permissions granted by this License.
26 |
27 | "Source" form shall mean the preferred form for making modifications,
28 | including but not limited to software source code, documentation
29 | source, and configuration files.
30 |
31 | "Object" form shall mean any form resulting from mechanical
32 | transformation or translation of a Source form, including but
33 | not limited to compiled object code, generated documentation,
34 | and conversions to other media types.
35 |
36 | "Work" shall mean the work of authorship, whether in Source or
37 | Object form, made available under the License, as indicated by a
38 | copyright notice that is included in or attached to the work
39 | (an example is provided in the Appendix below).
40 |
41 | "Derivative Works" shall mean any work, whether in Source or Object
42 | form, that is based on (or derived from) the Work and for which the
43 | editorial revisions, annotations, elaborations, or other modifications
44 | represent, as a whole, an original work of authorship. For the purposes
45 | of this License, Derivative Works shall not include works that remain
46 | separable from, or merely link (or bind by name) to the interfaces of,
47 | the Work and Derivative Works thereof.
48 |
49 | "Contribution" shall mean any work of authorship, including
50 | the original version of the Work and any modifications or additions
51 | to that Work or Derivative Works thereof, that is intentionally
52 | submitted to Licensor for inclusion in the Work by the copyright owner
53 | or by an individual or Legal Entity authorized to submit on behalf of
54 | the copyright owner. For the purposes of this definition, "submitted"
55 | means any form of electronic, verbal, or written communication sent
56 | to the Licensor or its representatives, including but not limited to
57 | communication on electronic mailing lists, source code control systems,
58 | and issue tracking systems that are managed by, or on behalf of, the
59 | Licensor for the purpose of discussing and improving the Work, but
60 | excluding communication that is conspicuously marked or otherwise
61 | designated in writing by the copyright owner as "Not a Contribution."
62 |
63 | "Contributor" shall mean Licensor and any individual or Legal Entity
64 | on behalf of whom a Contribution has been received by Licensor and
65 | subsequently incorporated within the Work.
66 |
67 | 2. Grant of Copyright License. Subject to the terms and conditions of
68 | this License, each Contributor hereby grants to You a perpetual,
69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70 | copyright license to reproduce, prepare Derivative Works of,
71 | publicly display, publicly perform, sublicense, and distribute the
72 | Work and such Derivative Works in Source or Object form.
73 |
74 | 3. Grant of Patent License. Subject to the terms and conditions of
75 | this License, each Contributor hereby grants to You a perpetual,
76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77 | (except as stated in this section) patent license to make, have made,
78 | use, offer to sell, sell, import, and otherwise transfer the Work,
79 | where such license applies only to those patent claims licensable
80 | by such Contributor that are necessarily infringed by their
81 | Contribution(s) alone or by combination of their Contribution(s)
82 | with the Work to which such Contribution(s) was submitted. If You
83 | institute patent litigation against any entity (including a
84 | cross-claim or counterclaim in a lawsuit) alleging that the Work
85 | or a Contribution incorporated within the Work constitutes direct
86 | or contributory patent infringement, then any patent licenses
87 | granted to You under this License for that Work shall terminate
88 | as of the date such litigation is filed.
89 |
90 | 4. Redistribution. You may reproduce and distribute copies of the
91 | Work or Derivative Works thereof in any medium, with or without
92 | modifications, and in Source or Object form, provided that You
93 | meet the following conditions:
94 |
95 | (a) You must give any other recipients of the Work or
96 | Derivative Works a copy of this License; and
97 |
98 | (b) You must cause any modified files to carry prominent notices
99 | stating that You changed the files; and
100 |
101 | (c) You must retain, in the Source form of any Derivative Works
102 | that You distribute, all copyright, patent, trademark, and
103 | attribution notices from the Source form of the Work,
104 | excluding those notices that do not pertain to any part of
105 | the Derivative Works; and
106 |
107 | (d) If the Work includes a "NOTICE" text file as part of its
108 | distribution, then any Derivative Works that You distribute must
109 | include a readable copy of the attribution notices contained
110 | within such NOTICE file, excluding those notices that do not
111 | pertain to any part of the Derivative Works, in at least one
112 | of the following places: within a NOTICE text file distributed
113 | as part of the Derivative Works; within the Source form or
114 | documentation, if provided along with the Derivative Works; or,
115 | within a display generated by the Derivative Works, if and
116 | wherever such third-party notices normally appear. The contents
117 | of the NOTICE file are for informational purposes only and
118 | do not modify the License. You may add Your own attribution
119 | notices within Derivative Works that You distribute, alongside
120 | or as an addendum to the NOTICE text from the Work, provided
121 | that such additional attribution notices cannot be construed
122 | as modifying the License.
123 |
124 | You may add Your own copyright statement to Your modifications and
125 | may provide additional or different license terms and conditions
126 | for use, reproduction, or distribution of Your modifications, or
127 | for any such Derivative Works as a whole, provided Your use,
128 | reproduction, and distribution of the Work otherwise complies with
129 | the conditions stated in this License.
130 |
131 | 5. Submission of Contributions. Unless You explicitly state otherwise,
132 | any Contribution intentionally submitted for inclusion in the Work
133 | by You to the Licensor shall be under the terms and conditions of
134 | this License, without any additional terms or conditions.
135 | Notwithstanding the above, nothing herein shall supersede or modify
136 | the terms of any separate license agreement you may have executed
137 | with Licensor regarding such Contributions.
138 |
139 | 6. Trademarks. This License does not grant permission to use the trade
140 | names, trademarks, service marks, or product names of the Licensor,
141 | except as required for reasonable and customary use in describing the
142 | origin of the Work and reproducing the content of the NOTICE file.
143 |
144 | 7. Disclaimer of Warranty. Unless required by applicable law or
145 | agreed to in writing, Licensor provides the Work (and each
146 | Contributor provides its Contributions) on an "AS IS" BASIS,
147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148 | implied, including, without limitation, any warranties or conditions
149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150 | PARTICULAR PURPOSE. You are solely responsible for determining the
151 | appropriateness of using or redistributing the Work and assume any
152 | risks associated with Your exercise of permissions under this License.
153 |
154 | 8. Limitation of Liability. In no event and under no legal theory,
155 | whether in tort (including negligence), contract, or otherwise,
156 | unless required by applicable law (such as deliberate and grossly
157 | negligent acts) or agreed to in writing, shall any Contributor be
158 | liable to You for damages, including any direct, indirect, special,
159 | incidental, or consequential damages of any character arising as a
160 | result of this License or out of the use or inability to use the
161 | Work (including but not limited to damages for loss of goodwill,
162 | work stoppage, computer failure or malfunction, or any and all
163 | other commercial damages or losses), even if such Contributor
164 | has been advised of the possibility of such damages.
165 |
166 | 9. Accepting Warranty or Additional Liability. While redistributing
167 | the Work or Derivative Works thereof, You may choose to offer,
168 | and charge a fee for, acceptance of support, warranty, indemnity,
169 | or other liability obligations and/or rights consistent with this
170 | License. However, in accepting such obligations, You may act only
171 | on Your own behalf and on Your sole responsibility, not on behalf
172 | of any other Contributor, and only if You agree to indemnify,
173 | defend, and hold each Contributor harmless for any liability
174 | incurred by, or claims asserted against, such Contributor by reason
175 | of your accepting any such warranty or additional liability.
176 |
177 | END OF TERMS AND CONDITIONS
178 |
179 | APPENDIX: How to apply the Apache License to your work.
180 |
181 | To apply the Apache License to your work, attach the following
182 | boilerplate notice, with the fields enclosed by brackets "[]"
183 | replaced with your own identifying information. (Don't include
184 | the brackets!) The text should be enclosed in the appropriate
185 | comment syntax for the file format. We also recommend that a
186 | file or class name and description of purpose be included on the
187 | same "printed page" as the copyright notice for easier
188 | identification within third-party archives.
189 |
190 | Copyright [yyyy] [name of copyright owner]
191 |
192 | Licensed under the Apache License, Version 2.0 (the "License");
193 | you may not use this file except in compliance with the License.
194 | You may obtain a copy of the License at
195 |
196 | http://www.apache.org/licenses/LICENSE-2.0
197 |
198 | Unless required by applicable law or agreed to in writing, software
199 | distributed under the License is distributed on an "AS IS" BASIS,
200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201 | See the License for the specific language governing permissions and
202 | limitations under the License.
--------------------------------------------------------------------------------
/ios/DoreAppRate.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 4067E9641FE6C04300B289D4 /* DoreAppRate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4067E9631FE6C04300B289D4 /* DoreAppRate.m */; };
11 | 4067E9651FE6C04300B289D4 /* DoreAppRate.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4067E9621FE6C04300B289D4 /* DoreAppRate.h */; };
12 | /* End PBXBuildFile section */
13 |
14 | /* Begin PBXContainerItemProxy section */
15 | 66ABD5021DEDAAD100F706C0 /* PBXContainerItemProxy */ = {
16 | isa = PBXContainerItemProxy;
17 | containerPortal = 66ABD4FD1DEDAAD100F706C0 /* React.xcodeproj */;
18 | proxyType = 2;
19 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
20 | remoteInfo = React;
21 | };
22 | 66ABD5041DEDAAD100F706C0 /* PBXContainerItemProxy */ = {
23 | isa = PBXContainerItemProxy;
24 | containerPortal = 66ABD4FD1DEDAAD100F706C0 /* React.xcodeproj */;
25 | proxyType = 2;
26 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
27 | remoteInfo = "React-tvOS";
28 | };
29 | /* End PBXContainerItemProxy section */
30 |
31 | /* Begin PBXCopyFilesBuildPhase section */
32 | 4067E95E1FE6C04300B289D4 /* CopyFiles */ = {
33 | isa = PBXCopyFilesBuildPhase;
34 | buildActionMask = 2147483647;
35 | dstPath = "include/$(PRODUCT_NAME)";
36 | dstSubfolderSpec = 16;
37 | files = (
38 | 4067E9651FE6C04300B289D4 /* DoreAppRate.h in CopyFiles */,
39 | );
40 | runOnlyForDeploymentPostprocessing = 0;
41 | };
42 | /* End PBXCopyFilesBuildPhase section */
43 |
44 | /* Begin PBXFileReference section */
45 | 4067E9601FE6C04300B289D4 /* libDoreAppRate.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libDoreAppRate.a; sourceTree = BUILT_PRODUCTS_DIR; };
46 | 4067E9621FE6C04300B289D4 /* DoreAppRate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DoreAppRate.h; sourceTree = ""; };
47 | 4067E9631FE6C04300B289D4 /* DoreAppRate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DoreAppRate.m; sourceTree = ""; };
48 | 66ABD4FD1DEDAAD100F706C0 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../../react-native/React/React.xcodeproj"; sourceTree = ""; };
49 | /* End PBXFileReference section */
50 |
51 | /* Begin PBXFrameworksBuildPhase section */
52 | 4067E95D1FE6C04300B289D4 /* Frameworks */ = {
53 | isa = PBXFrameworksBuildPhase;
54 | buildActionMask = 2147483647;
55 | files = (
56 | );
57 | runOnlyForDeploymentPostprocessing = 0;
58 | };
59 | /* End PBXFrameworksBuildPhase section */
60 |
61 | /* Begin PBXGroup section */
62 | 4067E9611FE6C04300B289D4 /* DoreAppRate */ = {
63 | isa = PBXGroup;
64 | children = (
65 | 4067E9621FE6C04300B289D4 /* DoreAppRate.h */,
66 | 4067E9631FE6C04300B289D4 /* DoreAppRate.m */,
67 | );
68 | path = DoreAppRate;
69 | sourceTree = "";
70 | };
71 | 665E38051DEDA42C007CA9FA = {
72 | isa = PBXGroup;
73 | children = (
74 | 4067E9611FE6C04300B289D4 /* DoreAppRate */,
75 | 665E380F1DEDA42C007CA9FA /* Products */,
76 | 66ABD4FC1DEDAAD100F706C0 /* Frameworks */,
77 | );
78 | sourceTree = "";
79 | };
80 | 665E380F1DEDA42C007CA9FA /* Products */ = {
81 | isa = PBXGroup;
82 | children = (
83 | 4067E9601FE6C04300B289D4 /* libDoreAppRate.a */,
84 | );
85 | name = Products;
86 | sourceTree = "";
87 | };
88 | 66ABD4FC1DEDAAD100F706C0 /* Frameworks */ = {
89 | isa = PBXGroup;
90 | children = (
91 | 66ABD4FD1DEDAAD100F706C0 /* React.xcodeproj */,
92 | );
93 | name = Frameworks;
94 | sourceTree = "";
95 | };
96 | 66ABD4FE1DEDAAD100F706C0 /* Products */ = {
97 | isa = PBXGroup;
98 | children = (
99 | 66ABD5031DEDAAD100F706C0 /* libReact.a */,
100 | 66ABD5051DEDAAD100F706C0 /* libReact-tvOS.a */,
101 | );
102 | name = Products;
103 | sourceTree = "";
104 | };
105 | /* End PBXGroup section */
106 |
107 | /* Begin PBXNativeTarget section */
108 | 4067E95F1FE6C04300B289D4 /* DoreAppRate */ = {
109 | isa = PBXNativeTarget;
110 | buildConfigurationList = 4067E9661FE6C04300B289D4 /* Build configuration list for PBXNativeTarget "DoreAppRate" */;
111 | buildPhases = (
112 | 4067E95C1FE6C04300B289D4 /* Sources */,
113 | 4067E95D1FE6C04300B289D4 /* Frameworks */,
114 | 4067E95E1FE6C04300B289D4 /* CopyFiles */,
115 | );
116 | buildRules = (
117 | );
118 | dependencies = (
119 | );
120 | name = DoreAppRate;
121 | productName = DoreAppRate;
122 | productReference = 4067E9601FE6C04300B289D4 /* libDoreAppRate.a */;
123 | productType = "com.apple.product-type.library.static";
124 | };
125 | /* End PBXNativeTarget section */
126 |
127 | /* Begin PBXProject section */
128 | 665E38061DEDA42C007CA9FA /* Project object */ = {
129 | isa = PBXProject;
130 | attributes = {
131 | LastUpgradeCheck = 0900;
132 | TargetAttributes = {
133 | 4067E95F1FE6C04300B289D4 = {
134 | CreatedOnToolsVersion = 9.0;
135 | ProvisioningStyle = Automatic;
136 | };
137 | };
138 | };
139 | buildConfigurationList = 665E38091DEDA42C007CA9FA /* Build configuration list for PBXProject "DoreAppRate" */;
140 | compatibilityVersion = "Xcode 3.2";
141 | developmentRegion = English;
142 | hasScannedForEncodings = 0;
143 | knownRegions = (
144 | en,
145 | );
146 | mainGroup = 665E38051DEDA42C007CA9FA;
147 | productRefGroup = 665E380F1DEDA42C007CA9FA /* Products */;
148 | projectDirPath = "";
149 | projectReferences = (
150 | {
151 | ProductGroup = 66ABD4FE1DEDAAD100F706C0 /* Products */;
152 | ProjectRef = 66ABD4FD1DEDAAD100F706C0 /* React.xcodeproj */;
153 | },
154 | );
155 | projectRoot = "";
156 | targets = (
157 | 4067E95F1FE6C04300B289D4 /* DoreAppRate */,
158 | );
159 | };
160 | /* End PBXProject section */
161 |
162 | /* Begin PBXReferenceProxy section */
163 | 66ABD5031DEDAAD100F706C0 /* libReact.a */ = {
164 | isa = PBXReferenceProxy;
165 | fileType = archive.ar;
166 | path = libReact.a;
167 | remoteRef = 66ABD5021DEDAAD100F706C0 /* PBXContainerItemProxy */;
168 | sourceTree = BUILT_PRODUCTS_DIR;
169 | };
170 | 66ABD5051DEDAAD100F706C0 /* libReact-tvOS.a */ = {
171 | isa = PBXReferenceProxy;
172 | fileType = archive.ar;
173 | path = "libReact-tvOS.a";
174 | remoteRef = 66ABD5041DEDAAD100F706C0 /* PBXContainerItemProxy */;
175 | sourceTree = BUILT_PRODUCTS_DIR;
176 | };
177 | /* End PBXReferenceProxy section */
178 |
179 | /* Begin PBXSourcesBuildPhase section */
180 | 4067E95C1FE6C04300B289D4 /* Sources */ = {
181 | isa = PBXSourcesBuildPhase;
182 | buildActionMask = 2147483647;
183 | files = (
184 | 4067E9641FE6C04300B289D4 /* DoreAppRate.m in Sources */,
185 | );
186 | runOnlyForDeploymentPostprocessing = 0;
187 | };
188 | /* End PBXSourcesBuildPhase section */
189 |
190 | /* Begin XCBuildConfiguration section */
191 | 4067E9671FE6C04300B289D4 /* Debug */ = {
192 | isa = XCBuildConfiguration;
193 | buildSettings = {
194 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
195 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
196 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
197 | CLANG_WARN_COMMA = YES;
198 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
199 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
200 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
201 | CLANG_WARN_STRICT_PROTOTYPES = YES;
202 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
203 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
204 | CODE_SIGN_IDENTITY = "iPhone Developer";
205 | CODE_SIGN_STYLE = Automatic;
206 | GCC_C_LANGUAGE_STANDARD = gnu11;
207 | IPHONEOS_DEPLOYMENT_TARGET = 11.0;
208 | OTHER_LDFLAGS = "-ObjC";
209 | PRODUCT_NAME = "$(TARGET_NAME)";
210 | SKIP_INSTALL = YES;
211 | TARGETED_DEVICE_FAMILY = "1,2";
212 | };
213 | name = Debug;
214 | };
215 | 4067E9681FE6C04300B289D4 /* Release */ = {
216 | isa = XCBuildConfiguration;
217 | buildSettings = {
218 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
219 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
220 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
221 | CLANG_WARN_COMMA = YES;
222 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
223 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
224 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
225 | CLANG_WARN_STRICT_PROTOTYPES = YES;
226 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
227 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
228 | CODE_SIGN_IDENTITY = "iPhone Developer";
229 | CODE_SIGN_STYLE = Automatic;
230 | GCC_C_LANGUAGE_STANDARD = gnu11;
231 | IPHONEOS_DEPLOYMENT_TARGET = 11.0;
232 | OTHER_LDFLAGS = "-ObjC";
233 | PRODUCT_NAME = "$(TARGET_NAME)";
234 | SKIP_INSTALL = YES;
235 | TARGETED_DEVICE_FAMILY = "1,2";
236 | };
237 | name = Release;
238 | };
239 | 665E38151DEDA42C007CA9FA /* Debug */ = {
240 | isa = XCBuildConfiguration;
241 | buildSettings = {
242 | ALWAYS_SEARCH_USER_PATHS = NO;
243 | CLANG_ANALYZER_NONNULL = YES;
244 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
245 | CLANG_CXX_LIBRARY = "libc++";
246 | CLANG_ENABLE_MODULES = YES;
247 | CLANG_ENABLE_OBJC_ARC = YES;
248 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
249 | CLANG_WARN_BOOL_CONVERSION = YES;
250 | CLANG_WARN_COMMA = YES;
251 | CLANG_WARN_CONSTANT_CONVERSION = YES;
252 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
253 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
254 | CLANG_WARN_EMPTY_BODY = YES;
255 | CLANG_WARN_ENUM_CONVERSION = YES;
256 | CLANG_WARN_INFINITE_RECURSION = YES;
257 | CLANG_WARN_INT_CONVERSION = YES;
258 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
259 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
260 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
261 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
262 | CLANG_WARN_STRICT_PROTOTYPES = YES;
263 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
264 | CLANG_WARN_SUSPICIOUS_MOVES = YES;
265 | CLANG_WARN_UNREACHABLE_CODE = YES;
266 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
267 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
268 | COPY_PHASE_STRIP = NO;
269 | DEBUG_INFORMATION_FORMAT = dwarf;
270 | ENABLE_STRICT_OBJC_MSGSEND = YES;
271 | ENABLE_TESTABILITY = YES;
272 | GCC_C_LANGUAGE_STANDARD = gnu99;
273 | GCC_DYNAMIC_NO_PIC = NO;
274 | GCC_NO_COMMON_BLOCKS = YES;
275 | GCC_OPTIMIZATION_LEVEL = 0;
276 | GCC_PREPROCESSOR_DEFINITIONS = (
277 | "DEBUG=1",
278 | "$(inherited)",
279 | );
280 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
281 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
282 | GCC_WARN_UNDECLARED_SELECTOR = YES;
283 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
284 | GCC_WARN_UNUSED_FUNCTION = YES;
285 | GCC_WARN_UNUSED_VARIABLE = YES;
286 | IPHONEOS_DEPLOYMENT_TARGET = 10.1;
287 | MTL_ENABLE_DEBUG_INFO = YES;
288 | ONLY_ACTIVE_ARCH = YES;
289 | SDKROOT = iphoneos;
290 | };
291 | name = Debug;
292 | };
293 | 665E38161DEDA42C007CA9FA /* Release */ = {
294 | isa = XCBuildConfiguration;
295 | buildSettings = {
296 | ALWAYS_SEARCH_USER_PATHS = NO;
297 | CLANG_ANALYZER_NONNULL = YES;
298 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
299 | CLANG_CXX_LIBRARY = "libc++";
300 | CLANG_ENABLE_MODULES = YES;
301 | CLANG_ENABLE_OBJC_ARC = YES;
302 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
303 | CLANG_WARN_BOOL_CONVERSION = YES;
304 | CLANG_WARN_COMMA = YES;
305 | CLANG_WARN_CONSTANT_CONVERSION = YES;
306 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
307 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
308 | CLANG_WARN_EMPTY_BODY = YES;
309 | CLANG_WARN_ENUM_CONVERSION = YES;
310 | CLANG_WARN_INFINITE_RECURSION = YES;
311 | CLANG_WARN_INT_CONVERSION = YES;
312 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
313 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
314 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
315 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
316 | CLANG_WARN_STRICT_PROTOTYPES = YES;
317 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
318 | CLANG_WARN_SUSPICIOUS_MOVES = YES;
319 | CLANG_WARN_UNREACHABLE_CODE = YES;
320 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
321 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
322 | COPY_PHASE_STRIP = NO;
323 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
324 | ENABLE_NS_ASSERTIONS = NO;
325 | ENABLE_STRICT_OBJC_MSGSEND = YES;
326 | GCC_C_LANGUAGE_STANDARD = gnu99;
327 | GCC_NO_COMMON_BLOCKS = YES;
328 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
329 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
330 | GCC_WARN_UNDECLARED_SELECTOR = YES;
331 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
332 | GCC_WARN_UNUSED_FUNCTION = YES;
333 | GCC_WARN_UNUSED_VARIABLE = YES;
334 | IPHONEOS_DEPLOYMENT_TARGET = 10.1;
335 | MTL_ENABLE_DEBUG_INFO = NO;
336 | SDKROOT = iphoneos;
337 | VALIDATE_PRODUCT = YES;
338 | };
339 | name = Release;
340 | };
341 | /* End XCBuildConfiguration section */
342 |
343 | /* Begin XCConfigurationList section */
344 | 4067E9661FE6C04300B289D4 /* Build configuration list for PBXNativeTarget "DoreAppRate" */ = {
345 | isa = XCConfigurationList;
346 | buildConfigurations = (
347 | 4067E9671FE6C04300B289D4 /* Debug */,
348 | 4067E9681FE6C04300B289D4 /* Release */,
349 | );
350 | defaultConfigurationIsVisible = 0;
351 | defaultConfigurationName = Release;
352 | };
353 | 665E38091DEDA42C007CA9FA /* Build configuration list for PBXProject "DoreAppRate" */ = {
354 | isa = XCConfigurationList;
355 | buildConfigurations = (
356 | 665E38151DEDA42C007CA9FA /* Debug */,
357 | 665E38161DEDA42C007CA9FA /* Release */,
358 | );
359 | defaultConfigurationIsVisible = 0;
360 | defaultConfigurationName = Release;
361 | };
362 | /* End XCConfigurationList section */
363 | };
364 | rootObject = 665E38061DEDA42C007CA9FA /* Project object */;
365 | }
366 |
--------------------------------------------------------------------------------