Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push Notifications #126

Merged
merged 41 commits into from
Jan 11, 2021
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
753fce3
generate push-notifications
imhoffd Dec 5, 2020
3a9038b
use proper versions
imhoffd Dec 5, 2020
027a733
gradle update
imhoffd Dec 5, 2020
5b4ec2c
use esnext modules
imhoffd Dec 6, 2020
9ba78cd
android working
imhoffd Dec 6, 2020
54348c7
remove echo test
imhoffd Dec 7, 2020
6ea75f0
Basic working push notification code from v2 plugin
theproducer Dec 16, 2020
524474e
Implementing remaining missing APIs
theproducer Dec 18, 2020
45cdb3b
Code cleanup
theproducer Dec 18, 2020
2566eb1
handling capacitor.config.json presentationOptions
theproducer Dec 21, 2020
72d9fe2
[android] Adding foreground notification handling
theproducer Dec 23, 2020
cc69968
file linting
theproducer Dec 28, 2020
31b07d2
Merge branch 'main' into push-notifications
theproducer Dec 28, 2020
4baaa7e
[android] Moving Firebase MESSAGING_EVENT action into plugin
theproducer Dec 30, 2020
4b90267
[android] removing deprecated calls
theproducer Dec 30, 2020
18aebe4
Merge branch 'main' into push-notifications
theproducer Dec 30, 2020
848d421
formatting/linting
theproducer Dec 30, 2020
39f8d84
[iOS] increasing minimum iOS version in Podfile
theproducer Dec 30, 2020
38e3705
Removing unused code, removing jest
theproducer Dec 30, 2020
dc5b193
bumping target SDK in android build.gradle
theproducer Dec 30, 2020
7608c25
Renaming LocationPermissions to PushNotificationsPermissions
theproducer Dec 30, 2020
d634aab
Removing test during verify:web
theproducer Dec 30, 2020
eb4c6fa
wip: documentation updates
imhoffd Dec 30, 2020
f471ad4
add since to props
imhoffd Dec 30, 2020
0f44887
Added more package documentation
theproducer Jan 6, 2021
7d872f1
Merge branch 'main' into push-notifications
imhoffd Jan 7, 2021
5a43080
add plugin to readme
imhoffd Jan 7, 2021
b5826f9
words
imhoffd Jan 8, 2021
b8a67e9
Migrate from Color.parseColor() to WebColor.parseColor()
theproducer Jan 8, 2021
3e81a14
Merge branch 'push-notifications' of github.com:ionic-team/capacitor-…
theproducer Jan 8, 2021
3be7d30
updating lightColor documentation
theproducer Jan 8, 2021
dad2f4d
lint
theproducer Jan 8, 2021
c1d001f
Removing Firebase SDK
theproducer Jan 8, 2021
0350a63
Upgrading plugins to alpha.12
theproducer Jan 8, 2021
15a997d
Merge branch 'main' into push-notifications
theproducer Jan 8, 2021
3cbe02d
Upgrading minimum iOS version
theproducer Jan 8, 2021
b145dc6
lint
theproducer Jan 8, 2021
8be3dbd
Renaming PushNotificationsDelegate to PushNotificationsHandler
theproducer Jan 9, 2021
c1f0721
version changes
imhoffd Jan 9, 2021
989d2b3
regen docs
imhoffd Jan 9, 2021
b28993d
add docs for cli hints
imhoffd Jan 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"keyboard",
"motion",
"network",
"push-notifications",
"screen-reader",
"share",
"splash-screen",
Expand Down
2 changes: 2 additions & 0 deletions push-notifications/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build
dist
61 changes: 61 additions & 0 deletions push-notifications/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# node files
dist
node_modules

# iOS files
Pods
Podfile.lock
Build
xcuserdata

# macOS files
.DS_Store



# Based on Android gitignore template: https://github.com/github/gitignore/blob/HEAD/Android.gitignore

# Built application files
*.apk
*.ap_

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin
gen
out

# Gradle files
.gradle
build

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation

# Android Studio captures folder
captures

# IntelliJ
*.iml
.idea

# Keystore files
# Uncomment the following line if you do not want to check your keystore files in.
#*.jks

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
2 changes: 2 additions & 0 deletions push-notifications/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build
dist
19 changes: 19 additions & 0 deletions push-notifications/CapacitorPushNotifications.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = 'CapacitorPushNotifications'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '11.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/Messaging', '~> 7.3'
s.static_framework = true
s.swift_version = '5.1'
end
23 changes: 23 additions & 0 deletions push-notifications/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Copyright 2020-present Ionic
https://ionic.io

MIT License

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading