(root)/app/utils/notifications.js – Rev 3719
Rev 3269 |
|
Comparar con el anterior |
Ultima modificación |
Ver Log
|
| Rev |
Autor |
Línea Nro. |
Línea |
| 3719 |
stevensc |
1 |
export function loginUserToNative(message) {
|
|
|
2 |
if (!window.JSBridge) return;
|
|
|
3 |
window.JSBridge.loginUserToNative(message);
|
|
|
4 |
}
|
|
|
5 |
|
|
|
6 |
export function logoutUserToNative(message) {
|
|
|
7 |
if (!window.JSBridge) return;
|
|
|
8 |
window.JSBridge.logoutUserToNative(message);
|
|
|
9 |
}
|
|
|
10 |
|
|
|
11 |
export function routeFromNative(path, callback) {
|
|
|
12 |
callback(path);
|
|
|
13 |
}
|