@@ -32,9 +32,9 @@ Array [
32
32
",
33
33
"* ensureDir dir: react-native-alice-bobbi/ios/
34
34
",
35
- "* ensureDir dir: react-native-alice-bobbi/ios/AliceBobbi .xcworkspace/
35
+ "* ensureDir dir: react-native-alice-bobbi/ios/ABCAliceBobbi .xcworkspace/
36
36
",
37
- "* ensureDir dir: react-native-alice-bobbi/ios/AliceBobbi .xcodeproj/
37
+ "* ensureDir dir: react-native-alice-bobbi/ios/ABCAliceBobbi .xcodeproj/
38
38
",
39
39
"* outputFile name: react-native-alice-bobbi/README.md
40
40
content:
@@ -55,15 +55,15 @@ content:
55
55
#### iOS
56
56
57
57
1. In XCode, in the project navigator, right click \` Libraries\` ➜ \` Add Files to [your project's name]\`
58
- 2. Go to \` node_modules\` ➜ \` react-native-alice-bobbi\` and add \` AliceBobbi .xcodeproj\`
59
- 3. In XCode, in the project navigator, select your project. Add \` libAliceBobbi .a\` to your project's \` Build Phases\` ➜ \` Link Binary With Libraries\`
58
+ 2. Go to \` node_modules\` ➜ \` react-native-alice-bobbi\` and add \` ABCAliceBobbi .xcodeproj\`
59
+ 3. In XCode, in the project navigator, select your project. Add \` libABCAliceBobbi .a\` to your project's \` Build Phases\` ➜ \` Link Binary With Libraries\`
60
60
4. Run your project (\` Cmd+R\` )<
61
61
62
62
#### Android
63
63
64
64
1. Open up \` android/app/src/main/java/[...]/MainApplication.java\`
65
- - Add \` import com.reactlibrary.AliceBobbiPackage ;\` to the imports at the top of the file
66
- - Add \` new AliceBobbiPackage ()\` to the list returned by the \` getPackages()\` method
65
+ - Add \` import com.reactlibrary.ABCAliceBobbiPackage ;\` to the imports at the top of the file
66
+ - Add \` new ABCAliceBobbiPackage ()\` to the list returned by the \` getPackages()\` method
67
67
2. Append the following lines to \` android/settings.gradle\` :
68
68
\`\`\`
69
69
include ':react-native-alice-bobbi'
@@ -77,10 +77,10 @@ content:
77
77
78
78
## Usage
79
79
\`\`\` javascript
80
- import AliceBobbi from 'react-native-alice-bobbi';
80
+ import ABCAliceBobbi from 'react-native-alice-bobbi';
81
81
82
82
// TODO: What to do with the module?
83
- AliceBobbi ;
83
+ ABCAliceBobbi ;
84
84
\`\`\`
85
85
86
86
<<<<<<<< ======== >>>>>>>>
@@ -129,9 +129,9 @@ content:
129
129
--------
130
130
import { NativeModules } from 'react-native';
131
131
132
- const { AliceBobbi } = NativeModules;
132
+ const { ABCAliceBobbi } = NativeModules;
133
133
134
- export default AliceBobbi ;
134
+ export default ABCAliceBobbi ;
135
135
136
136
<<<<<<<< ======== >>>>>>>>
137
137
",
@@ -339,7 +339,7 @@ content:
339
339
340
340
<<<<<<<< ======== >>>>>>>>
341
341
",
342
- "* outputFile name: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/AliceBobbiModule .java
342
+ "* outputFile name: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ABCAliceBobbiModule .java
343
343
content:
344
344
--------
345
345
package com.reactlibrary;
@@ -349,18 +349,18 @@ import com.facebook.react.bridge.ReactContextBaseJavaModule;
349
349
import com.facebook.react.bridge.ReactMethod;
350
350
import com.facebook.react.bridge.Callback;
351
351
352
- public class AliceBobbiModule extends ReactContextBaseJavaModule {
352
+ public class ABCAliceBobbiModule extends ReactContextBaseJavaModule {
353
353
354
354
private final ReactApplicationContext reactContext ;
355
355
356
- public AliceBobbiModule (ReactApplicationContext reactContext ) {
356
+ public ABCAliceBobbiModule (ReactApplicationContext reactContext ) {
357
357
super(reactContext );
358
358
this.reactContext = reactContext;
359
359
}
360
360
361
361
@Override
362
362
public String getName () {
363
- return \\"AliceBobbi \\";
363
+ return \\"ABCAliceBobbi \\";
364
364
}
365
365
366
366
@ReactMethod
@@ -372,7 +372,7 @@ public class AliceBobbiModule extends ReactContextBaseJavaModule {
372
372
373
373
<<<<<<<< ======== >>>>>>>>
374
374
",
375
- "* outputFile name : react -native -alice -bobbi /android /src /main /java /com /reactlibrary /AliceBobbiPackage .java
375
+ "* outputFile name : react -native -alice -bobbi /android /src /main /java /com /reactlibrary /ABCAliceBobbiPackage .java
376
376
content :
377
377
--------
378
378
package com .reactlibrary ;
@@ -387,10 +387,10 @@ import com.facebook.react.bridge.ReactApplicationContext;
387
387
import com .facebook .react .uimanager .ViewManager ;
388
388
import com .facebook .react .bridge .JavaScriptModule ;
389
389
390
- public class AliceBobbiPackage implements ReactPackage {
390
+ public class ABCAliceBobbiPackage implements ReactPackage {
391
391
@Override
392
392
public List <NativeModule > createNativeModules (ReactApplicationContext reactContext ) {
393
- return Arrays .<NativeModule >asList (new AliceBobbiModule (reactContext ));
393
+ return Arrays .<NativeModule >asList (new ABCAliceBobbiModule (reactContext ));
394
394
}
395
395
396
396
@Override
@@ -453,24 +453,24 @@ end
453
453
454
454
<<<<<<<< ======== >>>>>>>>
455
455
" ,
456
- " * outputFile name: react-native-alice-bobbi/ios/AliceBobbi .h
456
+ " * outputFile name: react-native-alice-bobbi/ios/ABCAliceBobbi .h
457
457
content :
458
458
--------
459
459
#import < React / RCTBridgeModule .h >
460
460
461
- @interface AliceBobbi : NSObject <RCTBridgeModule >
461
+ @interface ABCAliceBobbi : NSObject <RCTBridgeModule >
462
462
463
463
@end
464
464
465
465
<<<<<<<< ======== >>>>>>>>
466
466
",
467
- "* outputFile name : react -native -alice -bobbi /ios /AliceBobbi .m
467
+ "* outputFile name : react -native -alice -bobbi /ios /ABCAliceBobbi .m
468
468
content :
469
469
--------
470
- #import \\"AliceBobbi .h \\"
470
+ #import \\"ABCAliceBobbi .h \\"
471
471
472
472
473
- @implementation AliceBobbi
473
+ @implementation ABCAliceBobbi
474
474
475
475
RCT_EXPORT_MODULE ()
476
476
@@ -484,20 +484,20 @@ RCT_EXPORT_METHOD(sampleMethod:(NSString *)stringArgument numberParameter:(nonnu
484
484
485
485
<<<<<<<< ======== >>>>>>>>
486
486
",
487
- "* outputFile name : react -native -alice -bobbi /ios /AliceBobbi .xcworkspace /contents .xcworkspacedata
487
+ "* outputFile name : react -native -alice -bobbi /ios /ABCAliceBobbi .xcworkspace /contents .xcworkspacedata
488
488
content :
489
489
--------
490
490
<?xml version = \\" 1.0\\ " encoding = \\" UTF-8\\ " ? >
491
491
<Workspace
492
492
version = \\"1.0\\">
493
493
<FileRef
494
- location = \\"group:AliceBobbi .xcodeproj\\">
494
+ location = \\"group:ABCAliceBobbi .xcodeproj\\">
495
495
</FileRef>
496
496
</Workspace>
497
497
498
498
<<<<<<<< ======== >>>>>>>>
499
499
",
500
- "* outputFile name: react-native-alice-bobbi/ios/AliceBobbi .xcodeproj/project.pbxproj
500
+ "* outputFile name: react-native-alice-bobbi/ios/ABCAliceBobbi .xcodeproj/project.pbxproj
501
501
content:
502
502
--------
503
503
// !$*UTF8*$!
@@ -509,7 +509,7 @@ content:
509
509
objects = {
510
510
511
511
/* Begin PBXBuildFile section */
512
- B3E7B58A1CC2AC0600A0062D /* AliceBobbi .m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* AliceBobbi .m */ ; };
512
+ B3E7B58A1CC2AC0600A0062D /* ABCAliceBobbi .m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* ABCAliceBobbi .m */ ; };
513
513
/* End PBXBuildFile section */
514
514
515
515
/* Begin PBXCopyFilesBuildPhase section */
@@ -525,9 +525,9 @@ content:
525
525
/* End PBXCopyFilesBuildPhase section */
526
526
527
527
/* Begin PBXFileReference section */
528
- 134814201AA4EA6300B7C361 /* libAliceBobbi .a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libAliceBobbi .a; sourceTree = BUILT_PRODUCTS_DIR; };
529
- B3E7B5881CC2AC0600A0062D /* AliceBobbi .h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AliceBobbi .h; sourceTree = \\"<group >\\"; };
530
- B3E7B5891CC2AC0600A0062D /* AliceBobbi .m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AliceBobbi .m; sourceTree = \\"<group >\\"; };
528
+ 134814201AA4EA6300B7C361 /* libABCAliceBobbi .a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libABCAliceBobbi .a; sourceTree = BUILT_PRODUCTS_DIR; };
529
+ B3E7B5881CC2AC0600A0062D /* ABCAliceBobbi .h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ABCAliceBobbi .h; sourceTree = \\"<group >\\"; };
530
+ B3E7B5891CC2AC0600A0062D /* ABCAliceBobbi .m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ABCAliceBobbi .m; sourceTree = \\"<group >\\"; };
531
531
/* End PBXFileReference section */
532
532
533
533
/* Begin PBXFrameworksBuildPhase section */
@@ -544,26 +544,26 @@ content:
544
544
134814211AA4EA7D00B7C361 /* Products */ = {
545
545
isa = PBXGroup;
546
546
children = (
547
- 134814201AA4EA6300B7C361 /* libAliceBobbi .a */ ,
547
+ 134814201AA4EA6300B7C361 /* libABCAliceBobbi .a */ ,
548
548
);
549
549
name = Products;
550
550
sourceTree = \\"<group >\\";
551
551
};
552
552
58B511D21A9E6C8500147676 = {
553
553
isa = PBXGroup;
554
554
children = (
555
- B3E7B5881CC2AC0600A0062D /* AliceBobbi .h */ ,
556
- B3E7B5891CC2AC0600A0062D /* AliceBobbi .m */ ,
555
+ B3E7B5881CC2AC0600A0062D /* ABCAliceBobbi .h */ ,
556
+ B3E7B5891CC2AC0600A0062D /* ABCAliceBobbi .m */ ,
557
557
134814211AA4EA7D00B7C361 /* Products */ ,
558
558
);
559
559
sourceTree = \\"<group >\\";
560
560
};
561
561
/* End PBXGroup section */
562
562
563
563
/* Begin PBXNativeTarget section */
564
- 58B511DA1A9E6C8500147676 /* AliceBobbi */ = {
564
+ 58B511DA1A9E6C8500147676 /* ABCAliceBobbi */ = {
565
565
isa = PBXNativeTarget;
566
- buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget \\"AliceBobbi \\" */ ;
566
+ buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget \\"ABCAliceBobbi \\" */ ;
567
567
buildPhases = (
568
568
58B511D71A9E6C8500147676 /* Sources */ ,
569
569
58B511D81A9E6C8500147676 /* Frameworks */ ,
@@ -573,9 +573,9 @@ content:
573
573
);
574
574
dependencies = (
575
575
);
576
- name = AliceBobbi ;
576
+ name = ABCAliceBobbi ;
577
577
productName = RCTDataManager;
578
- productReference = 134814201AA4EA6300B7C361 /* libAliceBobbi .a */ ;
578
+ productReference = 134814201AA4EA6300B7C361 /* libABCAliceBobbi .a */ ;
579
579
productType = \\"com.apple.product-type.library.static\\";
580
580
};
581
581
/* End PBXNativeTarget section */
@@ -592,7 +592,7 @@ content:
592
592
};
593
593
} ;
594
594
};
595
- buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject \\"AliceBobbi \\" */;
595
+ buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject \\"ABCAliceBobbi \\" */;
596
596
compatibilityVersion = \\"Xcode 3.2\\";
597
597
developmentRegion = English;
598
598
hasScannedForEncodings = 0;
@@ -604,7 +604,7 @@ content:
604
604
projectDirPath = \\"\\";
605
605
projectRoot = \\"\\";
606
606
targets = (
607
- 58B511DA1A9E6C8500147676 /* AliceBobbi */,
607
+ 58B511DA1A9E6C8500147676 /* ABCAliceBobbi */,
608
608
);
609
609
};
610
610
/* End PBXProject section */
@@ -614,7 +614,7 @@ content:
614
614
isa = PBXSourcesBuildPhase ;
615
615
buildActionMask = 2147483647 ;
616
616
files = (
617
- B3E7B58A1CC2AC0600A0062D /* AliceBobbi .m in Sources */ ,
617
+ B3E7B58A1CC2AC0600A0062D /* ABCAliceBobbi .m in Sources */ ,
618
618
);
619
619
runOnlyForDeploymentPostprocessing = 0 ;
620
620
} ;
@@ -725,7 +725,7 @@ content:
725
725
);
726
726
LIBRARY_SEARCH_PATHS = \\"$(inherited)\\";
727
727
OTHER_LDFLAGS = \\"-ObjC\\";
728
- PRODUCT_NAME = AliceBobbi ;
728
+ PRODUCT_NAME = ABCAliceBobbi ;
729
729
SKIP_INSTALL = YES;
730
730
};
731
731
name = Debug;
@@ -741,15 +741,15 @@ content:
741
741
);
742
742
LIBRARY_SEARCH_PATHS = \\"$(inherited)\\";
743
743
OTHER_LDFLAGS = \\"-ObjC\\";
744
- PRODUCT_NAME = AliceBobbi ;
744
+ PRODUCT_NAME = ABCAliceBobbi ;
745
745
SKIP_INSTALL = YES;
746
746
};
747
747
name = Release;
748
748
};
749
749
/* End XCBuildConfiguration section */
750
750
751
751
/* Begin XCConfigurationList section */
752
- 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject \\"AliceBobbi \\" */ = {
752
+ 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject \\"ABCAliceBobbi \\" */ = {
753
753
isa = XCConfigurationList ;
754
754
buildConfigurations = (
755
755
58B511ED1A9E6C8500147676 /* Debug */ ,
@@ -758,7 +758,7 @@ content:
758
758
defaultConfigurationIsVisible = 0 ;
759
759
defaultConfigurationName = Release ;
760
760
};
761
- 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget \\"AliceBobbi \\" */ = {
761
+ 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget \\"ABCAliceBobbi \\" */ = {
762
762
isa = XCConfigurationList;
763
763
buildConfigurations = (
764
764
58B511F01A9E6C8500147676 /* Debug */ ,
0 commit comments