Go to console

Callable

  • Gets the InstanceId service for the default app or a given app.

    admin.instanceId() can be called with no arguments to access the default app's InstanceId service or as admin.instanceId(app) to access the InstanceId service associated with a specific app.

    example
    // Get the Instance ID service for the default app
    var defaultInstanceId = admin.instanceId();
    example