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
9e86bf6d
Commit
9e86bf6d
authored
Sep 12, 2019
by
yogevbd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix docs, remove circleci config file
parent
97803877
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
43 additions
and
73 deletions
+43
-73
.circleci/config.yml
.circleci/config.yml
+0
-40
.npmignore
.npmignore
+5
-1
docs/installation-ios.md
docs/installation-ios.md
+3
-3
website/i18n/en.json
website/i18n/en.json
+1
-6
website/pages/en/index_.js
website/pages/en/index_.js
+6
-6
website/sidebars.json
website/sidebars.json
+1
-4
website/siteConfig.js
website/siteConfig.js
+13
-13
website/static/index.html
website/static/index.html
+14
-0
No files found.
.circleci/config.yml
deleted
100644 → 0
View file @
97803877
version
:
2
jobs
:
ios
:
macos
:
xcode
:
"
10.2.1"
steps
:
-
checkout
-
run
:
name
:
Install Dependencies
command
:
scripts/install.ios.sh
-
run
:
name
:
npm install
command
:
npm install
-
run
:
name
:
iOS unit tests
command
:
'
npm
run
test-unit-ios'
-
run
:
name
:
Detox iOS e2e tests
command
:
'
npm
run
test-e2e-ios-release'
android
:
macos
:
xcode
:
"
10.2.1"
steps
:
-
checkout
-
run
:
name
:
Install Android
command
:
scripts/install.android.sh
-
run
:
name
:
npm install
command
:
npm install
-
run
:
name
:
Android unit tests
command
:
'
npm
run
test-unit-android'
workflows
:
version
:
2
test
:
jobs
:
-
ios
-
android
\ No newline at end of file
.npmignore
View file @
9e86bf6d
...
...
@@ -2,6 +2,9 @@ example/
test/
RNNotifications/DerivedData
node_modules/
website/
docs/
docs_old/
.eslintrc
*.yml
...
...
@@ -11,3 +14,4 @@ android/.idea
android/build/
.idea
.history/
.github/
\ No newline at end of file
docs/installation-ios.md
View file @
9e86bf6d
...
...
@@ -14,11 +14,11 @@ Start by running this:
$ npm install react-native-notifications --save
```
## <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/2000px-Apple_logo_black.svg.png" width=30/> iOS
First
,
[
Manually link
](
https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking
)
the library to your Xcode project.
Then
,
[
Manually link
](
https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking
)
the library to your Xcode project.
Then, to enable notifications support add the following line at the top of your
`AppDelegate.m`
To enable notifications support add the following line at the top of your
`AppDelegate.m`
```
objective-c
#import "RNNotifications.h"
...
...
website/i18n/en.json
View file @
9e86bf6d
...
...
@@ -48,15 +48,10 @@
},
"links"
:
{
"Docs"
:
"Docs"
,
"API"
:
"API"
,
"Help"
:
"Help"
,
"Blog"
:
"Blog"
"API"
:
"API"
},
"categories"
:
{
"Installation"
:
"Installation"
,
"Subscription"
:
"Subscription"
,
"Notification Events"
:
"Notification Events"
,
"Advanced API - iOS"
:
"Advanced API - iOS"
,
"Commands"
:
"Commands"
,
"Events"
:
"Events"
}
...
...
website/pages/en/index.js
→
website/pages/en/index
_
.js
View file @
9e86bf6d
...
...
@@ -197,12 +197,12 @@ class Index extends React.Component {
<
div
>
<
HomeSplash
siteConfig
=
{
siteConfig
}
language
=
{
language
}
/
>
<
div
className
=
"
mainContainer
"
>
<
Features
/>
<
FeatureCallout
/>
<
LearnHow
/>
<
TryOut
/>
<
Description
/>
<
Showcase
/>
{
/* <Features /> */
}
{
/* <FeatureCallout /> */
}
{
/* <LearnHow /> */
}
{
/* <TryOut /> */
}
{
/* <Description /> */
}
{
/* <Showcase /> */
}
<
/div
>
<
/div
>
);
...
...
website/sidebars.json
View file @
9e86bf6d
{
"docs"
:
{
"Installation"
:
[
"installation-ios"
,
"installation-android"
],
"Subscription"
:
[
"doc2"
],
"Notification Events"
:
[
"doc3"
],
"Advanced API - iOS"
:
[
"doc3"
]
"Installation"
:
[
"installation-ios"
,
"installation-android"
]
},
"api"
:
{
"Commands"
:
[
"general-api"
,
"ios-api"
,
"android-api"
],
...
...
website/siteConfig.js
View file @
9e86bf6d
...
...
@@ -10,20 +10,20 @@
// List of projects/orgs using your project for the users page.
const
users
=
[
{
caption
:
'
User1
'
,
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
image
:
'
/img/undraw_open_source.svg
'
,
infoLink
:
'
https://www.facebook.com
'
,
pinned
:
true
,
},
//
{
//
caption: 'User1',
//
// You will need to prepend the image path with your baseUrl
//
// if it is not '/', like: '/test-site/img/image.jpg'.
//
image: '/img/undraw_open_source.svg',
//
infoLink: 'https://www.facebook.com',
//
pinned: true,
//
},
];
const
siteConfig
=
{
title
:
'
React native notifications
'
,
// Title for your website.
tagline
:
'
Documentation
'
,
url
:
'
https://wix.github.io
.com
'
,
// Your website URL
url
:
'
https://wix.github.io
'
,
// Your website URL
baseUrl
:
'
/react-native-notifications/
'
,
// Base URL for your project */
// For github.io type URLs, you would set the url and baseUrl like:
// url: 'https://facebook.github.io',
...
...
@@ -31,7 +31,7 @@ const siteConfig = {
// Used for publishing and more
projectName
:
'
react-native-notifications
'
,
organizationName
:
'
w
ix
'
,
organizationName
:
'
W
ix
'
,
// For top-level user or org sites, the organization is still the same.
// e.g., for the https://JoelMarcey.github.io site, it would be set like...
// organizationName: 'JoelMarcey'
...
...
@@ -40,8 +40,8 @@ const siteConfig = {
headerLinks
:
[
{
doc
:
'
installation-ios
'
,
label
:
'
Docs
'
},
{
doc
:
'
general-api
'
,
label
:
'
API
'
},
{
page
:
'
help
'
,
label
:
'
Help
'
},
{
blog
:
true
,
label
:
'
Blog
'
},
//
{page: 'help', label: 'Help'},
//
{blog: true, label: 'Blog'},
],
// If you have users set above, you add it here:
...
...
@@ -104,7 +104,7 @@ const siteConfig = {
// You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL...
// repoUrl: 'https://github.com/facebook/test-site
',
repoUrl
:
'
https://github.com/wix/react-native-notifications
'
,
};
module
.
exports
=
siteConfig
;
website/static/index.html
0 → 100644
View file @
9e86bf6d
<!DOCTYPE HTML>
<html
lang=
"en-US"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"refresh"
content=
"0; url=docs/installation-ios"
>
<script
type=
"text/javascript"
>
window
.
location
.
href
=
'
docs/installation-ios
'
;
</script>
<title>
Your Site Title Here
</title>
</head>
<body>
If you are not redirected automatically, follow this
<a
href=
"docs/installation-ios"
>
link
</a>
.
</body>
</html>
\ No newline at end of file
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