1 of 30

Aníbal Sánchez

@anibal_sanchez

Blog.AnibalHSanchez.com

JoomGap - JoomGap.com

Extly Extensions - Extly.com

Extly Tech - Extly.tech

Sábado, 23 de Septiembre de 2017

2 of 30

Summary

Continuing with the session about Mobile App Development for Websites, which took place at Joomla! Day Madrid 2017 (May 12), we are now going to present the integration of Web and Push Notifications in Joomla!.

Notifications are a new way of communicating directly with users. They have an unlimited potential, but also a capacity that must be used with care. In this presentation, we will introduce the integration of Joomla! with Web Notifications and the integration of a SlimApp with Push Notifications and our Joomla! site. Finally, we will also present notification management services such as OneSignal or Pushwoosh.

Mobile Apps Development for Websites�http://joo.nu/slidesslimappjdaymad17

JoomGap/SlimApp-JDayMadrid2017�https://github.com/JoomGap/SlimApp-JDayMadrid2017

3 of 30

April 2016 - JoomlaDay La Rioja 2016�Joomla integration with Mobile Apps

Sep 2015 - JoomlaDay Sevilla 2015�Mobile App Development for Joomla!

Nov 2015 - Joomla World Conference 2015�Mobile apps development for Joomla

Previous Sessions

April 2016 - Joomla Madrid Meetup�A mobile app per Joomla! website

4 of 30

  • Team Leader of Extly Extensions and JoomGap SlimApps
  • 15+ years of internet development experience
  • Joomla! Volunteer
    • Extensions Directory (JED) Assistant Team Manager
    • Google Summer of Code 2017 Mentor

About….

Ruta del Cares. Asturias, España

5 of 30

Acerca de...

JoomlaDay Vigo 2017

Bronze Sponsor

A powerful content hub to manage multiple social and notification channels.

6 of 30

Agenda

  1. Notifications. Why!
  2. Project for a Web Solution
  3. Success Cases
  4. Notifications Architecture
  5. Which PUSH service do I use?
  6. Advanced Integration
  7. One more thing …

7 of 30

Notifications. Why!

?

8 of 30

Notifications. Why!

?

9 of 30

Notifications. Why!

HTC Dream

Apache Cordova�PhoneGap

2007

2017

2013

iPhone

iPhone X

“Apps with Native Performance and Background Execution”

Progressive Web Apps - PWA

Application Manifest and Service Workers are W3C stantards..

“Hybrid Apps” - iPhone 5 / iOS 6

100% World Wide Web

2007 - 2010

10 of 30

Why Notifications!

Convergence

11 of 30

Project for a Web Solution

  • A Responsive Website,
  • With a mobile app,
  • Sharing all the functionality,
  • Android, Apple iOS, and Desktop support,
  • With Web, Html y JavaScript technology,
  • Easy to maintain
  • Powered by Open Source technologies

... and the website must have Web notifications, and the app must have Push notifications ... and you can upload photos taken from the phone camera.

12 of 30

Success Case: SI SAN JUAN

News from the Government of San Juan

Government of San Juan Information Service (Argentina) - https://sisanjuan.gob.ar

By Imagen y Sistemas - Diseño y desarrollo de sitios web - Powered by Joomla and K2

13 of 30

Success Case: SI SAN JUAN

News from the Government of San Juan

Government of San Juan Information Service (Argentina) - https://sisanjuan.gob.ar

By Imagen y Sistemas - Diseño y desarrollo de sitios web - Powered by Joomla and K2

14 of 30

The Push API allows web applications to receive messages sent from a server, regardless of whether the web application is in the foreground or even loaded into a user agent. Push API - Web APIs | MDN

Notifications Architecture (PUSH Api)

15 of 30

There are a large number of PUSH service providers: Amazon SNS, Firebase, Ionic Push, Kumulos, OneSignal, PushAlert. Pushwoosh, Urban Airship. Android - Firebase, etc.

Which Push Service do I use?

Compatibility 100%

Compatibility 100%

Full Control

Notifications with Images

Rich Media for Apps

Geo-notifications

Free (!)

Free - $41.95 / month - $335.95 / month

16 of 30

Joomla - OneSignal Integration

Creating an account in OneSignal - Configuration.

17 of 30

Joomla - OneSignal Integration

Service Worker Definition, with Joomla! extensions

  1. Browser: Chrome, Firefox, Safari, Opera. Microsoft Edge (?).
  2. HTTPS
  3. Download Web Push for Joocial plugins�https://extensions.joomla.org/extensions/extension/mobile/web-push-for-joocial/
  4. Manifest Definition
    1. Install plg_joocialwebpushmanifest_v8.15.0.zip
  5. OneSignal Service Worker Definition
    • Install plg_joocialwebpush_v8.15.0.zip
    • Plugin Configuration
  6. Copy OneSignal SDK Service Worker files to the root directory, OneSignalSDKWorker.js and OneSignalSDKUpdaterWorker.js.

18 of 30

Joomla - OneSignal Integration

Service Worker Definition, with Joomla! extensions

Documentation: Web Push notifications for Joomla!

19 of 30

Joomla - OneSignal Integration

Service Worker Definition, with Joomla! extensions

Documentation: Web Push notifications for Joomla!

20 of 30

Joomla - OneSignal Integration

Service Worker Definition, with Joomla! extensions

Documentation: Web Push notifications for Joomla!

21 of 30

Send a Notification - OneSignal

22 of 30

Advanced: SlimApp - OneSignal Integration

JoomGap / SlimApp-JDayVigo2017

config.xml

23 of 30

Advanced: Send Notifications from Joomla!

24 of 30

One more thing … EasyArticles - Joocial Notifications

The Web will continue to change at an accelerated pace, due to convergence.

StackIdea’s EasyArticles: A cutting-edge tool that provides a superb creative experience, along with Joomla! article management on the front-end

25 of 30

In Conclusion

  • A content management system supports multiple views of the content
  • Web Clients can access from Android, Apple iOS y Desktop
  • A mobile App can work based on a WebView to the site
  • Joomla! offers a very flexible web platform
  • Mobile functionality can be integrated into the web and the CMS. Examples: Notifications, Location, Camera, etc.
  • From Joomla! you can fully manage the functionality of the App.

26 of 30

Questions?

27 of 30

Contact

JoomGap - Create amazing Apps!https://www.joomgap.com/ - team@joomgap.com

App for EasySocial

App for DJ-Classifieds

28 of 30

Succes Case: Gramado Onde Ir

Social Network and News related to tourism

Turismo, Entretenimento, Lazer & Negócios. (Brasil) - https://gramado.onde.ir

By Onde.ir Web Services - Powered by Joomla y EasySocial

29 of 30

Success Case: Alerta Mascotas

Alerta mascotas is a free digital platform that aims to facilitate the reunion between lost pets and their owners..

https://www.alertamascotas.com

By Hiperforma - Powered by Joomla y DJ-Classifieds

30 of 30