0.0.14 • Published 5 years ago

rewebsdk-react v0.0.14

Weekly downloads
32
License
ISC
Repository
github
Last release
5 years ago

Import with following code

import  ReWebSdk  from  'rewebsdk-react';

Initialize with following code

let  Rewebsdk  =  new ReWebSdk({
    appConfig: {
	    tenantName: "",
	    tenantId: "",
	    tenant_ga:""
    },

    pushNotification: {
	    pushConfig: {
		    apiKey: "",
		    authDomain: "",
		    databaseURL: "",
		    projectId: "",
		    storageBucket: "",
		    messagingSenderId: ""
	    },
	    pushHeaderKey: "",
	    serviceworkerfile : ""
	}
});

Rewebsdk.initialize();

Add the following importscript in the serviceworkerfile

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

5 years ago

0.0.14

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago