@jwplayer/jwplayer-react-native 1.0.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.
Files changed (61) hide show
  1. package/.github/CODEOWNERS +2 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. package/.github/ISSUE_TEMPLATE/question.md +11 -0
  5. package/.github/PULL_REQUEST_TEMPLATE.md +15 -0
  6. package/CODE_OF_CONDUCT.md +128 -0
  7. package/LICENSE +21 -0
  8. package/README.md +425 -0
  9. package/RNJWPlayer.podspec +44 -0
  10. package/android/.gradle/8.1.1/checksums/checksums.lock +0 -0
  11. package/android/.gradle/8.1.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  12. package/android/.gradle/8.1.1/dependencies-accessors/gc.properties +0 -0
  13. package/android/.gradle/8.1.1/fileChanges/last-build.bin +0 -0
  14. package/android/.gradle/8.1.1/fileHashes/fileHashes.lock +0 -0
  15. package/android/.gradle/8.1.1/gc.properties +0 -0
  16. package/android/.gradle/8.2/checksums/checksums.lock +0 -0
  17. package/android/.gradle/8.2/dependencies-accessors/dependencies-accessors.lock +0 -0
  18. package/android/.gradle/8.2/dependencies-accessors/gc.properties +0 -0
  19. package/android/.gradle/8.2/fileChanges/last-build.bin +0 -0
  20. package/android/.gradle/8.2/fileHashes/fileHashes.lock +0 -0
  21. package/android/.gradle/8.2/gc.properties +0 -0
  22. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  23. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  24. package/android/.gradle/config.properties +2 -0
  25. package/android/.gradle/vcs-1/gc.properties +0 -0
  26. package/android/.idea/gradle.xml +12 -0
  27. package/android/.idea/migrations.xml +10 -0
  28. package/android/.idea/misc.xml +10 -0
  29. package/android/.idea/vcs.xml +6 -0
  30. package/android/.idea/workspace.xml +54 -0
  31. package/android/build.gradle +110 -0
  32. package/android/local.properties +8 -0
  33. package/android/src/main/AndroidManifest.xml +25 -0
  34. package/android/src/main/java/com/jwplayer/rnjwplayer/ArrayUtil.java +129 -0
  35. package/android/src/main/java/com/jwplayer/rnjwplayer/CastOptionsProvider.java +55 -0
  36. package/android/src/main/java/com/jwplayer/rnjwplayer/MapUtil.java +136 -0
  37. package/android/src/main/java/com/jwplayer/rnjwplayer/RNJWPlayer.java +76 -0
  38. package/android/src/main/java/com/jwplayer/rnjwplayer/RNJWPlayerAds.java +239 -0
  39. package/android/src/main/java/com/jwplayer/rnjwplayer/RNJWPlayerModule.java +526 -0
  40. package/android/src/main/java/com/jwplayer/rnjwplayer/RNJWPlayerPackage.java +30 -0
  41. package/android/src/main/java/com/jwplayer/rnjwplayer/RNJWPlayerView.java +1499 -0
  42. package/android/src/main/java/com/jwplayer/rnjwplayer/RNJWPlayerViewManager.java +171 -0
  43. package/android/src/main/java/com/jwplayer/rnjwplayer/Util.java +219 -0
  44. package/android/src/main/java/com/jwplayer/rnjwplayer/WidevineCallback.java +62 -0
  45. package/badges/license.svg +1 -0
  46. package/badges/version.svg +1 -0
  47. package/docs/legacy_readme.md +634 -0
  48. package/docs/props.md +43 -0
  49. package/docs/types.md +254 -0
  50. package/index.d.ts +564 -0
  51. package/index.js +699 -0
  52. package/ios/RNJWPlayer/RCTConvert+RNJWPlayer.swift +119 -0
  53. package/ios/RNJWPlayer/RNJWPlayer-Bridging-Header.h +5 -0
  54. package/ios/RNJWPlayer/RNJWPlayerAds.swift +260 -0
  55. package/ios/RNJWPlayer/RNJWPlayerModels.swift +149 -0
  56. package/ios/RNJWPlayer/RNJWPlayerView.swift +1837 -0
  57. package/ios/RNJWPlayer/RNJWPlayerViewController.swift +616 -0
  58. package/ios/RNJWPlayer/RNJWPlayerViewManager.m +132 -0
  59. package/ios/RNJWPlayer/RNJWPlayerViewManager.swift +500 -0
  60. package/ios/RNJWPlayer.xcodeproj/project.pbxproj +323 -0
  61. package/package.json +45 -0
@@ -0,0 +1,323 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 2A9166FF21064ECE00152DD3 /* JWPlayer_iOS_SDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2A9166FD21064DE100152DD3 /* JWPlayer_iOS_SDK.framework */; };
11
+ 2AA52BE726C144B200AD26AE /* RNJWPlayerViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 2AA52BE226C144B200AD26AE /* RNJWPlayerViewManager.m */; };
12
+ 3BC75FCC1E43B1DB0011FBAA /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BC75FCB1E43B1DB0011FBAA /* UIKit.framework */; };
13
+ 3BC75FD11E43B3090011FBAA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BC75FD01E43B3090011FBAA /* Foundation.framework */; };
14
+ 860F49FA2B38AD1D00D0FCC4 /* RNJWPlayerAds.swift in Sources */ = {isa = PBXBuildFile; fileRef = 860F49F92B38AD1D00D0FCC4 /* RNJWPlayerAds.swift */; };
15
+ 86182A312B2AFA170040739A /* RNJWPlayerModels.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86182A302B2AFA170040739A /* RNJWPlayerModels.swift */; };
16
+ 8650D60D2B1CD21000DD1C7E /* RNJWPlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8650D60C2B1CD21000DD1C7E /* RNJWPlayerView.swift */; };
17
+ 8650D61E2B1D1E1E00DD1C7E /* RNJWPlayerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8650D6192B1D1E1E00DD1C7E /* RNJWPlayerViewController.swift */; };
18
+ 8650D61F2B1D1E1E00DD1C7E /* RCTConvert+RNJWPlayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8650D61A2B1D1E1E00DD1C7E /* RCTConvert+RNJWPlayer.swift */; };
19
+ 8650D6202B1D1E1E00DD1C7E /* RNJWPlayerViewManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8650D61B2B1D1E1E00DD1C7E /* RNJWPlayerViewManager.swift */; };
20
+ /* End PBXBuildFile section */
21
+
22
+ /* Begin PBXCopyFilesBuildPhase section */
23
+ 58B511D91A9E6C8500147676 /* CopyFiles */ = {
24
+ isa = PBXCopyFilesBuildPhase;
25
+ buildActionMask = 2147483647;
26
+ dstPath = "include/$(PRODUCT_NAME)";
27
+ dstSubfolderSpec = 16;
28
+ files = (
29
+ );
30
+ runOnlyForDeploymentPostprocessing = 0;
31
+ };
32
+ /* End PBXCopyFilesBuildPhase section */
33
+
34
+ /* Begin PBXFileReference section */
35
+ 134814201AA4EA6300B7C361 /* libRNJWPlayer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNJWPlayer.a; sourceTree = BUILT_PRODUCTS_DIR; };
36
+ 2A9166FD21064DE100152DD3 /* JWPlayer_iOS_SDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JWPlayer_iOS_SDK.framework; path = "../../../ios/Pods/JWPlayer-SDK/JWPlayer_iOS_SDK.framework"; sourceTree = "<group>"; };
37
+ 2AA52BE226C144B200AD26AE /* RNJWPlayerViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RNJWPlayerViewManager.m; path = RNJWPlayer/RNJWPlayerViewManager.m; sourceTree = "<group>"; };
38
+ 3BC75FCB1E43B1DB0011FBAA /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
39
+ 3BC75FD01E43B3090011FBAA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
40
+ 860F49F92B38AD1D00D0FCC4 /* RNJWPlayerAds.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = RNJWPlayerAds.swift; path = RNJWPlayer/RNJWPlayerAds.swift; sourceTree = "<group>"; };
41
+ 86182A302B2AFA170040739A /* RNJWPlayerModels.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = RNJWPlayerModels.swift; path = RNJWPlayer/RNJWPlayerModels.swift; sourceTree = "<group>"; };
42
+ 86182A322B2AFA660040739A /* RNJWPlayer-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "RNJWPlayer-Bridging-Header.h"; path = "RNJWPlayer/RNJWPlayer-Bridging-Header.h"; sourceTree = "<group>"; };
43
+ 8650D60C2B1CD21000DD1C7E /* RNJWPlayerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = RNJWPlayerView.swift; path = RNJWPlayer/RNJWPlayerView.swift; sourceTree = "<group>"; };
44
+ 8650D6192B1D1E1E00DD1C7E /* RNJWPlayerViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = RNJWPlayerViewController.swift; path = RNJWPlayer/RNJWPlayerViewController.swift; sourceTree = "<group>"; };
45
+ 8650D61A2B1D1E1E00DD1C7E /* RCTConvert+RNJWPlayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "RCTConvert+RNJWPlayer.swift"; path = "RNJWPlayer/RCTConvert+RNJWPlayer.swift"; sourceTree = "<group>"; };
46
+ 8650D61B2B1D1E1E00DD1C7E /* RNJWPlayerViewManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = RNJWPlayerViewManager.swift; path = RNJWPlayer/RNJWPlayerViewManager.swift; sourceTree = "<group>"; };
47
+ /* End PBXFileReference section */
48
+
49
+ /* Begin PBXFrameworksBuildPhase section */
50
+ 58B511D81A9E6C8500147676 /* Frameworks */ = {
51
+ isa = PBXFrameworksBuildPhase;
52
+ buildActionMask = 2147483647;
53
+ files = (
54
+ 3BC75FD11E43B3090011FBAA /* Foundation.framework in Frameworks */,
55
+ 3BC75FCC1E43B1DB0011FBAA /* UIKit.framework in Frameworks */,
56
+ 2A9166FF21064ECE00152DD3 /* JWPlayer_iOS_SDK.framework in Frameworks */,
57
+ );
58
+ runOnlyForDeploymentPostprocessing = 0;
59
+ };
60
+ /* End PBXFrameworksBuildPhase section */
61
+
62
+ /* Begin PBXGroup section */
63
+ 134814211AA4EA7D00B7C361 /* Products */ = {
64
+ isa = PBXGroup;
65
+ children = (
66
+ 134814201AA4EA6300B7C361 /* libRNJWPlayer.a */,
67
+ );
68
+ name = Products;
69
+ sourceTree = "<group>";
70
+ };
71
+ 3BC75FCA1E43B1DB0011FBAA /* Frameworks */ = {
72
+ isa = PBXGroup;
73
+ children = (
74
+ 2A9166FD21064DE100152DD3 /* JWPlayer_iOS_SDK.framework */,
75
+ 3BC75FD01E43B3090011FBAA /* Foundation.framework */,
76
+ 3BC75FCB1E43B1DB0011FBAA /* UIKit.framework */,
77
+ );
78
+ name = Frameworks;
79
+ sourceTree = "<group>";
80
+ };
81
+ 58B511D21A9E6C8500147676 = {
82
+ isa = PBXGroup;
83
+ children = (
84
+ 860F49F92B38AD1D00D0FCC4 /* RNJWPlayerAds.swift */,
85
+ 86182A322B2AFA660040739A /* RNJWPlayer-Bridging-Header.h */,
86
+ 2AA52BE226C144B200AD26AE /* RNJWPlayerViewManager.m */,
87
+ 8650D61B2B1D1E1E00DD1C7E /* RNJWPlayerViewManager.swift */,
88
+ 86182A302B2AFA170040739A /* RNJWPlayerModels.swift */,
89
+ 8650D60C2B1CD21000DD1C7E /* RNJWPlayerView.swift */,
90
+ 8650D6192B1D1E1E00DD1C7E /* RNJWPlayerViewController.swift */,
91
+ 8650D61A2B1D1E1E00DD1C7E /* RCTConvert+RNJWPlayer.swift */,
92
+ 134814211AA4EA7D00B7C361 /* Products */,
93
+ 3BC75FCA1E43B1DB0011FBAA /* Frameworks */,
94
+ );
95
+ sourceTree = "<group>";
96
+ };
97
+ /* End PBXGroup section */
98
+
99
+ /* Begin PBXNativeTarget section */
100
+ 58B511DA1A9E6C8500147676 /* RNJWPlayer */ = {
101
+ isa = PBXNativeTarget;
102
+ buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNJWPlayer" */;
103
+ buildPhases = (
104
+ 58B511D71A9E6C8500147676 /* Sources */,
105
+ 58B511D81A9E6C8500147676 /* Frameworks */,
106
+ 58B511D91A9E6C8500147676 /* CopyFiles */,
107
+ );
108
+ buildRules = (
109
+ );
110
+ dependencies = (
111
+ );
112
+ name = RNJWPlayer;
113
+ productName = RCTDataManager;
114
+ productReference = 134814201AA4EA6300B7C361 /* libRNJWPlayer.a */;
115
+ productType = "com.apple.product-type.library.static";
116
+ };
117
+ /* End PBXNativeTarget section */
118
+
119
+ /* Begin PBXProject section */
120
+ 58B511D31A9E6C8500147676 /* Project object */ = {
121
+ isa = PBXProject;
122
+ attributes = {
123
+ LastUpgradeCheck = 0610;
124
+ ORGANIZATIONNAME = Facebook;
125
+ TargetAttributes = {
126
+ 58B511DA1A9E6C8500147676 = {
127
+ CreatedOnToolsVersion = 6.1.1;
128
+ LastSwiftMigration = 1410;
129
+ };
130
+ };
131
+ };
132
+ buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNJWPlayer" */;
133
+ compatibilityVersion = "Xcode 3.2";
134
+ developmentRegion = English;
135
+ hasScannedForEncodings = 0;
136
+ knownRegions = (
137
+ English,
138
+ en,
139
+ );
140
+ mainGroup = 58B511D21A9E6C8500147676;
141
+ productRefGroup = 58B511D21A9E6C8500147676;
142
+ projectDirPath = "";
143
+ projectRoot = "";
144
+ targets = (
145
+ 58B511DA1A9E6C8500147676 /* RNJWPlayer */,
146
+ );
147
+ };
148
+ /* End PBXProject section */
149
+
150
+ /* Begin PBXSourcesBuildPhase section */
151
+ 58B511D71A9E6C8500147676 /* Sources */ = {
152
+ isa = PBXSourcesBuildPhase;
153
+ buildActionMask = 2147483647;
154
+ files = (
155
+ 8650D6202B1D1E1E00DD1C7E /* RNJWPlayerViewManager.swift in Sources */,
156
+ 8650D61F2B1D1E1E00DD1C7E /* RCTConvert+RNJWPlayer.swift in Sources */,
157
+ 8650D61E2B1D1E1E00DD1C7E /* RNJWPlayerViewController.swift in Sources */,
158
+ 8650D60D2B1CD21000DD1C7E /* RNJWPlayerView.swift in Sources */,
159
+ 2AA52BE726C144B200AD26AE /* RNJWPlayerViewManager.m in Sources */,
160
+ 860F49FA2B38AD1D00D0FCC4 /* RNJWPlayerAds.swift in Sources */,
161
+ 86182A312B2AFA170040739A /* RNJWPlayerModels.swift in Sources */,
162
+ );
163
+ runOnlyForDeploymentPostprocessing = 0;
164
+ };
165
+ /* End PBXSourcesBuildPhase section */
166
+
167
+ /* Begin XCBuildConfiguration section */
168
+ 58B511ED1A9E6C8500147676 /* Debug */ = {
169
+ isa = XCBuildConfiguration;
170
+ buildSettings = {
171
+ ALWAYS_SEARCH_USER_PATHS = NO;
172
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
173
+ CLANG_CXX_LIBRARY = "libc++";
174
+ CLANG_ENABLE_MODULES = YES;
175
+ CLANG_ENABLE_OBJC_ARC = YES;
176
+ CLANG_WARN_BOOL_CONVERSION = YES;
177
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
178
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
179
+ CLANG_WARN_EMPTY_BODY = YES;
180
+ CLANG_WARN_ENUM_CONVERSION = YES;
181
+ CLANG_WARN_INT_CONVERSION = YES;
182
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
183
+ CLANG_WARN_UNREACHABLE_CODE = YES;
184
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
185
+ COPY_PHASE_STRIP = NO;
186
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
187
+ GCC_C_LANGUAGE_STANDARD = gnu99;
188
+ GCC_DYNAMIC_NO_PIC = NO;
189
+ GCC_OPTIMIZATION_LEVEL = 0;
190
+ GCC_PREPROCESSOR_DEFINITIONS = (
191
+ "DEBUG=1",
192
+ "$(inherited)",
193
+ );
194
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
195
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
196
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
197
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
198
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
199
+ GCC_WARN_UNUSED_FUNCTION = YES;
200
+ GCC_WARN_UNUSED_VARIABLE = YES;
201
+ IPHONEOS_DEPLOYMENT_TARGET = 7.0;
202
+ MTL_ENABLE_DEBUG_INFO = YES;
203
+ ONLY_ACTIVE_ARCH = YES;
204
+ SDKROOT = iphoneos;
205
+ };
206
+ name = Debug;
207
+ };
208
+ 58B511EE1A9E6C8500147676 /* Release */ = {
209
+ isa = XCBuildConfiguration;
210
+ buildSettings = {
211
+ ALWAYS_SEARCH_USER_PATHS = NO;
212
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
213
+ CLANG_CXX_LIBRARY = "libc++";
214
+ CLANG_ENABLE_MODULES = YES;
215
+ CLANG_ENABLE_OBJC_ARC = YES;
216
+ CLANG_WARN_BOOL_CONVERSION = YES;
217
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
218
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
219
+ CLANG_WARN_EMPTY_BODY = YES;
220
+ CLANG_WARN_ENUM_CONVERSION = YES;
221
+ CLANG_WARN_INT_CONVERSION = YES;
222
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
223
+ CLANG_WARN_UNREACHABLE_CODE = YES;
224
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
225
+ COPY_PHASE_STRIP = YES;
226
+ ENABLE_NS_ASSERTIONS = NO;
227
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
228
+ GCC_C_LANGUAGE_STANDARD = gnu99;
229
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
230
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
231
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
232
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
233
+ GCC_WARN_UNUSED_FUNCTION = YES;
234
+ GCC_WARN_UNUSED_VARIABLE = YES;
235
+ IPHONEOS_DEPLOYMENT_TARGET = 7.0;
236
+ MTL_ENABLE_DEBUG_INFO = NO;
237
+ SDKROOT = iphoneos;
238
+ VALIDATE_PRODUCT = YES;
239
+ };
240
+ name = Release;
241
+ };
242
+ 58B511F01A9E6C8500147676 /* Debug */ = {
243
+ isa = XCBuildConfiguration;
244
+ buildSettings = {
245
+ CLANG_ENABLE_MODULES = YES;
246
+ FRAMEWORK_SEARCH_PATHS = (
247
+ "$(inherited)",
248
+ "$(SRCROOT)/../../../ios/**",
249
+ "~/Documents/JWPlayer-SDK",
250
+ );
251
+ HEADER_SEARCH_PATHS = (
252
+ "$(inherited)",
253
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
254
+ "$(SRCROOT)/../../react-native/React/**",
255
+ "$(SRCROOT)/../../react-native/React",
256
+ );
257
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
258
+ LIBRARY_SEARCH_PATHS = "";
259
+ OTHER_LDFLAGS = (
260
+ "-ObjC",
261
+ "-all_load",
262
+ );
263
+ PRODUCT_NAME = RNJWPlayer;
264
+ SKIP_INSTALL = YES;
265
+ SWIFT_OBJC_BRIDGING_HEADER = "RNJWPlayer-Bridging-Header.h";
266
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
267
+ SWIFT_VERSION = 5.0;
268
+ };
269
+ name = Debug;
270
+ };
271
+ 58B511F11A9E6C8500147676 /* Release */ = {
272
+ isa = XCBuildConfiguration;
273
+ buildSettings = {
274
+ CLANG_ENABLE_MODULES = YES;
275
+ FRAMEWORK_SEARCH_PATHS = (
276
+ "$(inherited)",
277
+ "$(SRCROOT)/../../../ios/**",
278
+ "~/Documents/JWPlayer-SDK",
279
+ );
280
+ HEADER_SEARCH_PATHS = (
281
+ "$(inherited)",
282
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
283
+ "$(SRCROOT)/../../react-native/React/**",
284
+ "$(SRCROOT)/../../react-native/React",
285
+ );
286
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
287
+ LIBRARY_SEARCH_PATHS = "";
288
+ OTHER_LDFLAGS = (
289
+ "-ObjC",
290
+ "-all_load",
291
+ );
292
+ PRODUCT_NAME = RNJWPlayer;
293
+ SKIP_INSTALL = YES;
294
+ SWIFT_OBJC_BRIDGING_HEADER = "RNJWPlayer-Bridging-Header.h";
295
+ SWIFT_VERSION = 5.0;
296
+ };
297
+ name = Release;
298
+ };
299
+ /* End XCBuildConfiguration section */
300
+
301
+ /* Begin XCConfigurationList section */
302
+ 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNJWPlayer" */ = {
303
+ isa = XCConfigurationList;
304
+ buildConfigurations = (
305
+ 58B511ED1A9E6C8500147676 /* Debug */,
306
+ 58B511EE1A9E6C8500147676 /* Release */,
307
+ );
308
+ defaultConfigurationIsVisible = 0;
309
+ defaultConfigurationName = Release;
310
+ };
311
+ 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNJWPlayer" */ = {
312
+ isa = XCConfigurationList;
313
+ buildConfigurations = (
314
+ 58B511F01A9E6C8500147676 /* Debug */,
315
+ 58B511F11A9E6C8500147676 /* Release */,
316
+ );
317
+ defaultConfigurationIsVisible = 0;
318
+ defaultConfigurationName = Release;
319
+ };
320
+ /* End XCConfigurationList section */
321
+ };
322
+ rootObject = 58B511D31A9E6C8500147676 /* Project object */;
323
+ }
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@jwplayer/jwplayer-react-native",
3
+ "version": "1.0.0",
4
+ "description": "React-native Android/iOS plugin for JWPlayer SDK (https://www.jwplayer.com/)",
5
+ "main": "index.js",
6
+ "types": "./index.d.ts",
7
+ "scripts": {
8
+ "lint": "eslint index.js example/index.js example/src",
9
+ "badges:license": "badge license MIT :green > ./badges/license.svg",
10
+ "badges:version": "badge version $npm_package_version :blue > ./badges/version.svg"
11
+ },
12
+ "pre-commit": [
13
+ "lint"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/jwplayer/jwplayer-react-native"
18
+ },
19
+ "keywords": [
20
+ "react",
21
+ "react-native",
22
+ "jwplayer",
23
+ "media",
24
+ "player",
25
+ "mediaplayer",
26
+ "media-player",
27
+ "jw",
28
+ "android",
29
+ "ios",
30
+ "audio",
31
+ "video",
32
+ "sdk"
33
+ ],
34
+ "author": "JWPLAYER",
35
+ "license": "MIT",
36
+ "homepage": "https://github.com/jwplayer/jwplayer-react-native#readme",
37
+ "devDependencies": {
38
+ "lodash": ">= 4.17.21",
39
+ "react": ">= 18.2.0",
40
+ "react-native": ">= 0.72.5"
41
+ },
42
+ "dependencies": {
43
+ "badge-maker": "^3.3.1"
44
+ }
45
+ }