Skip to content

Commit 541d112

Browse files
authored
Merge pull request #438 from JatsuAkaYashvant/r8
Enable R8 optimization and add ProGuard rules
2 parents f3802e3 + c9ced59 commit 541d112

File tree

10 files changed

+16
-12
lines changed

10 files changed

+16
-12
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ Make sure you have a connected Android/iOS device/simulator and run the followin
4141

4242
This project uses flutter version 1.20.2 and hence the support for compile time variables. To use compile time variables pass them in `--dart-defines` as `flutter run --dart-define=VAR_NAME=VAR_VALUE`. Supported `dart-defines` include :
4343

44-
#### Facebook Configuration
45-
46-
1. `FB_APP_ID`
47-
4844
#### Github Configuration
4945

5046
1. `GITHUB_OAUTH_CLIENT_ID`
@@ -66,7 +62,7 @@ mobile-app/lib/
6662
├── config/ # configuration files like environment_config
6763
├── enums/ # enum files
6864
| └── view_state.dart # defines view states i.e Idle, Busy, Error
69-
| └── auth_state.dart # defines auth states i.e logged in using Google/FB/Github/Email
65+
| └── auth_state.dart # defines auth states i.e logged in using Google/Github/Email
7066
├── l10n/ # localization files like intl_en.arb
7167
├── locale/ # AppLocalization & AppLocalizationDelegate
7268
├── managers/

android/app/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ android {
107107
}else{
108108
signingConfig signingConfigs.debug
109109
}
110+
111+
minifyEnabled true
112+
shrinkResources true
113+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
110114
}
111115
}
112116
}

android/app/proguard-rules.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# ProGuard / R8 rules for the Android release build.
2+
# This file is used to keep, optimize, or shrink specific classes, methods, or resources
3+
# when building the app in release mode.
4+
# Currently empty – add rules here if libraries break due to code shrinking or obfuscation

lib/gen_l10n/app_localizations.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,7 @@ abstract class AppLocalizations {
27972797
/// No description provided for @privacy_section2_item2_text.
27982798
///
27992799
/// In en, this message translates to:
2800-
/// **'If you elect to connect your CircuitVerse account to another online service provider, such as a social networking service (“Integrated Service Provider”), you will be allowing us to pass to and receive from the Integrated Service Provider your log-in information and other user data. You may elect to sign in or sign up to the CircuitVerse Platform through a linked network like Facebook or Google (each a “Linked Network”).The specific information we may collect varies by Integrated Service Provider, but the permissions page for each will describe the relevant information. Integrated Service Providers control how they use and share your information; you should consult their respective privacy policies for information about their practices.\n\n'**
2800+
/// **'If you elect to connect your CircuitVerse account to another online service provider, such as a social networking service (“Integrated Service Provider”), you will be allowing us to pass to and receive from the Integrated Service Provider your log-in information and other user data. You may elect to sign in or sign up to the CircuitVerse Platform through a linked network like Google (each a “Linked Network”).The specific information we may collect varies by Integrated Service Provider, but the permissions page for each will describe the relevant information. Integrated Service Providers control how they use and share your information; you should consult their respective privacy policies for information about their practices.\n\n'**
28012801
String get privacy_section2_item2_text;
28022802

28032803
/// No description provided for @privacy_section2_item3.

lib/gen_l10n/app_localizations_ar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ class AppLocalizationsAr extends AppLocalizations {
14591459

14601460
@override
14611461
String get privacy_section2_item2_text =>
1462-
'إذا اخترت ربط حساب CircuitVerse الخاص بك بموفر خدمة عبر الإنترنت آخر، مثل خدمة الشبكات الاجتماعية (\"موفر الخدمة المتكامل\")، فستسمح لنا بتمرير واستلام معلومات تسجيل الدخول الخاصة بك وبيانات المستخدم الأخرى من موفر الخدمة المتكامل. قد تختار تسجيل الدخول أو التسجيل في منصة CircuitVerse من خلال شبكة مرتبطة مثل Facebook أو Google (يُشار إليها كل منها باسم \"الشبكة المرتبطة\").تختلف المعلومات المحددة التي قد نجمعها حسب موفر الخدمة المتكامل، ولكن صفحة الأذونات لكل منها ستوضح المعلومات ذات الصلة. يتحكم موفرو الخدمة المتكاملة في كيفية استخدامهم ومشاركة معلوماتك؛ يجب عليك الرجوع إلى سياسات الخصوصية الخاصة بهم للحصول على معلومات حول ممارساتهم.\n\n';
1462+
'إذا اخترت ربط حساب CircuitVerse الخاص بك بموفر خدمة عبر الإنترنت آخر، مثل خدمة الشبكات الاجتماعية (\"موفر الخدمة المتكامل\")، فستسمح لنا بتمرير واستلام معلومات تسجيل الدخول الخاصة بك وبيانات المستخدم الأخرى من موفر الخدمة المتكامل. قد تختار تسجيل الدخول أو التسجيل في منصة CircuitVerse من خلال شبكة مرتبطة مثل Google (يُشار إليها باسم \"الشبكة المرتبطة\"). تختلف المعلومات المحددة التي قد نجمعها حسب موفر الخدمة المتكامل، ولكن صفحة الأذونات لكل منها ستوضح المعلومات ذات الصلة. يتحكم موفرو الخدمة المتكاملة في كيفية استخدامهم ومشاركة معلوماتك؛ يجب عليك الرجوع إلى سياسات الخصوصية الخاصة بهم للحصول على معلومات حول ممارساتهم.\n\n';
14631463

14641464
@override
14651465
String get privacy_section2_item3 =>

lib/gen_l10n/app_localizations_en.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ class AppLocalizationsEn extends AppLocalizations {
14691469

14701470
@override
14711471
String get privacy_section2_item2_text =>
1472-
'If you elect to connect your CircuitVerse account to another online service provider, such as a social networking service (“Integrated Service Provider”), you will be allowing us to pass to and receive from the Integrated Service Provider your log-in information and other user data. You may elect to sign in or sign up to the CircuitVerse Platform through a linked network like Facebook or Google (each a “Linked Network”).The specific information we may collect varies by Integrated Service Provider, but the permissions page for each will describe the relevant information. Integrated Service Providers control how they use and share your information; you should consult their respective privacy policies for information about their practices.\n\n';
1472+
'If you elect to connect your CircuitVerse account to another online service provider, such as a social networking service (“Integrated Service Provider”), you will be allowing us to pass to and receive from the Integrated Service Provider your log-in information and other user data. You may elect to sign in or sign up to the CircuitVerse Platform through a linked network like Google (each a “Linked Network”).The specific information we may collect varies by Integrated Service Provider, but the permissions page for each will describe the relevant information. Integrated Service Providers control how they use and share your information; you should consult their respective privacy policies for information about their practices.\n\n';
14731473

14741474
@override
14751475
String get privacy_section2_item3 =>

lib/gen_l10n/app_localizations_hi.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ class AppLocalizationsHi extends AppLocalizations {
14761476

14771477
@override
14781478
String get privacy_section2_item2_text =>
1479-
'यदि आप अपने सर्किटवर्स खाते को किसी अन्य ऑनलाइन सर्विस प्रोवाइडर, जैसे कि सोशल नेटवर्किंग सेवा (“इंटीग्रेटेड सर्विस प्रोवाइडर“) से जोड़ने का चुनाव करते हैं, तो आप हमें इंटीग्रेटेड सर्विस को पास करने और प्राप्त करने की अनुमति देंगे। अपनी लॉग-इन जानकारी और अन्य उपयोगकर्ता डेटा प्रदान करें। आप फेसबुक या गूगल (प्रत्येक एक “लिंक्ड नेटवर्क“) जैसे लिंक किए गए नेटवर्क के माध्यम से सर्किटवर्स प्लेटफॉर्म पर साइन इन या साइन अप करने का चुनाव कर सकते हैं। हमारे द्वारा एकत्र की जाने वाली विशिष्ट जानकारी इंटीग्रेटेड सर्विस प्रोवाइडर द्वारा भिन्न होती है, लेकिन प्रत्येक के लिए अनुमति पृष्ठ प्रासंगिक जानकारी का वर्णन करेगा। इंटीग्रेटेड सर्विस प्रोवाइडर नियंत्रित करते हैं कि वे आपकी जानकारी का उपयोग और साझा कैसे करते हैं; आपको उनकी प्रथाओं के बारे में जानकारी के लिए उनकी संबंधित गोपनीयता नीतियों से परामर्श लेना चाहिए।\n\n';
1479+
'यदि आप अपने सर्किटवर्स खाते को किसी अन्य ऑनलाइन सर्विस प्रोवाइडर, जैसे कि सोशल नेटवर्किंग सेवा (“इंटीग्रेटेड सर्विस प्रोवाइडर“) से जोड़ने का चुनाव करते हैं, तो आप हमें इंटीग्रेटेड सर्विस को पास करने और प्राप्त करने की अनुमति देंगे। अपनी लॉग-इन जानकारी और अन्य उपयोगकर्ता डेटा प्रदान करें। आप गूगल (प्रत्येक एक “लिंक्ड नेटवर्क“) जैसे लिंक किए गए नेटवर्क के माध्यम से सर्किटवर्स प्लेटफॉर्म पर साइन इन या साइन अप करने का चुनाव कर सकते हैं। हमारे द्वारा एकत्र की जाने वाली विशिष्ट जानकारी इंटीग्रेटेड सर्विस प्रोवाइडर द्वारा भिन्न होती है, लेकिन प्रत्येक के लिए अनुमति पृष्ठ प्रासंगिक जानकारी का वर्णन करेगा। इंटीग्रेटेड सर्विस प्रोवाइडर नियंत्रित करते हैं कि वे आपकी जानकारी का उपयोग और साझा कैसे करते हैं; आपको उनकी प्रथाओं के बारे में जानकारी के लिए उनकी संबंधित गोपनीयता नीतियों से परामर्श लेना चाहिए।\n\n';
14801480

14811481
@override
14821482
String get privacy_section2_item3 =>

lib/l10n/app_ar.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@
511511
"privacy_section2_item1": "معلومات الحساب والملف الشخصي: ",
512512
"privacy_section2_item1_text": "عند إنشاء حساب وملف شخصي على منصة CircuitVerse، نجمع عنوان بريدك الإلكتروني. سيكون اسمك وصورتك وأي معلومات أخرى تختار إضافتها إلى ملفك الشخصي العام متاحة للمشاهدة لمستخدمي منصتنا. بمجرد تنشيط ملفك الشخصي، سيكون بإمكان المستخدمين الآخرين رؤية بعض المعلومات حول نشاطك في ملفك الشخصي.\n\n",
513513
"privacy_section2_item2": "موفر الخدمة المتكامل والشبكات المرتبطة. ",
514-
"privacy_section2_item2_text": "إذا اخترت ربط حساب CircuitVerse الخاص بك بموفر خدمة عبر الإنترنت آخر، مثل خدمة الشبكات الاجتماعية (\"موفر الخدمة المتكامل\")، فستسمح لنا بتمرير واستلام معلومات تسجيل الدخول الخاصة بك وبيانات المستخدم الأخرى من موفر الخدمة المتكامل. قد تختار تسجيل الدخول أو التسجيل في منصة CircuitVerse من خلال شبكة مرتبطة مثل Facebook أو Google (يُشار إليها كل منها باسم \"الشبكة المرتبطة\").تختلف المعلومات المحددة التي قد نجمعها حسب موفر الخدمة المتكامل، ولكن صفحة الأذونات لكل منها ستوضح المعلومات ذات الصلة. يتحكم موفرو الخدمة المتكاملة في كيفية استخدامهم ومشاركة معلوماتك؛ يجب عليك الرجوع إلى سياسات الخصوصية الخاصة بهم للحصول على معلومات حول ممارساتهم.\n\n",
514+
"privacy_section2_item2_text": "إذا اخترت ربط حساب CircuitVerse الخاص بك بموفر خدمة عبر الإنترنت آخر، مثل خدمة الشبكات الاجتماعية (\"موفر الخدمة المتكامل\")، فستسمح لنا بتمرير واستلام معلومات تسجيل الدخول الخاصة بك وبيانات المستخدم الأخرى من موفر الخدمة المتكامل. قد تختار تسجيل الدخول أو التسجيل في منصة CircuitVerse من خلال شبكة مرتبطة مثل Google (يُشار إليها باسم \"الشبكة المرتبطة\"). تختلف المعلومات المحددة التي قد نجمعها حسب موفر الخدمة المتكامل، ولكن صفحة الأذونات لكل منها ستوضح المعلومات ذات الصلة. يتحكم موفرو الخدمة المتكاملة في كيفية استخدامهم ومشاركة معلوماتك؛ يجب عليك الرجوع إلى سياسات الخصوصية الخاصة بهم للحصول على معلومات حول ممارساتهم.\n\n",
515515
"privacy_section2_item3": "المعلومات التي يتم جمعها تلقائيًا حول نشاطك. ",
516516
"privacy_section2_item3_text": "نستخدم ملفات تعريف الارتباط وملفات السجل وعلامات البكسل وكائنات التخزين المحلية وتقنيات التتبع الأخرى لجمع المعلومات تلقائيًا حول أنشطتك، مثل عمليات البحث وعرض الصفحات وتاريخ ووقت زيارتك ومعلومات أخرى حول استخدامك لمنصة CircuitVerse.\n\n",
517517
"privacy_section3_title": "كيف نستخدم معلوماتك",

lib/l10n/app_en.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@
510510
"privacy_section2_item1": "Account and Profile Information: ",
511511
"privacy_section2_item1_text": "When you create an account and profile on the CircuitVerse Platform, we collect your email-id. Your name, photo, and any other information that you choose to add to your public-facing profile will be available for viewing to users of our Platform. Once you activate a profile, other users will be able to see in your profile certain information about your activity.\n\n",
512512
"privacy_section2_item2": "Integrated Service Provider and Linked Networks. ",
513-
"privacy_section2_item2_text": "If you elect to connect your CircuitVerse account to another online service provider, such as a social networking service (“Integrated Service Provider”), you will be allowing us to pass to and receive from the Integrated Service Provider your log-in information and other user data. You may elect to sign in or sign up to the CircuitVerse Platform through a linked network like Facebook or Google (each a “Linked Network”).The specific information we may collect varies by Integrated Service Provider, but the permissions page for each will describe the relevant information. Integrated Service Providers control how they use and share your information; you should consult their respective privacy policies for information about their practices.\n\n",
513+
"privacy_section2_item2_text": "If you elect to connect your CircuitVerse account to another online service provider, such as a social networking service (“Integrated Service Provider”), you will be allowing us to pass to and receive from the Integrated Service Provider your log-in information and other user data. You may elect to sign in or sign up to the CircuitVerse Platform through a linked network like Google (each a “Linked Network”).The specific information we may collect varies by Integrated Service Provider, but the permissions page for each will describe the relevant information. Integrated Service Providers control how they use and share your information; you should consult their respective privacy policies for information about their practices.\n\n",
514514
"privacy_section2_item3": "Automatically Collected Information About Your Activity. ",
515515
"privacy_section2_item3_text": "We use cookies, log files, pixel tags, local storage objects, and other tracking technologies to automatically collect information about your activities, such as your searches, page views, date and time of your visit, and other information about your use of the CircuitVerse Platform.\n\n",
516516
"privacy_section3_title": "How We Use Your Information",

0 commit comments

Comments
 (0)