WIP
This commit is contained in:
parent
cc58fd608a
commit
f3c1417409
|
@ -63,9 +63,9 @@
|
||||||
|
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<meta-data
|
<!-- <meta-data
|
||||||
android:name="com.google.firebase.messaging.default_notification_icon"
|
android:name="com.google.firebase.messaging.default_notification_icon"
|
||||||
android:resource="@drawable/notification_icon" />
|
android:resource="@drawable/notification_icon" /> -->
|
||||||
|
|
||||||
<!-- Don't delete the meta-data below.
|
<!-- Don't delete the meta-data below.
|
||||||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
<!-- Flutter needs it to communicate with the running application
|
<!-- Flutter needs it to communicate with the running application
|
||||||
to allow setting breakpoints, to provide hot reload, etc.
|
to allow setting breakpoints, to provide hot reload, etc.
|
||||||
-->
|
-->
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="com.google.firebase.messaging.default_notification_icon"
|
android:name="com.google.firebase.messaging.default_notification_icon"
|
||||||
android:resource="@drawable/notification_icon" />
|
android:resource="@drawable/notification_icon" />
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="com.google.firebase.messaging.default_notification_channel_id"
|
android:name="com.google.firebase.messaging.default_notification_channel_id"
|
||||||
android:value="@string/default_notification_channel_id"/>
|
android:value="@string/default_notification_channel_id" />
|
||||||
</manifest>
|
</manifest>
|
|
@ -109,7 +109,7 @@ class _BottomArrowLinkedLocalsComponentWidgetState
|
||||||
return {
|
return {
|
||||||
'error': false,
|
'error': false,
|
||||||
'error_msg': FFLocalizations.of(context).getVariableText(
|
'error_msg': FFLocalizations.of(context).getVariableText(
|
||||||
ptText: "Vinculo Ativado com Sucesso",
|
ptText: "Vínculo Ativado com Sucesso",
|
||||||
enText: "Link Activated Successfully")
|
enText: "Link Activated Successfully")
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
@ -118,7 +118,7 @@ class _BottomArrowLinkedLocalsComponentWidgetState
|
||||||
} catch (e, s) {
|
} catch (e, s) {
|
||||||
DialogUtil.errorDefault(context);
|
DialogUtil.errorDefault(context);
|
||||||
LogUtil.requestAPIFailed(
|
LogUtil.requestAPIFailed(
|
||||||
'responderVinculo.php', '', 'Responder Vinculo', e, s);
|
'responderVinculo.php', '', 'Responder Vínculo', e, s);
|
||||||
return {
|
return {
|
||||||
'error': true,
|
'error': true,
|
||||||
'error_msg': FFLocalizations.of(context).getVariableText(
|
'error_msg': FFLocalizations.of(context).getVariableText(
|
||||||
|
@ -187,9 +187,9 @@ class _BottomArrowLinkedLocalsComponentWidgetState
|
||||||
showAlertDialog(
|
showAlertDialog(
|
||||||
context,
|
context,
|
||||||
FFLocalizations.of(context).getVariableText(
|
FFLocalizations.of(context).getVariableText(
|
||||||
ptText: 'Ativar VInculo', enText: 'Activate Link'),
|
ptText: 'Ativar Vínculo', enText: 'Activate Link'),
|
||||||
FFLocalizations.of(context).getVariableText(
|
FFLocalizations.of(context).getVariableText(
|
||||||
ptText: 'Deseja Aceitar o Vinculo a $localName?',
|
ptText: 'Deseja aceitar o vínculo a $localName?',
|
||||||
enText: 'Do you wish to accept the link to $localName?'),
|
enText: 'Do you wish to accept the link to $localName?'),
|
||||||
() async {
|
() async {
|
||||||
var response = await _fetchResponseLink('A', local['CLI_ID']);
|
var response = await _fetchResponseLink('A', local['CLI_ID']);
|
||||||
|
|
|
@ -125,9 +125,11 @@ class _LocalProfileComponentWidgetState
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
valueOrDefault<String>(
|
valueOrDefault<String>(
|
||||||
functions.convertToUppercase(AppState().local),
|
functions.convertToUppercase(AppState().local),
|
||||||
'NOME DO LOCAL',
|
FFLocalizations.of(context).getVariableText(
|
||||||
),
|
ptText: 'SEM LOCAL VINCULADO',
|
||||||
|
enText: 'NO LINKED LOCAL',
|
||||||
|
)),
|
||||||
style: FlutterFlowTheme.of(context).labelMedium.override(
|
style: FlutterFlowTheme.of(context).labelMedium.override(
|
||||||
fontFamily: 'Nunito',
|
fontFamily: 'Nunito',
|
||||||
color: FlutterFlowTheme.of(context).info,
|
color: FlutterFlowTheme.of(context).info,
|
||||||
|
|
|
@ -155,8 +155,8 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
|
||||||
setState(() {});
|
setState(() {});
|
||||||
},
|
},
|
||||||
title: FFLocalizations.of(context).getVariableText(
|
title: FFLocalizations.of(context).getVariableText(
|
||||||
ptText: 'Convidar\nVisitantes',
|
ptText: 'Convidar\nVisitante',
|
||||||
enText: 'Invite\nVisitors',
|
enText: 'Invite\nVisitor',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
MenuButtonWidget(
|
MenuButtonWidget(
|
||||||
|
@ -394,8 +394,8 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
|
||||||
setState(() {});
|
setState(() {});
|
||||||
},
|
},
|
||||||
title: FFLocalizations.of(context).getVariableText(
|
title: FFLocalizations.of(context).getVariableText(
|
||||||
ptText: 'Convidar Visitantes',
|
ptText: 'Convidar Visitante',
|
||||||
enText: 'Invite Visitors',
|
enText: 'Invite Visitor',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
MenuCardItem(
|
MenuCardItem(
|
||||||
|
|
|
@ -211,7 +211,7 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
|
||||||
'en': 'Register',
|
'en': 'Register',
|
||||||
},
|
},
|
||||||
'megskb6s': {
|
'megskb6s': {
|
||||||
'pt': 'Cadastro Visitante',
|
'pt': 'Cadastrar Visitante',
|
||||||
'en': 'Visitor Registration',
|
'en': 'Visitor Registration',
|
||||||
},
|
},
|
||||||
'xtcz66ar': {
|
'xtcz66ar': {
|
||||||
|
|
|
@ -51,7 +51,7 @@ class _HomePageWidgetState extends State<HomePageWidget> {
|
||||||
} else {
|
} else {
|
||||||
final errorMsg = response.jsonBody['error_msg'];
|
final errorMsg = response.jsonBody['error_msg'];
|
||||||
if (errorMsg !=
|
if (errorMsg !=
|
||||||
r'''Usuario nao possui vinculo ativo com esse condominio''') {
|
r'''Usuario nao possui vínculo ativo com esse condominio''') {
|
||||||
log(errorMsg);
|
log(errorMsg);
|
||||||
await DialogUtil.warningDefault(context)
|
await DialogUtil.warningDefault(context)
|
||||||
.whenComplete(() => checkData());
|
.whenComplete(() => checkData());
|
||||||
|
|
|
@ -85,7 +85,7 @@ class _ReceptionPageWidgetState extends State<ReceptionPageWidget> {
|
||||||
child: Tooltip(
|
child: Tooltip(
|
||||||
message: FFLocalizations.of(context).getVariableText(
|
message: FFLocalizations.of(context).getVariableText(
|
||||||
ptText:
|
ptText:
|
||||||
'Seu identificador é utilizado para efetuar\no vinculo do seu APP com o condominio.',
|
'Seu identificador é utilizado para efetuar\no vínculo do seu APP com o condominio.',
|
||||||
enText: 'My Identifier'),
|
enText: 'My Identifier'),
|
||||||
textStyle: FlutterFlowTheme.of(context)
|
textStyle: FlutterFlowTheme.of(context)
|
||||||
.labelSmall
|
.labelSmall
|
||||||
|
|
|
@ -60,7 +60,7 @@ class _RegisterVisitorPageWidgetState extends State<RegisterVisitorPageWidget> {
|
||||||
),
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
FFLocalizations.of(context).getText(
|
FFLocalizations.of(context).getText(
|
||||||
'megskb6s' /* Cadastro Visitante */,
|
'megskb6s' /* Cadastrar Visitante */,
|
||||||
),
|
),
|
||||||
style: FlutterFlowTheme.of(context).headlineMedium.override(
|
style: FlutterFlowTheme.of(context).headlineMedium.override(
|
||||||
fontFamily: FlutterFlowTheme.of(context).headlineMediumFamily,
|
fontFamily: FlutterFlowTheme.of(context).headlineMediumFamily,
|
||||||
|
|
|
@ -1518,10 +1518,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: vm_service
|
name: vm_service
|
||||||
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
|
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "14.2.4"
|
version: "14.2.5"
|
||||||
web:
|
web:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in New Issue