Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-notifications
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
冷佳娟
react-native-notifications
Commits
4353cc6f
Commit
4353cc6f
authored
Nov 28, 2016
by
d4vidi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update example project's RN to 0.38.0
parent
c28a2c9e
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
145 additions
and
27 deletions
+145
-27
android/build.gradle
android/build.gradle
+1
-1
example/android/myapplication/build.gradle
example/android/myapplication/build.gradle
+1
-1
example/ios/NotificationsExampleApp.xcodeproj/project.pbxproj
...ple/ios/NotificationsExampleApp.xcodeproj/project.pbxproj
+117
-1
example/ios/NotificationsExampleApp.xcodeproj/xcshareddata/xcschemes/NotificationsExampleApp.xcscheme
...j/xcshareddata/xcschemes/NotificationsExampleApp.xcscheme
+8
-5
example/ios/NotificationsExampleApp.xcodeproj/xcshareddata/xcschemes/SmartNotificationsApp.xcscheme
...roj/xcshareddata/xcschemes/SmartNotificationsApp.xcscheme
+1
-1
example/ios/NotificationsExampleApp/Info.plist
example/ios/NotificationsExampleApp/Info.plist
+14
-15
example/ios/NotificationsExampleAppTests/Info.plist
example/ios/NotificationsExampleAppTests/Info.plist
+1
-1
example/package.json
example/package.json
+2
-2
No files found.
android/build.gradle
View file @
4353cc6f
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
android
{
compileSdkVersion
23
buildToolsVersion
"2
3.0.3
"
buildToolsVersion
"2
5
"
defaultConfig
{
minSdkVersion
16
...
...
example/android/myapplication/build.gradle
View file @
4353cc6f
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android
{
compileSdkVersion
23
buildToolsVersion
"2
3.0.3
"
buildToolsVersion
"2
5
"
defaultConfig
{
applicationId
"com.wix.reactnativenotifications.app"
...
...
example/ios/NotificationsExampleApp.xcodeproj/project.pbxproj
View file @
4353cc6f
...
...
@@ -90,6 +90,55 @@
remoteGlobalIDString
=
83CBBA2E1A601D0E00E9B192
;
remoteInfo
=
React
;
};
18BA9BF01DEC2288001F416D
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
00C302BB1ABCB91800DB3ED1
/* RCTImage.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
2D2A283A1D9B042B00D4039D
;
remoteInfo
=
"RCTImage-tvOS"
;
};
18BA9BF41DEC2288001F416D
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
78C398B01ACF4ADC00677621
/* RCTLinking.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
2D2A28471D9B043800D4039D
;
remoteInfo
=
"RCTLinking-tvOS"
;
};
18BA9BF81DEC2288001F416D
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
00C302D31ABCB9D200DB3ED1
/* RCTNetwork.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
2D2A28541D9B044C00D4039D
;
remoteInfo
=
"RCTNetwork-tvOS"
;
};
18BA9BFC1DEC2288001F416D
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
139105B61AF99BAD00B5F7CC
/* RCTSettings.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
2D2A28611D9B046600D4039D
;
remoteInfo
=
"RCTSettings-tvOS"
;
};
18BA9C001DEC2288001F416D
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
2D2A287B1D9B048500D4039D
;
remoteInfo
=
"RCTText-tvOS"
;
};
18BA9C051DEC2288001F416D
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
139FDEE61B06529A00C62182
/* RCTWebSocket.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
2D2A28881D9B049200D4039D
;
remoteInfo
=
"RCTWebSocket-tvOS"
;
};
18BA9C091DEC2288001F416D
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
146833FF1AC3E56700842450
/* React.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
2D2A28131D9B038B00D4039D
;
remoteInfo
=
"React-tvOS"
;
};
78C398B81ACF4ADC00677621
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
78C398B01ACF4ADC00677621
/* RCTLinking.xcodeproj */
;
...
...
@@ -188,6 +237,7 @@
isa
=
PBXGroup
;
children
=
(
00C302C01ABCB91800DB3ED1
/* libRCTImage.a */
,
18BA9BF11DEC2288001F416D
/* libRCTImage-tvOS.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -196,6 +246,7 @@
isa
=
PBXGroup
;
children
=
(
00C302DC1ABCB9D200DB3ED1
/* libRCTNetwork.a */
,
18BA9BF91DEC2288001F416D
/* libRCTNetwork-tvOS.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -229,6 +280,7 @@
isa
=
PBXGroup
;
children
=
(
139105C11AF99BAD00B5F7CC
/* libRCTSettings.a */
,
18BA9BFD1DEC2288001F416D
/* libRCTSettings-tvOS.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -237,6 +289,7 @@
isa
=
PBXGroup
;
children
=
(
139FDEF41B06529B00C62182
/* libRCTWebSocket.a */
,
18BA9C061DEC2288001F416D
/* libRCTWebSocket-tvOS.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -259,6 +312,7 @@
isa
=
PBXGroup
;
children
=
(
146834041AC3E56700842450
/* libReact.a */
,
18BA9C0A1DEC2288001F416D
/* libReact-tvOS.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -267,6 +321,7 @@
isa
=
PBXGroup
;
children
=
(
78C398B91ACF4ADC00677621
/* libRCTLinking.a */
,
18BA9BF51DEC2288001F416D
/* libRCTLinking-tvOS.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -293,6 +348,7 @@
isa
=
PBXGroup
;
children
=
(
832341B51AAA6A8300B99B32
/* libRCTText.a */
,
18BA9C011DEC2288001F416D
/* libRCTText-tvOS.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -371,7 +427,7 @@
83CBB9F71A601CBA00E9B192
/* Project object */
=
{
isa
=
PBXProject
;
attributes
=
{
LastUpgradeCheck
=
0
6
10
;
LastUpgradeCheck
=
0
8
10
;
ORGANIZATIONNAME
=
Facebook
;
TargetAttributes
=
{
00E356ED1AD99517003FC87E
=
{
...
...
@@ -502,6 +558,55 @@
remoteRef
=
146834031AC3E56700842450
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
18BA9BF11DEC2288001F416D
/* libRCTImage-tvOS.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
"libRCTImage-tvOS.a"
;
remoteRef
=
18BA9BF01DEC2288001F416D
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
18BA9BF51DEC2288001F416D
/* libRCTLinking-tvOS.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
"libRCTLinking-tvOS.a"
;
remoteRef
=
18BA9BF41DEC2288001F416D
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
18BA9BF91DEC2288001F416D
/* libRCTNetwork-tvOS.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
"libRCTNetwork-tvOS.a"
;
remoteRef
=
18BA9BF81DEC2288001F416D
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
18BA9BFD1DEC2288001F416D
/* libRCTSettings-tvOS.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
"libRCTSettings-tvOS.a"
;
remoteRef
=
18BA9BFC1DEC2288001F416D
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
18BA9C011DEC2288001F416D
/* libRCTText-tvOS.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
"libRCTText-tvOS.a"
;
remoteRef
=
18BA9C001DEC2288001F416D
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
18BA9C061DEC2288001F416D
/* libRCTWebSocket-tvOS.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
"libRCTWebSocket-tvOS.a"
;
remoteRef
=
18BA9C051DEC2288001F416D
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
18BA9C0A1DEC2288001F416D
/* libReact-tvOS.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
"libReact-tvOS.a"
;
remoteRef
=
18BA9C091DEC2288001F416D
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
78C398B91ACF4ADC00677621
/* libRCTLinking.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
...
...
@@ -613,6 +718,7 @@
INFOPLIST_FILE
=
NotificationsExampleAppTests/Info.plist
;
IPHONEOS_DEPLOYMENT_TARGET
=
8.0
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks @loader_path/Frameworks"
;
PRODUCT_BUNDLE_IDENTIFIER
=
"org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
TEST_HOST
=
"$(BUILT_PRODUCTS_DIR)/NotificationsExampleApp.app/NotificationsExampleApp"
;
};
...
...
@@ -626,6 +732,7 @@
INFOPLIST_FILE
=
NotificationsExampleAppTests/Info.plist
;
IPHONEOS_DEPLOYMENT_TARGET
=
8.0
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks @loader_path/Frameworks"
;
PRODUCT_BUNDLE_IDENTIFIER
=
"org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
TEST_HOST
=
"$(BUILT_PRODUCTS_DIR)/NotificationsExampleApp.app/NotificationsExampleApp"
;
};
...
...
@@ -650,6 +757,7 @@
"-ObjC"
,
"-lc++"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
"org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"
;
PRODUCT_NAME
=
NotificationsExampleApp
;
VERSIONING_SYSTEM
=
"apple-generic"
;
};
...
...
@@ -673,6 +781,7 @@
"-ObjC"
,
"-lc++"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
"org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"
;
PRODUCT_NAME
=
NotificationsExampleApp
;
VERSIONING_SYSTEM
=
"apple-generic"
;
};
...
...
@@ -691,15 +800,19 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE
=
YES_ERROR
;
CLANG_WARN_EMPTY_BODY
=
YES
;
CLANG_WARN_ENUM_CONVERSION
=
YES
;
CLANG_WARN_INFINITE_RECURSION
=
YES
;
CLANG_WARN_INT_CONVERSION
=
YES
;
CLANG_WARN_OBJC_ROOT_CLASS
=
YES_ERROR
;
CLANG_WARN_SUSPICIOUS_MOVE
=
YES
;
CLANG_WARN_UNREACHABLE_CODE
=
YES
;
CLANG_WARN__DUPLICATE_METHOD_MATCH
=
YES
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
COPY_PHASE_STRIP
=
NO
;
ENABLE_STRICT_OBJC_MSGSEND
=
YES
;
ENABLE_TESTABILITY
=
YES
;
GCC_C_LANGUAGE_STANDARD
=
gnu99
;
GCC_DYNAMIC_NO_PIC
=
NO
;
GCC_NO_COMMON_BLOCKS
=
YES
;
GCC_OPTIMIZATION_LEVEL
=
0
;
GCC_PREPROCESSOR_DEFINITIONS
=
(
"DEBUG=1"
,
...
...
@@ -737,8 +850,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE
=
YES_ERROR
;
CLANG_WARN_EMPTY_BODY
=
YES
;
CLANG_WARN_ENUM_CONVERSION
=
YES
;
CLANG_WARN_INFINITE_RECURSION
=
YES
;
CLANG_WARN_INT_CONVERSION
=
YES
;
CLANG_WARN_OBJC_ROOT_CLASS
=
YES_ERROR
;
CLANG_WARN_SUSPICIOUS_MOVE
=
YES
;
CLANG_WARN_UNREACHABLE_CODE
=
YES
;
CLANG_WARN__DUPLICATE_METHOD_MATCH
=
YES
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
...
...
@@ -746,6 +861,7 @@
ENABLE_NS_ASSERTIONS
=
NO
;
ENABLE_STRICT_OBJC_MSGSEND
=
YES
;
GCC_C_LANGUAGE_STANDARD
=
gnu99
;
GCC_NO_COMMON_BLOCKS
=
YES
;
GCC_WARN_64_TO_32_BIT_CONVERSION
=
YES
;
GCC_WARN_ABOUT_RETURN_TYPE
=
YES_ERROR
;
GCC_WARN_UNDECLARED_SELECTOR
=
YES
;
...
...
example/ios/NotificationsExampleApp.xcodeproj/xcshareddata/xcschemes/NotificationsExampleApp.xcscheme
View file @
4353cc6f
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion =
"0
62
0"
LastUpgradeVersion =
"0
81
0"
version =
"1.3"
>
<BuildAction
parallelizeBuildables =
"YES"
...
...
@@ -37,10 +37,10 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration =
"Debug"
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv =
"YES"
buildConfiguration =
"Debug"
>
shouldUseLaunchSchemeArgsEnv =
"YES"
>
<Testables>
<TestableReference
skipped =
"NO"
>
...
...
@@ -62,15 +62,18 @@
ReferencedContainer =
"container:NotificationsExampleApp.xcodeproj"
>
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration =
"Debug"
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle =
"0"
useCustomWorkingDirectory =
"NO"
buildConfiguration =
"Debug"
ignoresPersistentStateOnLaunch =
"NO"
debugDocumentVersioning =
"YES"
debugServiceExtension =
"internal"
allowLocationSimulation =
"YES"
>
<BuildableProductRunnable
runnableDebuggingMode =
"0"
>
...
...
@@ -86,10 +89,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration =
"Release"
shouldUseLaunchSchemeArgsEnv =
"YES"
savedToolIdentifier =
""
useCustomWorkingDirectory =
"NO"
buildConfiguration =
"Release"
debugDocumentVersioning =
"YES"
>
<BuildableProductRunnable
runnableDebuggingMode =
"0"
>
...
...
example/ios/NotificationsExampleApp.xcodeproj/xcshareddata/xcschemes/SmartNotificationsApp.xcscheme
View file @
4353cc6f
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion =
"0
73
0"
LastUpgradeVersion =
"0
81
0"
version =
"1.3"
>
<BuildAction
parallelizeBuildables =
"YES"
...
...
example/ios/NotificationsExampleApp/Info.plist
View file @
4353cc6f
...
...
@@ -7,7 +7,7 @@
<key>
CFBundleExecutable
</key>
<string>
$(EXECUTABLE_NAME)
</string>
<key>
CFBundleIdentifier
</key>
<string>
org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier
)
</string>
<string>
$(PRODUCT_BUNDLE_IDENTIFIER
)
</string>
<key>
CFBundleInfoDictionaryVersion
</key>
<string>
6.0
</string>
<key>
CFBundleName
</key>
...
...
@@ -22,6 +22,19 @@
<string>
1
</string>
<key>
LSRequiresIPhoneOS
</key>
<true/>
<key>
NSAppTransportSecurity
</key>
<dict>
<key>
NSExceptionDomains
</key>
<dict>
<key>
localhost
</key>
<dict>
<key>
NSTemporaryExceptionAllowsInsecureHTTPLoads
</key>
<true/>
</dict>
</dict>
</dict>
<key>
NSLocationWhenInUseUsageDescription
</key>
<string></string>
<key>
UILaunchStoryboardName
</key>
<string>
LaunchScreen
</string>
<key>
UIRequiredDeviceCapabilities
</key>
...
...
@@ -36,19 +49,5 @@
</array>
<key>
UIViewControllerBasedStatusBarAppearance
</key>
<false/>
<key>
NSLocationWhenInUseUsageDescription
</key>
<string></string>
<key>
NSAppTransportSecurity
</key>
<!--See http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/ -->
<dict>
<key>
NSExceptionDomains
</key>
<dict>
<key>
localhost
</key>
<dict>
<key>
NSTemporaryExceptionAllowsInsecureHTTPLoads
</key>
<true/>
</dict>
</dict>
</dict>
</dict>
</plist>
example/ios/NotificationsExampleAppTests/Info.plist
View file @
4353cc6f
...
...
@@ -7,7 +7,7 @@
<key>
CFBundleExecutable
</key>
<string>
$(EXECUTABLE_NAME)
</string>
<key>
CFBundleIdentifier
</key>
<string>
org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier
)
</string>
<string>
$(PRODUCT_BUNDLE_IDENTIFIER
)
</string>
<key>
CFBundleInfoDictionaryVersion
</key>
<string>
6.0
</string>
<key>
CFBundleName
</key>
...
...
example/package.json
View file @
4353cc6f
...
...
@@ -7,8 +7,8 @@
},
"dependencies"
:
{
"babel-preset-react-native-stage-0"
:
"^1.0.1"
,
"react"
:
"15.
3
.1"
,
"react-native"
:
"0.3
4
.0"
,
"react"
:
"15.
4
.1"
,
"react-native"
:
"0.3
8
.0"
,
"react-native-notifications"
:
"../"
},
"babel"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment