Skip to content

Commit

Permalink
Adding native calendar events module #16
Browse files Browse the repository at this point in the history
  • Loading branch information
mininao committed Mar 22, 2017
1 parent 048f6a3 commit 4eb6ffd
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ android {
}

dependencies {
compile project(':react-native-calendar-events')
compile project(':react-native-vector-icons')
compile project(':react-native-linear-gradient')
compile project(':react-native-piwik')
Expand Down
2 changes: 2 additions & 0 deletions android/app/src/main/java/com/lagoon/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import android.util.Log;

import com.facebook.react.ReactApplication;
import com.calendarevents.CalendarEventsPackage;
import co.apptailor.googlesignin.RNGoogleSigninPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.BV.LinearGradient.LinearGradientPackage;
Expand All @@ -28,6 +29,7 @@ public boolean getUseDeveloperSupport() {
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new CalendarEventsPackage(),
new RNGoogleSigninPackage(),
new VectorIconsPackage(),
new LinearGradientPackage(),
Expand Down
2 changes: 2 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
rootProject.name = 'Lagoon'
include ':react-native-calendar-events'
project(':react-native-calendar-events').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-calendar-events/android')
include ':react-native-google-signin'
project(':react-native-google-signin').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-google-signin/android')

Expand Down
18 changes: 17 additions & 1 deletion ios/Lagoon.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
007FF091C5554E57A51640FE /* SafariServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 740466D23AE24002B09401C9 /* SafariServices.framework */; };
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
Expand Down Expand Up @@ -81,6 +80,7 @@
E31967554EA441EF924CE507 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DC6FB143B71445CEA703FF19 /* Ionicons.ttf */; };
E347D6018E6C47DA928D49C3 /* libBNFPiwik.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7381AC604D1647DEB58BC369 /* libBNFPiwik.a */; };
F48DD7C961B845A5918D4B5A /* libBVLinearGradient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BCA3725547684AEFAAC5650B /* libBVLinearGradient.a */; };
E1A4CE30100246B49F7A1E8B /* libRNCalendarEvents.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4AF781FC82C84A9E962DF6B5 /* libRNCalendarEvents.a */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -556,6 +556,8 @@
DC6FB143B71445CEA703FF19 /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = "<group>"; };
E7664839C6369D09A0628402 /* Pods-LagoonTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LagoonTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-LagoonTests/Pods-LagoonTests.release.xcconfig"; sourceTree = "<group>"; };
E849633FBFAF4DA290C98E53 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = "<group>"; };
A6D44A937C6941E6896BEF40 /* RNCalendarEvents.xcodeproj */ = {isa = PBXFileReference; name = "RNCalendarEvents.xcodeproj"; path = "../node_modules/react-native-calendar-events/RNCalendarEvents.xcodeproj"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; };
4AF781FC82C84A9E962DF6B5 /* libRNCalendarEvents.a */ = {isa = PBXFileReference; name = "libRNCalendarEvents.a"; path = "libRNCalendarEvents.a"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -598,6 +600,7 @@
E347D6018E6C47DA928D49C3 /* libBNFPiwik.a in Frameworks */,
D316FBEB12F44702963A8FB8 /* libRNVectorIcons.a in Frameworks */,
97047521871FAAE33320816F /* libPods-Lagoon.a in Frameworks */,
E1A4CE30100246B49F7A1E8B /* libRNCalendarEvents.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -784,6 +787,7 @@
46C79444A3C440FDB58194E4 /* BVLinearGradient.xcodeproj */,
A9DB088362A746CD99AC6A69 /* BNFPiwik.xcodeproj */,
D097C284B19A4734ABEBE6CD /* RNVectorIcons.xcodeproj */,
A6D44A937C6941E6896BEF40 /* RNCalendarEvents.xcodeproj */,
);
name = Libraries;
sourceTree = "<group>";
Expand Down Expand Up @@ -2499,6 +2503,7 @@
"$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
"$(SRCROOT)/../node_modules/react-native-piwik/ios/**",
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
"$(SRCROOT)/../node_modules/react-native-calendar-events",
);
INFOPLIST_FILE = LagoonTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
Expand All @@ -2509,6 +2514,7 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
Expand All @@ -2531,6 +2537,7 @@
"$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
"$(SRCROOT)/../node_modules/react-native-piwik/ios/**",
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
"$(SRCROOT)/../node_modules/react-native-calendar-events",
);
INFOPLIST_FILE = LagoonTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
Expand All @@ -2541,6 +2548,7 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
Expand Down Expand Up @@ -2573,6 +2581,7 @@
"$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
"$(SRCROOT)/../node_modules/react-native-piwik/ios/**",
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
"$(SRCROOT)/../node_modules/react-native-calendar-events",
);
INFOPLIST_FILE = Lagoon/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand Down Expand Up @@ -2607,6 +2616,7 @@
"$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
"$(SRCROOT)/../node_modules/react-native-piwik/ios/**",
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
"$(SRCROOT)/../node_modules/react-native-calendar-events",
);
INFOPLIST_FILE = Lagoon/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand Down Expand Up @@ -2638,6 +2648,7 @@
"$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
"$(SRCROOT)/../node_modules/react-native-piwik/ios/**",
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
"$(SRCROOT)/../node_modules/react-native-calendar-events",
);
INFOPLIST_FILE = "Lagoon-tvOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand All @@ -2647,6 +2658,7 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
Expand Down Expand Up @@ -2678,6 +2690,7 @@
"$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
"$(SRCROOT)/../node_modules/react-native-piwik/ios/**",
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
"$(SRCROOT)/../node_modules/react-native-calendar-events",
);
INFOPLIST_FILE = "Lagoon-tvOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand All @@ -2687,6 +2700,7 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
Expand Down Expand Up @@ -2719,6 +2733,7 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Lagoon-tvOSTests";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -2747,6 +2762,7 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Lagoon-tvOSTests";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"moment": "^2.17.1",
"react": "15.4.2",
"react-native": "^0.42.0",
"react-native-calendar-events": "^1.3.6",
"react-native-google-signin": "github:na-ji/react-native-google-signin",
"react-native-htmlview": "^0.5.0",
"react-native-linear-gradient": "^2.0.0",
Expand Down

0 comments on commit 4eb6ffd

Please sign in to comment.