Skip to content

Commit 5ea007c

Browse files
committed
iOS Package is now RNCalendarEvents
1 parent a39efe7 commit 5ea007c

File tree

17 files changed

+51
-28
lines changed

17 files changed

+51
-28
lines changed

RNCalendarEvents.h

Lines changed: 0 additions & 9 deletions
This file was deleted.

RNCalendarEvents.podspec

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
require 'json'
2+
package = JSON.parse(File.read('./package.json'))
3+
4+
Pod::Spec.new do |s|
5+
s.name = 'RNCalendarEvents'
6+
s.dependency 'React'
7+
8+
s.version = package["version"]
9+
s.license = package["license"]
10+
s.summary = package["description"]
11+
s.authors = package["author"]
12+
s.homepage = package["homepage"]
13+
14+
s.platform = :ios, '9.0'
15+
16+
s.source = { :git => package["repository"]["url"], :tag => s.version }
17+
s.source_files = 'ios/*.{h,m}'
18+
19+
end

ios/RNCalendarEvents.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#import <React/RCTBridgeModule.h>
2+
#import <React/RCTEventDispatcher.h>
3+
4+
@interface RNCalendarEvents : NSObject <RCTBridgeModule>
5+
@end
File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>RNCalendarEvents.xcscheme_^#shared#^_</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
</dict>
14+
</plist>

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"name": "react-native-calendar-events",
33
"version": "2.0.0",
44
"description": "React Native module for IOS Calendar Events",
5-
"repository": "https://github.com/wmcmahan/react-native-calendar-events.git",
5+
"homepage": "https://github.com/wmcmahan/react-native-calendar-events",
6+
"repository": {
7+
"type" : "git",
8+
"url" : "https://github.com/wmcmahan/react-native-calendar-events.git"
9+
},
610
"author": "Will McMahan",
711
"license": "MIT",
812
"keywords": [

react-native-calendar-events.podspec

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)