UNPKG

@smartface/plugin-firebase

Version:

Smartface Firebase Plugin for Smartface Native Framework

84 lines (83 loc) 1.6 kB
import Auth from '../Auth'; /** * @classdesc App * @class */ export default class App { nativeObject: any; android: any; ios: { native?: any; delete?: (callback: (e: any) => {}) => void; getBundleId?: () => any; getClientId?: () => any; getTrackingId?: () => any; }; static ios: { native?: any; }; constructor(nativeObject: any); /** * Gets the Auth service for the current app. * * @method * @android * @ios * @since 0.1 */ auth: () => InstanceType<typeof Auth> | undefined; /** * Gets the Name for the current app. * * @method * @android * @ios * @since 0.1 */ getName: () => string; /** * Gets the getApiKey for the current app. * * @method * @android * @ios * @since 0.1 */ getApiKey: () => string; /** * Gets the getApplicationId for the current app. * * @method * @android * @ios * @since 0.1 */ getApplicationId: () => string; /** * Gets the getDatabaseUrl for the current app. * * @method * @android * @ios * @since 0.1 */ getDatabaseUrl: () => string; /** * Gets the getGcmSenderId for the current app. * * @method * @android * @ios * @since 0.1 */ getGcmSenderId: () => string; /** * Gets the getStorageBucket for the current app. * * @method * @android * @ios * @since 0.1 */ getStorageBucket: () => string; }