@screeb/react-native 2.1.18 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -5
- package/{screeb-module.podspec → ScreebReactNative.podspec} +6 -4
- package/android/build.gradle +36 -86
- package/android/gradle.properties +5 -3
- package/android/src/main/AndroidManifest.xml +1 -3
- package/android/src/main/java/app/screeb/reactnative/ScreebReactNativeModule.kt +258 -0
- package/android/src/main/java/app/screeb/reactnative/ScreebReactNativePackage.kt +33 -0
- package/ios/ScreebReactNative.m +63 -0
- package/ios/{ScreebModule.swift → ScreebReactNative.swift} +116 -32
- package/lib/module/NativeScreebReactNative.js +10 -0
- package/lib/module/NativeScreebReactNative.js.map +1 -0
- package/lib/module/index.js +170 -88
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/NativeScreebReactNative.d.ts +49 -0
- package/lib/typescript/src/NativeScreebReactNative.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +25 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/package.json +153 -59
- package/src/NativeScreebReactNative.ts +81 -0
- package/src/index.tsx +251 -144
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/android/gradlew +0 -185
- package/android/gradlew.bat +0 -89
- package/android/src/main/java/com/screebmodule/ScreebModuleModule.kt +0 -186
- package/android/src/main/java/com/screebmodule/ScreebModulePackage.kt +0 -17
- package/ios/ScreebModule-Bridging-Header.h +0 -3
- package/ios/ScreebModule.m +0 -24
- package/ios/ScreebModule.xcodeproj/project.pbxproj +0 -293
- package/lib/commonjs/index.js +0 -130
- package/lib/typescript/index.d.ts +0 -13
package/android/gradlew.bat
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
@rem
|
|
2
|
-
@rem Copyright 2015 the original author or authors.
|
|
3
|
-
@rem
|
|
4
|
-
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
@rem you may not use this file except in compliance with the License.
|
|
6
|
-
@rem You may obtain a copy of the License at
|
|
7
|
-
@rem
|
|
8
|
-
@rem https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
@rem
|
|
10
|
-
@rem Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
@rem See the License for the specific language governing permissions and
|
|
14
|
-
@rem limitations under the License.
|
|
15
|
-
@rem
|
|
16
|
-
|
|
17
|
-
@if "%DEBUG%" == "" @echo off
|
|
18
|
-
@rem ##########################################################################
|
|
19
|
-
@rem
|
|
20
|
-
@rem Gradle startup script for Windows
|
|
21
|
-
@rem
|
|
22
|
-
@rem ##########################################################################
|
|
23
|
-
|
|
24
|
-
@rem Set local scope for the variables with windows NT shell
|
|
25
|
-
if "%OS%"=="Windows_NT" setlocal
|
|
26
|
-
|
|
27
|
-
set DIRNAME=%~dp0
|
|
28
|
-
if "%DIRNAME%" == "" set DIRNAME=.
|
|
29
|
-
set APP_BASE_NAME=%~n0
|
|
30
|
-
set APP_HOME=%DIRNAME%
|
|
31
|
-
|
|
32
|
-
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
|
33
|
-
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
|
34
|
-
|
|
35
|
-
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
36
|
-
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
|
37
|
-
|
|
38
|
-
@rem Find java.exe
|
|
39
|
-
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
40
|
-
|
|
41
|
-
set JAVA_EXE=java.exe
|
|
42
|
-
%JAVA_EXE% -version >NUL 2>&1
|
|
43
|
-
if "%ERRORLEVEL%" == "0" goto execute
|
|
44
|
-
|
|
45
|
-
echo.
|
|
46
|
-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
47
|
-
echo.
|
|
48
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
49
|
-
echo location of your Java installation.
|
|
50
|
-
|
|
51
|
-
goto fail
|
|
52
|
-
|
|
53
|
-
:findJavaFromJavaHome
|
|
54
|
-
set JAVA_HOME=%JAVA_HOME:"=%
|
|
55
|
-
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
56
|
-
|
|
57
|
-
if exist "%JAVA_EXE%" goto execute
|
|
58
|
-
|
|
59
|
-
echo.
|
|
60
|
-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
61
|
-
echo.
|
|
62
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
63
|
-
echo location of your Java installation.
|
|
64
|
-
|
|
65
|
-
goto fail
|
|
66
|
-
|
|
67
|
-
:execute
|
|
68
|
-
@rem Setup the command line
|
|
69
|
-
|
|
70
|
-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
@rem Execute Gradle
|
|
74
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
|
75
|
-
|
|
76
|
-
:end
|
|
77
|
-
@rem End local scope for the variables with windows NT shell
|
|
78
|
-
if "%ERRORLEVEL%"=="0" goto mainEnd
|
|
79
|
-
|
|
80
|
-
:fail
|
|
81
|
-
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
82
|
-
rem the _cmd.exe /c_ return code!
|
|
83
|
-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
|
84
|
-
exit /b 1
|
|
85
|
-
|
|
86
|
-
:mainEnd
|
|
87
|
-
if "%OS%"=="Windows_NT" endlocal
|
|
88
|
-
|
|
89
|
-
:omega
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
package com.screebmodule
|
|
2
|
-
|
|
3
|
-
import com.facebook.react.bridge.ReactApplicationContext
|
|
4
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule
|
|
5
|
-
import com.facebook.react.bridge.ReactMethod
|
|
6
|
-
import com.facebook.react.bridge.Promise
|
|
7
|
-
import com.facebook.react.bridge.ReadableMap
|
|
8
|
-
import com.facebook.react.bridge.ReadableArray
|
|
9
|
-
import com.facebook.react.bridge.WritableNativeMap
|
|
10
|
-
import com.facebook.react.bridge.Arguments
|
|
11
|
-
import com.facebook.react.modules.core.DeviceEventManagerModule
|
|
12
|
-
import java.util.HashMap
|
|
13
|
-
import androidx.annotation.NonNull
|
|
14
|
-
import android.content.Context
|
|
15
|
-
import android.util.Log
|
|
16
|
-
import app.screeb.sdk.InitOptions
|
|
17
|
-
import app.screeb.sdk.Screeb
|
|
18
|
-
import android.os.Handler
|
|
19
|
-
import android.os.Looper
|
|
20
|
-
|
|
21
|
-
class ScreebModuleModule(reactContext: ReactApplicationContext) :
|
|
22
|
-
ReactContextBaseJavaModule(reactContext) {
|
|
23
|
-
|
|
24
|
-
override fun getName(): String {
|
|
25
|
-
return "ScreebModule"
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@ReactMethod
|
|
29
|
-
fun initSdk(channelId: String, userId: String?, properties: ReadableMap?, hooks: ReadableMap?, initOptions: ReadableMap?, language: String?) {
|
|
30
|
-
Log.d("ScreebModule", "Called initSdk : $userId")
|
|
31
|
-
Screeb.setSecondarySDK("react-native", "2.1.18")
|
|
32
|
-
var mapHooks:HashMap<String, Any>? = null
|
|
33
|
-
if (hooks != null) {
|
|
34
|
-
mapHooks = hashMapOf<String, Any>()
|
|
35
|
-
val hooksKeys = hooks.keySetIterator()
|
|
36
|
-
while (hooksKeys.hasNextKey()) {
|
|
37
|
-
val key = hooksKeys.nextKey()
|
|
38
|
-
val value = hooks.getString(key)
|
|
39
|
-
if (key == "version"){
|
|
40
|
-
mapHooks[key] = value!!
|
|
41
|
-
} else {
|
|
42
|
-
mapHooks[key] = { payload:Any -> this.reactApplicationContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java).emit("ScreebEvent", Arguments.createMap().apply {
|
|
43
|
-
putString("hookId", value!!)
|
|
44
|
-
putString("payload", payload.toString())
|
|
45
|
-
}) }
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
Handler(Looper.getMainLooper()).post {
|
|
51
|
-
Screeb.pluginInit(channelId, userId, this.fromReadableMap(properties), mapHooks, language)
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@ReactMethod
|
|
56
|
-
fun setIdentity(userId: String, properties: ReadableMap?) {
|
|
57
|
-
Log.d("ScreebModule", "Called setIdentity : $userId")
|
|
58
|
-
Handler(Looper.getMainLooper()).post {
|
|
59
|
-
Screeb.setIdentity(userId, this.fromReadableMap(properties))
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@ReactMethod
|
|
64
|
-
fun setProperties(properties: ReadableMap?) {
|
|
65
|
-
if (properties == null) {
|
|
66
|
-
Log.d("ScreebModule", "Called setProperties with null properties")
|
|
67
|
-
return
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
Log.d("ScreebModule", "Called setProperties")
|
|
71
|
-
Handler(Looper.getMainLooper()).post {
|
|
72
|
-
Screeb.setVisitorProperties(this.fromReadableMap(properties)!!)
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@ReactMethod
|
|
77
|
-
fun assignGroup(type: String? = null, name: String, properties: ReadableMap? = null) {
|
|
78
|
-
Log.d("ScreebModule", "Called assignGroup : $name")
|
|
79
|
-
Handler(Looper.getMainLooper()).post {
|
|
80
|
-
Screeb.assignGroup(type, name, this.fromReadableMap(properties))
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@ReactMethod
|
|
85
|
-
fun unassignGroup(type: String? = null, name: String, properties: ReadableMap? = null) {
|
|
86
|
-
Log.d("ScreebModule", "Called unassignGroup : $name")
|
|
87
|
-
Handler(Looper.getMainLooper()).post {
|
|
88
|
-
Screeb.unassignGroup(type, name, this.fromReadableMap(properties))
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@ReactMethod
|
|
93
|
-
fun trackEvent(eventId: String, properties: ReadableMap?) {
|
|
94
|
-
Log.d("ScreebModule", "Called trackEvent : $eventId")
|
|
95
|
-
Handler(Looper.getMainLooper()).post {
|
|
96
|
-
Screeb.trackEvent(eventId, this.fromReadableMap(properties))
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@ReactMethod
|
|
101
|
-
fun trackScreen(screen: String, properties: ReadableMap?) {
|
|
102
|
-
Log.d("ScreebModule", "Called trackScreen : $screen")
|
|
103
|
-
Handler(Looper.getMainLooper()).post {
|
|
104
|
-
Screeb.trackScreen(screen, this.fromReadableMap(properties))
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@ReactMethod
|
|
109
|
-
fun startSurvey(surveyId: String, allowMultipleResponses: Boolean? = true, hiddenFields: ReadableMap? = null, ignoreSurveyStatus: Boolean? = true, hooks: ReadableMap? = null, language: String? = null) {
|
|
110
|
-
Log.e("ScreebModule", "Called startSurvey : $surveyId")
|
|
111
|
-
var mapHooks:HashMap<String, Any>? = null
|
|
112
|
-
if (hooks != null) {
|
|
113
|
-
mapHooks = hashMapOf<String, Any>()
|
|
114
|
-
val hooksKeys = hooks.keySetIterator()
|
|
115
|
-
while (hooksKeys.hasNextKey()) {
|
|
116
|
-
val key = hooksKeys.nextKey()
|
|
117
|
-
val value = hooks.getString(key)
|
|
118
|
-
if (key == "version"){
|
|
119
|
-
mapHooks[key] = value!!
|
|
120
|
-
} else {
|
|
121
|
-
mapHooks[key] = { payload:Any -> this.reactApplicationContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java).emit("ScreebEvent", Arguments.createMap().apply {
|
|
122
|
-
putString("hookId", value!!)
|
|
123
|
-
putString("payload", payload.toString())
|
|
124
|
-
}) }
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
Handler(Looper.getMainLooper()).post {
|
|
129
|
-
Screeb.startSurvey(surveyId, allowMultipleResponses ?: true, this.fromReadableMap(hiddenFields), ignoreSurveyStatus ?: true, mapHooks, language)
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
@ReactMethod
|
|
134
|
-
fun resetIdentity(){
|
|
135
|
-
Log.d("ScreebModule","Called resetIdentity")
|
|
136
|
-
Handler(Looper.getMainLooper()).post {
|
|
137
|
-
Screeb.resetIdentity()
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
@ReactMethod
|
|
142
|
-
fun closeSdk(){
|
|
143
|
-
Log.d("ScreebModule","Called closeSdk")
|
|
144
|
-
Handler(Looper.getMainLooper()).post {
|
|
145
|
-
Screeb.closeSdk()
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
@ReactMethod
|
|
150
|
-
fun closeSurvey(){
|
|
151
|
-
Log.d("ScreebModule","Called closeSurvey")
|
|
152
|
-
Handler(Looper.getMainLooper()).post {
|
|
153
|
-
Screeb.closeSurvey()
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
@ReactMethod
|
|
158
|
-
fun onHookResult(hookId: String, payload: ReadableMap?){
|
|
159
|
-
if (payload != null) {
|
|
160
|
-
val result = this.fromReadableMap(payload!!)!!["result"] as Any?
|
|
161
|
-
Screeb.onHookResult(hookId, result)
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
@ReactMethod
|
|
166
|
-
fun debug(){
|
|
167
|
-
Log.d("ScreebModule","Called debug")
|
|
168
|
-
Screeb.debug()
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
@ReactMethod
|
|
172
|
-
fun debugTargeting(){
|
|
173
|
-
Log.d("ScreebModule","Called debugTargeting")
|
|
174
|
-
Handler(Looper.getMainLooper()).post {
|
|
175
|
-
Screeb.debugTargeting()
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
private fun fromReadableMap(readableMap: ReadableMap?): HashMap<String, Any?>? {
|
|
180
|
-
if (readableMap == null) {
|
|
181
|
-
return null
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
return readableMap!!.toHashMap() as HashMap<String, Any?>?
|
|
185
|
-
}
|
|
186
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
package com.screebmodule
|
|
2
|
-
|
|
3
|
-
import com.facebook.react.ReactPackage
|
|
4
|
-
import com.facebook.react.bridge.NativeModule
|
|
5
|
-
import com.facebook.react.bridge.ReactApplicationContext
|
|
6
|
-
import com.facebook.react.uimanager.ViewManager
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class ScreebModulePackage : ReactPackage {
|
|
10
|
-
override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
|
|
11
|
-
return listOf(ScreebModuleModule(reactContext))
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
|
|
15
|
-
return emptyList()
|
|
16
|
-
}
|
|
17
|
-
}
|
package/ios/ScreebModule.m
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#import <React/RCTBridgeModule.h>
|
|
2
|
-
#import <React/RCTEventEmitter.h>
|
|
3
|
-
|
|
4
|
-
@interface RCT_EXTERN_MODULE(ScreebModule, RCTEventEmitter)
|
|
5
|
-
|
|
6
|
-
RCT_EXTERN_METHOD(initSdk:(NSString *)channelId userId:(NSString *)userId_ properties:(NSDictionary<NSString *, id> *)properties_ hooks:(NSDictionary<NSString *, id> *)hooks_ initOptions:(NSDictionary<NSString *, id> *)initOptions_ language:(NSString *)language_)
|
|
7
|
-
RCT_EXTERN_METHOD(setIdentity:(NSString *)userId properties:(NSDictionary<NSString *, id> *)properties_)
|
|
8
|
-
RCT_EXTERN_METHOD(setProperties:(NSDictionary<NSString *, id> *)properties)
|
|
9
|
-
RCT_EXTERN_METHOD(assignGroup:(NSString *)type name:(NSString *)name_ properties:(NSDictionary<NSString *, id> *)properties_)
|
|
10
|
-
RCT_EXTERN_METHOD(unassignGroup:(NSString *)type name:(NSString *)name_ properties:(NSDictionary<NSString *, id> *)properties_)
|
|
11
|
-
RCT_EXTERN_METHOD(trackEvent:(NSString *)eventId properties:(NSDictionary<NSString *, id> *)properties_)
|
|
12
|
-
RCT_EXTERN_METHOD(trackScreen:(NSString *)screen properties:(NSDictionary<NSString *, id> *)properties_)
|
|
13
|
-
RCT_EXTERN_METHOD(startSurvey:(NSString *)surveyId allowMultipleResponses:(BOOL)allowMultipleResponses_ hiddenFields:(NSDictionary<NSString *, id> *)hiddenFields_ ignoreSurveyStatus:(BOOL)ignoreSurveyStatus_ hooks:(NSDictionary<NSString *, id> *)hooks_ language:(NSString *)language_)
|
|
14
|
-
RCT_EXTERN_METHOD(onHookResult:(NSString *)hookId payload:(NSDictionary<NSString *, id> *)payload_)
|
|
15
|
-
RCT_EXTERN_METHOD(debug)
|
|
16
|
-
RCT_EXTERN_METHOD(debugTargeting)
|
|
17
|
-
RCT_EXTERN_METHOD(closeSdk)
|
|
18
|
-
RCT_EXTERN_METHOD(closeSurvey)
|
|
19
|
-
RCT_EXTERN_METHOD(resetIdentity)
|
|
20
|
-
+ (BOOL)requiresMainQueueSetup
|
|
21
|
-
{
|
|
22
|
-
return YES;
|
|
23
|
-
}
|
|
24
|
-
@end
|
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
// !$*UTF8*$!
|
|
2
|
-
{
|
|
3
|
-
archiveVersion = 1;
|
|
4
|
-
classes = {
|
|
5
|
-
};
|
|
6
|
-
objectVersion = 46;
|
|
7
|
-
objects = {
|
|
8
|
-
|
|
9
|
-
/* Begin PBXBuildFile section */
|
|
10
|
-
|
|
11
|
-
5E555C0D2413F4C50049A1A2 /* ScreebModule.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* ScreebModule.m */; };
|
|
12
|
-
F4FF95D7245B92E800C19C63 /* ScreebModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4FF95D6245B92E800C19C63 /* ScreebModule.swift */; };
|
|
13
|
-
|
|
14
|
-
/* End PBXBuildFile section */
|
|
15
|
-
|
|
16
|
-
/* Begin PBXCopyFilesBuildPhase section */
|
|
17
|
-
58B511D91A9E6C8500147676 /* CopyFiles */ = {
|
|
18
|
-
isa = PBXCopyFilesBuildPhase;
|
|
19
|
-
buildActionMask = 2147483647;
|
|
20
|
-
dstPath = "include/$(PRODUCT_NAME)";
|
|
21
|
-
dstSubfolderSpec = 16;
|
|
22
|
-
files = (
|
|
23
|
-
);
|
|
24
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
25
|
-
};
|
|
26
|
-
/* End PBXCopyFilesBuildPhase section */
|
|
27
|
-
|
|
28
|
-
/* Begin PBXFileReference section */
|
|
29
|
-
134814201AA4EA6300B7C361 /* libScreebModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libScreebModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
30
|
-
|
|
31
|
-
B3E7B5891CC2AC0600A0062D /* ScreebModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ScreebModule.m; sourceTree = "<group>"; };
|
|
32
|
-
F4FF95D5245B92E700C19C63 /* ScreebModule-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ScreebModule-Bridging-Header.h"; sourceTree = "<group>"; };
|
|
33
|
-
F4FF95D6245B92E800C19C63 /* ScreebModule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScreebModule.swift; sourceTree = "<group>"; };
|
|
34
|
-
|
|
35
|
-
/* End PBXFileReference section */
|
|
36
|
-
|
|
37
|
-
/* Begin PBXFrameworksBuildPhase section */
|
|
38
|
-
58B511D81A9E6C8500147676 /* Frameworks */ = {
|
|
39
|
-
isa = PBXFrameworksBuildPhase;
|
|
40
|
-
buildActionMask = 2147483647;
|
|
41
|
-
files = (
|
|
42
|
-
);
|
|
43
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
44
|
-
};
|
|
45
|
-
/* End PBXFrameworksBuildPhase section */
|
|
46
|
-
|
|
47
|
-
/* Begin PBXGroup section */
|
|
48
|
-
134814211AA4EA7D00B7C361 /* Products */ = {
|
|
49
|
-
isa = PBXGroup;
|
|
50
|
-
children = (
|
|
51
|
-
134814201AA4EA6300B7C361 /* libScreebModule.a */,
|
|
52
|
-
);
|
|
53
|
-
name = Products;
|
|
54
|
-
sourceTree = "<group>";
|
|
55
|
-
};
|
|
56
|
-
58B511D21A9E6C8500147676 = {
|
|
57
|
-
isa = PBXGroup;
|
|
58
|
-
children = (
|
|
59
|
-
|
|
60
|
-
F4FF95D6245B92E800C19C63 /* ScreebModule.swift */,
|
|
61
|
-
B3E7B5891CC2AC0600A0062D /* ScreebModule.m */,
|
|
62
|
-
F4FF95D5245B92E700C19C63 /* ScreebModule-Bridging-Header.h */,
|
|
63
|
-
|
|
64
|
-
134814211AA4EA7D00B7C361 /* Products */,
|
|
65
|
-
);
|
|
66
|
-
sourceTree = "<group>";
|
|
67
|
-
};
|
|
68
|
-
/* End PBXGroup section */
|
|
69
|
-
|
|
70
|
-
/* Begin PBXNativeTarget section */
|
|
71
|
-
58B511DA1A9E6C8500147676 /* ScreebModule */ = {
|
|
72
|
-
isa = PBXNativeTarget;
|
|
73
|
-
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "ScreebModule" */;
|
|
74
|
-
buildPhases = (
|
|
75
|
-
58B511D71A9E6C8500147676 /* Sources */,
|
|
76
|
-
58B511D81A9E6C8500147676 /* Frameworks */,
|
|
77
|
-
58B511D91A9E6C8500147676 /* CopyFiles */,
|
|
78
|
-
);
|
|
79
|
-
buildRules = (
|
|
80
|
-
);
|
|
81
|
-
dependencies = (
|
|
82
|
-
);
|
|
83
|
-
name = ScreebModule;
|
|
84
|
-
productName = RCTDataManager;
|
|
85
|
-
productReference = 134814201AA4EA6300B7C361 /* libScreebModule.a */;
|
|
86
|
-
productType = "com.apple.product-type.library.static";
|
|
87
|
-
};
|
|
88
|
-
/* End PBXNativeTarget section */
|
|
89
|
-
|
|
90
|
-
/* Begin PBXProject section */
|
|
91
|
-
58B511D31A9E6C8500147676 /* Project object */ = {
|
|
92
|
-
isa = PBXProject;
|
|
93
|
-
attributes = {
|
|
94
|
-
LastUpgradeCheck = 0920;
|
|
95
|
-
ORGANIZATIONNAME = Facebook;
|
|
96
|
-
TargetAttributes = {
|
|
97
|
-
58B511DA1A9E6C8500147676 = {
|
|
98
|
-
CreatedOnToolsVersion = 6.1.1;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "ScreebModule" */;
|
|
103
|
-
compatibilityVersion = "Xcode 3.2";
|
|
104
|
-
developmentRegion = English;
|
|
105
|
-
hasScannedForEncodings = 0;
|
|
106
|
-
knownRegions = (
|
|
107
|
-
English,
|
|
108
|
-
en,
|
|
109
|
-
);
|
|
110
|
-
mainGroup = 58B511D21A9E6C8500147676;
|
|
111
|
-
productRefGroup = 58B511D21A9E6C8500147676;
|
|
112
|
-
projectDirPath = "";
|
|
113
|
-
projectRoot = "";
|
|
114
|
-
targets = (
|
|
115
|
-
58B511DA1A9E6C8500147676 /* ScreebModule */,
|
|
116
|
-
);
|
|
117
|
-
};
|
|
118
|
-
/* End PBXProject section */
|
|
119
|
-
|
|
120
|
-
/* Begin PBXSourcesBuildPhase section */
|
|
121
|
-
58B511D71A9E6C8500147676 /* Sources */ = {
|
|
122
|
-
isa = PBXSourcesBuildPhase;
|
|
123
|
-
buildActionMask = 2147483647;
|
|
124
|
-
files = (
|
|
125
|
-
|
|
126
|
-
F4FF95D7245B92E800C19C63 /* ScreebModule.swift in Sources */,
|
|
127
|
-
B3E7B58A1CC2AC0600A0062D /* ScreebModule.m in Sources */,
|
|
128
|
-
|
|
129
|
-
);
|
|
130
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
131
|
-
};
|
|
132
|
-
/* End PBXSourcesBuildPhase section */
|
|
133
|
-
|
|
134
|
-
/* Begin XCBuildConfiguration section */
|
|
135
|
-
58B511ED1A9E6C8500147676 /* Debug */ = {
|
|
136
|
-
isa = XCBuildConfiguration;
|
|
137
|
-
buildSettings = {
|
|
138
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
139
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
140
|
-
CLANG_CXX_LIBRARY = "libc++";
|
|
141
|
-
CLANG_ENABLE_MODULES = YES;
|
|
142
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
|
143
|
-
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
144
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
145
|
-
CLANG_WARN_COMMA = YES;
|
|
146
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
147
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
148
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
|
149
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
150
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
151
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
|
152
|
-
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
153
|
-
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
154
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
155
|
-
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
156
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
157
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
158
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
159
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
160
|
-
COPY_PHASE_STRIP = NO;
|
|
161
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
162
|
-
ENABLE_TESTABILITY = YES;
|
|
163
|
-
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
164
|
-
GCC_DYNAMIC_NO_PIC = NO;
|
|
165
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
|
166
|
-
GCC_OPTIMIZATION_LEVEL = 0;
|
|
167
|
-
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
168
|
-
"DEBUG=1",
|
|
169
|
-
"$(inherited)",
|
|
170
|
-
);
|
|
171
|
-
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
172
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
173
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
174
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
175
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
176
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
177
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
178
|
-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
179
|
-
MTL_ENABLE_DEBUG_INFO = YES;
|
|
180
|
-
ONLY_ACTIVE_ARCH = YES;
|
|
181
|
-
SDKROOT = iphoneos;
|
|
182
|
-
};
|
|
183
|
-
name = Debug;
|
|
184
|
-
};
|
|
185
|
-
58B511EE1A9E6C8500147676 /* Release */ = {
|
|
186
|
-
isa = XCBuildConfiguration;
|
|
187
|
-
buildSettings = {
|
|
188
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
189
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
190
|
-
CLANG_CXX_LIBRARY = "libc++";
|
|
191
|
-
CLANG_ENABLE_MODULES = YES;
|
|
192
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
|
193
|
-
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
194
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
195
|
-
CLANG_WARN_COMMA = YES;
|
|
196
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
197
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
198
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
|
199
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
200
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
201
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
|
202
|
-
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
203
|
-
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
204
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
205
|
-
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
206
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
207
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
208
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
209
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
210
|
-
COPY_PHASE_STRIP = YES;
|
|
211
|
-
ENABLE_NS_ASSERTIONS = NO;
|
|
212
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
213
|
-
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
214
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
|
215
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
216
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
217
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
218
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
219
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
220
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
221
|
-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
222
|
-
MTL_ENABLE_DEBUG_INFO = NO;
|
|
223
|
-
SDKROOT = iphoneos;
|
|
224
|
-
VALIDATE_PRODUCT = YES;
|
|
225
|
-
};
|
|
226
|
-
name = Release;
|
|
227
|
-
};
|
|
228
|
-
58B511F01A9E6C8500147676 /* Debug */ = {
|
|
229
|
-
isa = XCBuildConfiguration;
|
|
230
|
-
buildSettings = {
|
|
231
|
-
HEADER_SEARCH_PATHS = (
|
|
232
|
-
"$(inherited)",
|
|
233
|
-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
234
|
-
"$(SRCROOT)/../../../React/**",
|
|
235
|
-
"$(SRCROOT)/../../react-native/React/**",
|
|
236
|
-
);
|
|
237
|
-
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
238
|
-
OTHER_LDFLAGS = "-ObjC";
|
|
239
|
-
PRODUCT_NAME = ScreebModule;
|
|
240
|
-
SKIP_INSTALL = YES;
|
|
241
|
-
|
|
242
|
-
SWIFT_OBJC_BRIDGING_HEADER = "ScreebModule-Bridging-Header.h";
|
|
243
|
-
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
244
|
-
SWIFT_VERSION = 5.0;
|
|
245
|
-
|
|
246
|
-
};
|
|
247
|
-
name = Debug;
|
|
248
|
-
};
|
|
249
|
-
58B511F11A9E6C8500147676 /* Release */ = {
|
|
250
|
-
isa = XCBuildConfiguration;
|
|
251
|
-
buildSettings = {
|
|
252
|
-
HEADER_SEARCH_PATHS = (
|
|
253
|
-
"$(inherited)",
|
|
254
|
-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
255
|
-
"$(SRCROOT)/../../../React/**",
|
|
256
|
-
"$(SRCROOT)/../../react-native/React/**",
|
|
257
|
-
);
|
|
258
|
-
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
259
|
-
OTHER_LDFLAGS = "-ObjC";
|
|
260
|
-
PRODUCT_NAME = ScreebModule;
|
|
261
|
-
SKIP_INSTALL = YES;
|
|
262
|
-
|
|
263
|
-
SWIFT_OBJC_BRIDGING_HEADER = "ScreebModule-Bridging-Header.h";
|
|
264
|
-
SWIFT_VERSION = 5.0;
|
|
265
|
-
|
|
266
|
-
};
|
|
267
|
-
name = Release;
|
|
268
|
-
};
|
|
269
|
-
/* End XCBuildConfiguration section */
|
|
270
|
-
|
|
271
|
-
/* Begin XCConfigurationList section */
|
|
272
|
-
58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "ScreebModule" */ = {
|
|
273
|
-
isa = XCConfigurationList;
|
|
274
|
-
buildConfigurations = (
|
|
275
|
-
58B511ED1A9E6C8500147676 /* Debug */,
|
|
276
|
-
58B511EE1A9E6C8500147676 /* Release */,
|
|
277
|
-
);
|
|
278
|
-
defaultConfigurationIsVisible = 0;
|
|
279
|
-
defaultConfigurationName = Release;
|
|
280
|
-
};
|
|
281
|
-
58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "ScreebModule" */ = {
|
|
282
|
-
isa = XCConfigurationList;
|
|
283
|
-
buildConfigurations = (
|
|
284
|
-
58B511F01A9E6C8500147676 /* Debug */,
|
|
285
|
-
58B511F11A9E6C8500147676 /* Release */,
|
|
286
|
-
);
|
|
287
|
-
defaultConfigurationIsVisible = 0;
|
|
288
|
-
defaultConfigurationName = Release;
|
|
289
|
-
};
|
|
290
|
-
/* End XCConfigurationList section */
|
|
291
|
-
};
|
|
292
|
-
rootObject = 58B511D31A9E6C8500147676 /* Project object */;
|
|
293
|
-
}
|