From a41fd23dc9f9bd85c1b5898f8bd5c812dea5ffdd Mon Sep 17 00:00:00 2001 From: developer1054 Date: Fri, 7 May 2021 12:58:44 -0300 Subject: [PATCH] ajustes --- android/app/google-services.json | 107 ++++++------------------------- lib/funcoes_gerais.dart | 5 +- 2 files changed, 23 insertions(+), 89 deletions(-) diff --git a/android/app/google-services.json b/android/app/google-services.json index b5ea7bf..6f13d7b 100644 --- a/android/app/google-services.json +++ b/android/app/google-services.json @@ -1,56 +1,41 @@ { "project_info": { - "project_number": "661329313113", - "project_id": "iconnectstarter", - "storage_bucket": "iconnectstarter.appspot.com" + "project_number": "952783625736", + "firebase_url": "https://appcards-75f33.firebaseio.com", + "project_id": "appcards-75f33", + "storage_bucket": "appcards-75f33.appspot.com" }, "client": [ { "client_info": { - "mobilesdk_app_id": "1:661329313113:android:ee416225872cd1b375a048", + "mobilesdk_app_id": "1:952783625736:android:95ebfea9437e373b", "android_client_info": { - "package_name": "com.hightechx.mobile.appcardsstarter" + "package_name": "com.hightechx.mobile.appcards" } }, "oauth_client": [ { - "client_id": "661329313113-080glr5andokt54tv4hrsq2aa1gc60dl.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.hightechx.mobile.appcardsstarter", - "certificate_hash": "64cead3173785642d31904f0f7d5036aba3a82e1" - } - }, - { - "client_id": "661329313113-8drmvbmivptkfk74umh33e70iqn23v4h.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.hightechx.mobile.appcardsstarter", - "certificate_hash": "ce5f6fbc5eae2dc39f5e4a36ff2f85ea2c269676" - } - }, - { - "client_id": "661329313113-blgbjmo9853q56n6ilgr1e8a8hhh3k2j.apps.googleusercontent.com", + "client_id": "952783625736-v6qveo9hnm2cp2fa8jsckl000oj32bk3.apps.googleusercontent.com", "client_type": 3 } ], "api_key": [ { - "current_key": "AIzaSyCwdjw-NID4KGmJpb9QsDPZAcHVU6DUxpw" + "current_key": "AIzaSyCMYmMkR2D6gtnISSVjHY-o5mySWC0feTQ" } ], "services": { "appinvite_service": { "other_platform_oauth_client": [ { - "client_id": "661329313113-blgbjmo9853q56n6ilgr1e8a8hhh3k2j.apps.googleusercontent.com", + "client_id": "952783625736-v6qveo9hnm2cp2fa8jsckl000oj32bk3.apps.googleusercontent.com", "client_type": 3 }, { - "client_id": "661329313113-3hcmlgoji7hpqkmceptvor56m2us1blc.apps.googleusercontent.com", + "client_id": "952783625736-gam8124p405njsrlqfidnse74ca00ool.apps.googleusercontent.com", "client_type": 2, "ios_info": { - "bundle_id": "com.hightechx.mobile.iconnectstarter" + "bundle_id": "com.hightechx.mobile.decpisos" } } ] @@ -59,22 +44,14 @@ }, { "client_info": { - "mobilesdk_app_id": "1:661329313113:android:fa13e72a45f3595175a048", + "mobilesdk_app_id": "1:952783625736:android:1c56b06e23740153c07bbd", "android_client_info": { "package_name": "com.hightechx.mobile.decpisos" } }, "oauth_client": [ { - "client_id": "661329313113-fd8lhsa9fmv1t59a9a15saeejl7j2l8o.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.hightechx.mobile.decpisos", - "certificate_hash": "64cead3173785642d31904f0f7d5036aba3a82e1" - } - }, - { - "client_id": "661329313113-u743q7e6p7c2jhbv2nn3rk7aforpjf75.apps.googleusercontent.com", + "client_id": "952783625736-10ripa3l39un48r3k49cd00bnv7nts6i.apps.googleusercontent.com", "client_type": 1, "android_info": { "package_name": "com.hightechx.mobile.decpisos", @@ -82,79 +59,35 @@ } }, { - "client_id": "661329313113-blgbjmo9853q56n6ilgr1e8a8hhh3k2j.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCwdjw-NID4KGmJpb9QsDPZAcHVU6DUxpw" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "661329313113-blgbjmo9853q56n6ilgr1e8a8hhh3k2j.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "661329313113-3hcmlgoji7hpqkmceptvor56m2us1blc.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "com.hightechx.mobile.iconnectstarter" - } - } - ] - } - } - }, - { - "client_info": { - "mobilesdk_app_id": "1:661329313113:android:ff30051390d15f2375a048", - "android_client_info": { - "package_name": "com.hightechx.mobile.iconnectstarter" - } - }, - "oauth_client": [ - { - "client_id": "661329313113-4ht8rv9kgodq2l6hou3iuv70ggblo4dh.apps.googleusercontent.com", + "client_id": "952783625736-e798mjtemfqqrbmahj0t1monoc9gptgb.apps.googleusercontent.com", "client_type": 1, "android_info": { - "package_name": "com.hightechx.mobile.iconnectstarter", - "certificate_hash": "ce5f6fbc5eae2dc39f5e4a36ff2f85ea2c269676" - } - }, - { - "client_id": "661329313113-goqg84aulv5tcm5k7n66fdt2gijsnu5k.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.hightechx.mobile.iconnectstarter", + "package_name": "com.hightechx.mobile.decpisos", "certificate_hash": "64cead3173785642d31904f0f7d5036aba3a82e1" } }, { - "client_id": "661329313113-blgbjmo9853q56n6ilgr1e8a8hhh3k2j.apps.googleusercontent.com", + "client_id": "952783625736-v6qveo9hnm2cp2fa8jsckl000oj32bk3.apps.googleusercontent.com", "client_type": 3 } ], "api_key": [ { - "current_key": "AIzaSyCwdjw-NID4KGmJpb9QsDPZAcHVU6DUxpw" + "current_key": "AIzaSyCMYmMkR2D6gtnISSVjHY-o5mySWC0feTQ" } ], "services": { "appinvite_service": { "other_platform_oauth_client": [ { - "client_id": "661329313113-blgbjmo9853q56n6ilgr1e8a8hhh3k2j.apps.googleusercontent.com", + "client_id": "952783625736-v6qveo9hnm2cp2fa8jsckl000oj32bk3.apps.googleusercontent.com", "client_type": 3 }, { - "client_id": "661329313113-3hcmlgoji7hpqkmceptvor56m2us1blc.apps.googleusercontent.com", + "client_id": "952783625736-gam8124p405njsrlqfidnse74ca00ool.apps.googleusercontent.com", "client_type": 2, "ios_info": { - "bundle_id": "com.hightechx.mobile.iconnectstarter" + "bundle_id": "com.hightechx.mobile.decpisos" } } ] diff --git a/lib/funcoes_gerais.dart b/lib/funcoes_gerais.dart index 359354a..8dd55c5 100644 --- a/lib/funcoes_gerais.dart +++ b/lib/funcoes_gerais.dart @@ -8,11 +8,12 @@ import 'default_response_api.dart'; class FuncoesGerais{ //static const String urlLexLiteApi = "https://apis.lexstation.com/api/v1/"; - static const String tokenPadrao = "0GR7IE9OLII2UAUPJI80P1UHUK87WU"; + static const String tokenPadrao = "6JN4NNEP6IDEK7I2BCXTA7D1DPJR78"; static const String urlBaseNewCore = "https://newcore.services/newcore/"; static const int appMobileCodigo = 18; static const String nomeApp = "Decpisos"; static const int versaoAtual = 100; + static const int usuCodPadrao = 36718; static const String youtubeApiKey = "AIzaSyAmqjP0MxgASbt98Px1_hqaIvcsqeHO15k";//"AIzaSyA8jo3qsr-JJRm40iSHfkrzaMZXdMjo9v4"; static const String channelId = "UCJ_EUoswNTvRGotJ-ROxaKw"; static const String homeURL = "https://www.decpisos.com.br/"; @@ -70,7 +71,7 @@ class FuncoesGerais{ dEVICETOKEN: token, mODELODEVICE: model, pLATAFORMAMOBILECODIGO: platformCoddigo, - uSUCOD: 0, + uSUCOD: FuncoesGerais.usuCodPadrao, ); try {