mobile.php 545 Bytes
Newer Older
Marcello Pivanti's avatar
Marcello Pivanti committed
1
2
3
4
5
6
<?php

/**
 * Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
 * OPEN 2.0
 *
waltermazza's avatar
waltermazza committed
7
 * @package    arter
Marcello Pivanti's avatar
Marcello Pivanti committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 * @category   CategoryName
 * @author     Elite Division S.r.l.
 */
$userProfile = json_encode($user->toArray([
    'id',
    'username',
    'email',
    'accessToken',
    'fcmToken',
    'slimProfile',
    'userImage',
]));
?>

<h1><?= Yii::t('socialauth', 'Caricamento....'); ?></h1>
<script type="text/javascript">
    if(typeof webViewCallback == 'function') {
        webViewCallback(<?= $userProfile; ?>);
    }
</script>