You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library force the user to get 2 parameters from the client side that simply dont exist in other implementations:
// Get public key and user auth from the subscription object
var key = subscription.getKey ? subscription.getKey('p256dh') : '';
var auth = subscription.getKey ? subscription.getKey('auth') : '';
For example, nothing about these parameters shows here.
In Elemental2 there is no "getKey" in the API as seen here:
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class PushSubscription {
public String endpoint;
public PushSubscriptionOptions options;
public String subscriptionId;
public native Promise<Boolean> unsubscribe();
}
The text was updated successfully, but these errors were encountered:
This library force the user to get 2 parameters from the client side that simply dont exist in other implementations:
For example, nothing about these parameters shows here.
In Elemental2 there is no "getKey" in the API as seen here:
The text was updated successfully, but these errors were encountered: