Skip to content

Commit fa92738

Browse files
committed
Rename files
1 parent 56fd3a2 commit fa92738

File tree

5 files changed

+333
-0
lines changed

5 files changed

+333
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
package com.reactnativecommunity.progressview;
3+
4+
import com.facebook.react.bridge.ReactApplicationContext;
5+
import com.facebook.react.bridge.ReactContextBaseJavaModule;
6+
import com.facebook.react.bridge.ReactMethod;
7+
import com.facebook.react.bridge.Callback;
8+
9+
public class RNCProgressViewModule extends ReactContextBaseJavaModule {
10+
11+
private final ReactApplicationContext reactContext;
12+
13+
public RNCProgressViewModule(ReactApplicationContext reactContext) {
14+
super(reactContext);
15+
this.reactContext = reactContext;
16+
}
17+
18+
@Override
19+
public String getName() {
20+
return "RNCProgressView";
21+
}
22+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
package com.reactnativecommunity.progressview;
3+
4+
import java.util.Arrays;
5+
import java.util.Collections;
6+
import java.util.List;
7+
8+
import com.facebook.react.ReactPackage;
9+
import com.facebook.react.bridge.NativeModule;
10+
import com.facebook.react.bridge.ReactApplicationContext;
11+
import com.facebook.react.uimanager.ViewManager;
12+
import com.facebook.react.bridge.JavaScriptModule;
13+
public class RNCProgressViewPackage implements ReactPackage {
14+
@Override
15+
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
16+
return Arrays.<NativeModule>asList(new RNCProgressViewModule(reactContext));
17+
}
18+
19+
// Deprecated from RN 0.47
20+
public List<Class<? extends JavaScriptModule>> createJSModules() {
21+
return Collections.emptyList();
22+
}
23+
24+
@Override
25+
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
26+
return Collections.emptyList();
27+
}
28+
}

ios/RNCProgressView.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
#if __has_include("RCTBridgeModule.h")
3+
#import "RCTBridgeModule.h"
4+
#else
5+
#import <React/RCTBridgeModule.h>
6+
#endif
7+
8+
@interface RNCProgressView : NSObject <RCTBridgeModule>
9+
10+
@end
11+

ios/RNCProgressView.m

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
#import "RNCProgressView.h"
3+
4+
@implementation RNCProgressView
5+
6+
- (dispatch_queue_t)methodQueue
7+
{
8+
return dispatch_get_main_queue();
9+
}
10+
RCT_EXPORT_MODULE()
11+
12+
@end
13+
Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,259 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
B3E7B58A1CC2AC0600A0062D /* RNCProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNCProgressView.m */; };
11+
/* End PBXBuildFile section */
12+
13+
/* Begin PBXCopyFilesBuildPhase section */
14+
58B511D91A9E6C8500147676 /* CopyFiles */ = {
15+
isa = PBXCopyFilesBuildPhase;
16+
buildActionMask = 2147483647;
17+
dstPath = "include/$(PRODUCT_NAME)";
18+
dstSubfolderSpec = 16;
19+
files = (
20+
);
21+
runOnlyForDeploymentPostprocessing = 0;
22+
};
23+
/* End PBXCopyFilesBuildPhase section */
24+
25+
/* Begin PBXFileReference section */
26+
134814201AA4EA6300B7C361 /* libRNCProgressView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCProgressView.a; sourceTree = BUILT_PRODUCTS_DIR; };
27+
B3E7B5881CC2AC0600A0062D /* RNCProgressView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNCProgressView.h; sourceTree = "<group>"; };
28+
B3E7B5891CC2AC0600A0062D /* RNCProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNCProgressView.m; sourceTree = "<group>"; };
29+
/* End PBXFileReference section */
30+
31+
/* Begin PBXFrameworksBuildPhase section */
32+
58B511D81A9E6C8500147676 /* Frameworks */ = {
33+
isa = PBXFrameworksBuildPhase;
34+
buildActionMask = 2147483647;
35+
files = (
36+
);
37+
runOnlyForDeploymentPostprocessing = 0;
38+
};
39+
/* End PBXFrameworksBuildPhase section */
40+
41+
/* Begin PBXGroup section */
42+
134814211AA4EA7D00B7C361 /* Products */ = {
43+
isa = PBXGroup;
44+
children = (
45+
134814201AA4EA6300B7C361 /* libRNCProgressView.a */,
46+
);
47+
name = Products;
48+
sourceTree = "<group>";
49+
};
50+
58B511D21A9E6C8500147676 = {
51+
isa = PBXGroup;
52+
children = (
53+
B3E7B5881CC2AC0600A0062D /* RNCProgressView.h */,
54+
B3E7B5891CC2AC0600A0062D /* RNCProgressView.m */,
55+
134814211AA4EA7D00B7C361 /* Products */,
56+
);
57+
sourceTree = "<group>";
58+
};
59+
/* End PBXGroup section */
60+
61+
/* Begin PBXNativeTarget section */
62+
58B511DA1A9E6C8500147676 /* RNCProgressView */ = {
63+
isa = PBXNativeTarget;
64+
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCProgressView" */;
65+
buildPhases = (
66+
58B511D71A9E6C8500147676 /* Sources */,
67+
58B511D81A9E6C8500147676 /* Frameworks */,
68+
58B511D91A9E6C8500147676 /* CopyFiles */,
69+
);
70+
buildRules = (
71+
);
72+
dependencies = (
73+
);
74+
name = RNCProgressView;
75+
productName = RCTDataManager;
76+
productReference = 134814201AA4EA6300B7C361 /* libRNCProgressView.a */;
77+
productType = "com.apple.product-type.library.static";
78+
};
79+
/* End PBXNativeTarget section */
80+
81+
/* Begin PBXProject section */
82+
58B511D31A9E6C8500147676 /* Project object */ = {
83+
isa = PBXProject;
84+
attributes = {
85+
LastUpgradeCheck = 0830;
86+
ORGANIZATIONNAME = Facebook;
87+
TargetAttributes = {
88+
58B511DA1A9E6C8500147676 = {
89+
CreatedOnToolsVersion = 6.1.1;
90+
};
91+
};
92+
};
93+
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCProgressView" */;
94+
compatibilityVersion = "Xcode 3.2";
95+
developmentRegion = English;
96+
hasScannedForEncodings = 0;
97+
knownRegions = (
98+
en,
99+
);
100+
mainGroup = 58B511D21A9E6C8500147676;
101+
productRefGroup = 58B511D21A9E6C8500147676;
102+
projectDirPath = "";
103+
projectRoot = "";
104+
targets = (
105+
58B511DA1A9E6C8500147676 /* RNCProgressView */,
106+
);
107+
};
108+
/* End PBXProject section */
109+
110+
/* Begin PBXSourcesBuildPhase section */
111+
58B511D71A9E6C8500147676 /* Sources */ = {
112+
isa = PBXSourcesBuildPhase;
113+
buildActionMask = 2147483647;
114+
files = (
115+
B3E7B58A1CC2AC0600A0062D /* RNCProgressView.m in Sources */,
116+
);
117+
runOnlyForDeploymentPostprocessing = 0;
118+
};
119+
/* End PBXSourcesBuildPhase section */
120+
121+
/* Begin XCBuildConfiguration section */
122+
58B511ED1A9E6C8500147676 /* Debug */ = {
123+
isa = XCBuildConfiguration;
124+
buildSettings = {
125+
ALWAYS_SEARCH_USER_PATHS = NO;
126+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
127+
CLANG_CXX_LIBRARY = "libc++";
128+
CLANG_ENABLE_MODULES = YES;
129+
CLANG_ENABLE_OBJC_ARC = YES;
130+
CLANG_WARN_BOOL_CONVERSION = YES;
131+
CLANG_WARN_CONSTANT_CONVERSION = YES;
132+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
133+
CLANG_WARN_EMPTY_BODY = YES;
134+
CLANG_WARN_ENUM_CONVERSION = YES;
135+
CLANG_WARN_INFINITE_RECURSION = YES;
136+
CLANG_WARN_INT_CONVERSION = YES;
137+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
138+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
139+
CLANG_WARN_UNREACHABLE_CODE = YES;
140+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
141+
COPY_PHASE_STRIP = NO;
142+
ENABLE_STRICT_OBJC_MSGSEND = YES;
143+
ENABLE_TESTABILITY = YES;
144+
GCC_C_LANGUAGE_STANDARD = gnu99;
145+
GCC_DYNAMIC_NO_PIC = NO;
146+
GCC_NO_COMMON_BLOCKS = YES;
147+
GCC_OPTIMIZATION_LEVEL = 0;
148+
GCC_PREPROCESSOR_DEFINITIONS = (
149+
"DEBUG=1",
150+
"$(inherited)",
151+
);
152+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
153+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
154+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
155+
GCC_WARN_UNDECLARED_SELECTOR = YES;
156+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
157+
GCC_WARN_UNUSED_FUNCTION = YES;
158+
GCC_WARN_UNUSED_VARIABLE = YES;
159+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
160+
MTL_ENABLE_DEBUG_INFO = YES;
161+
ONLY_ACTIVE_ARCH = YES;
162+
SDKROOT = iphoneos;
163+
};
164+
name = Debug;
165+
};
166+
58B511EE1A9E6C8500147676 /* Release */ = {
167+
isa = XCBuildConfiguration;
168+
buildSettings = {
169+
ALWAYS_SEARCH_USER_PATHS = NO;
170+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
171+
CLANG_CXX_LIBRARY = "libc++";
172+
CLANG_ENABLE_MODULES = YES;
173+
CLANG_ENABLE_OBJC_ARC = YES;
174+
CLANG_WARN_BOOL_CONVERSION = YES;
175+
CLANG_WARN_CONSTANT_CONVERSION = YES;
176+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
177+
CLANG_WARN_EMPTY_BODY = YES;
178+
CLANG_WARN_ENUM_CONVERSION = YES;
179+
CLANG_WARN_INFINITE_RECURSION = YES;
180+
CLANG_WARN_INT_CONVERSION = YES;
181+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
182+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
183+
CLANG_WARN_UNREACHABLE_CODE = YES;
184+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
185+
COPY_PHASE_STRIP = YES;
186+
ENABLE_NS_ASSERTIONS = NO;
187+
ENABLE_STRICT_OBJC_MSGSEND = YES;
188+
GCC_C_LANGUAGE_STANDARD = gnu99;
189+
GCC_NO_COMMON_BLOCKS = YES;
190+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
191+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
192+
GCC_WARN_UNDECLARED_SELECTOR = YES;
193+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
194+
GCC_WARN_UNUSED_FUNCTION = YES;
195+
GCC_WARN_UNUSED_VARIABLE = YES;
196+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
197+
MTL_ENABLE_DEBUG_INFO = NO;
198+
SDKROOT = iphoneos;
199+
VALIDATE_PRODUCT = YES;
200+
};
201+
name = Release;
202+
};
203+
58B511F01A9E6C8500147676 /* Debug */ = {
204+
isa = XCBuildConfiguration;
205+
buildSettings = {
206+
HEADER_SEARCH_PATHS = (
207+
"$(inherited)",
208+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
209+
"$(SRCROOT)/../../../React/**",
210+
"$(SRCROOT)/../../react-native/React/**",
211+
);
212+
LIBRARY_SEARCH_PATHS = "$(inherited)";
213+
OTHER_LDFLAGS = "-ObjC";
214+
PRODUCT_NAME = RNCProgressView;
215+
SKIP_INSTALL = YES;
216+
};
217+
name = Debug;
218+
};
219+
58B511F11A9E6C8500147676 /* Release */ = {
220+
isa = XCBuildConfiguration;
221+
buildSettings = {
222+
HEADER_SEARCH_PATHS = (
223+
"$(inherited)",
224+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
225+
"$(SRCROOT)/../../../React/**",
226+
"$(SRCROOT)/../../react-native/React/**",
227+
);
228+
LIBRARY_SEARCH_PATHS = "$(inherited)";
229+
OTHER_LDFLAGS = "-ObjC";
230+
PRODUCT_NAME = RNCProgressView;
231+
SKIP_INSTALL = YES;
232+
};
233+
name = Release;
234+
};
235+
/* End XCBuildConfiguration section */
236+
237+
/* Begin XCConfigurationList section */
238+
58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCProgressView" */ = {
239+
isa = XCConfigurationList;
240+
buildConfigurations = (
241+
58B511ED1A9E6C8500147676 /* Debug */,
242+
58B511EE1A9E6C8500147676 /* Release */,
243+
);
244+
defaultConfigurationIsVisible = 0;
245+
defaultConfigurationName = Release;
246+
};
247+
58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCProgressView" */ = {
248+
isa = XCConfigurationList;
249+
buildConfigurations = (
250+
58B511F01A9E6C8500147676 /* Debug */,
251+
58B511F11A9E6C8500147676 /* Release */,
252+
);
253+
defaultConfigurationIsVisible = 0;
254+
defaultConfigurationName = Release;
255+
};
256+
/* End XCConfigurationList section */
257+
};
258+
rootObject = 58B511D31A9E6C8500147676 /* Project object */;
259+
}

0 commit comments

Comments
 (0)