0.0.22 • Published 4 years ago

resul-angularsdk-rr v0.0.22

Weekly downloads
17
License
ISC
Repository
github
Last release
4 years ago

Import with following code (app.component.ts)

import ResulWebSdk from 'resulwebsdk-angular';

Initialize with following code with respective details inside constructor (app.component.ts)

constructor() {
	let  Rewebsdk  =  new ResulWebSdk({
		appConfig: {
			tenantName: "",
			tenantId: "",
			tenant_ga: ""
		},
	
		pushNotification: {
			pushConfig: {
				apiKey: "",
				authDomain: "",
				databaseURL: "",
				projectId: "",
				storageBucket: "",
				messagingSenderId: ""
			},
			pushHeaderKey: "",
			serviceworkerfile : ""
		},
		notificationPrompt : false // default ( set 'true' to enable custom notification prompt )
	});
	
	Rewebsdk.initialize();
}

Add the following importscript in the serviceworkerfile

importScripts('https://sdk.resu.io/Scripts/push-sw.js');
0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.10

5 years ago

0.0.11

5 years ago

0.0.12

5 years ago

0.0.13

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.3

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago