MCPcopy Index your code
hub / github.com/NativeScript/firebase / intoNative

Method intoNative

packages/firebase-core/index.ios.ts:17–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 }
16
17 intoNative() {
18 if (!this._native) {
19 const exception = NSException.exceptionWithNameReasonUserInfo(NSGenericException, this.message, null);
20 const info = {};
21 info['ExceptionName'] = exception.name;
22 info['ExceptionReason'] = exception.reason;
23 info['ExceptionCallStackReturnAddresses'] = exception.callStackReturnAddresses;
24 info['ExceptionCallStackSymbols'] = exception.callStackSymbols;
25 info['ExceptionUserInfo'] = exception.userInfo;
26 const error = NSError.alloc().initWithDomainCodeUserInfo('NativeScript', 1000, info as any);
27 return error;
28 }
29 return this._native;
30 }
31}
32
33export class FirebaseOptions implements IFirebaseOptions {

Callers 2

callbackFunction · 0.45
callbackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected