Skip to content

10. URIs

Sebastián Katzer edited this page Mar 4, 2015 · 2 revisions

Local notifications have some properties like sound or image from type URI. There are three different types of resource URIs.

Overview

A URI is a string pointing to a local or remote located resource file. The following table gives an overview about the different types.

Type Description
http(s): Remote resource that requires internet connection for access.
Sample: http://www.xyz.de/.../icon.png
file: Local resource relative to the cordova's www folder.
Sample: file://img/logo.png
res: Local resource for native resources relative to the res/drawable/ (Android) or Resources/ (iOS) folder.
Sample: res://ic_popup_reminder or res://icon.png

Quirks

Remote URIs are only supported on Android.

Clone this wiki locally