SDK

Implementation

In this page let's dive deeper into how passes are handled in your web app. When distributed via a push notification, on the web, passes will fallback to the non-native solution built in HTML. You handle those accordingly pretty much the same way you do with the notifications of type HTML and Web Page.

However if you have a serial number of a digital card you can retrieve its JSON object using the following method:

1
2
3
4
5
6
7
instance.notificare("fetchPass", "SERIAL_NUMBER", function(pass){

	//Handle you pass object

}, function(error){
	//Handle error
});