diff --git a/android/app/build.gradle b/android/app/build.gradle index c5028c0..04cca02 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -20,7 +20,7 @@ def keystoreProperties = new Properties() keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) android { - compileSdkVersion 28 + compileSdkVersion 27 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -33,9 +33,9 @@ android { defaultConfig { applicationId "com.benoitletondor.beermeup" minSdkVersion 21 - targetSdkVersion 28 - versionCode 12 - versionName "1.2" + targetSdkVersion 27 + versionCode 13 + versionName "1.2.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true } @@ -70,13 +70,11 @@ dependencies { testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' - implementation 'com.android.support:appcompat-v7:28.0.0' - implementation 'com.android.support:cardview-v7:28.0.0' + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation 'com.android.support:cardview-v7:27.1.1' - // Forced dependencies to 28 - implementation 'com.android.support:customtabs:28.0.0' - implementation 'com.android.support:support-media-compat:28.0.0' - implementation 'com.android.support:support-v4:28.0.0' + // Fix for Firebase dependencies + implementation 'android.arch.core:runtime:1.1.1' } apply plugin: 'com.google.gms.google-services' diff --git a/android/build.gradle b/android/build.gradle index 87ae1a8..8776108 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.2.71' + ext.kotlin_version = '1.3.0' repositories { google() jcenter() @@ -8,7 +8,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.2.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath 'com.google.gms:google-services:4.1.0' + classpath 'com.google.gms:google-services:4.2.0' } } diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 5290748..5356f8d 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -104,8 +104,6 @@ PODS: - "GoogleUtilities/NSData+zlib (~> 5.2)" - Protobuf (~> 3.5) - Flutter (1.0.0) - - flutter_custom_tabs (0.0.1): - - Flutter - flutter_facebook_login (0.0.1): - FBSDKLoginKit (~> 4.29) - Flutter @@ -196,10 +194,6 @@ PODS: - Protobuf (3.6.1) - shared_preferences (0.0.1): - Flutter - - url_launcher (0.0.1): - - Flutter - - video_player (0.0.1): - - Flutter DEPENDENCIES: - cloud_firestore (from `Pods/.symlinks/plugins/cloud_firestore/ios`) @@ -208,13 +202,10 @@ DEPENDENCIES: - firebase_core (from `Pods/.symlinks/plugins/firebase_core/ios`) - firebase_remote_config (from `Pods/.symlinks/plugins/firebase_remote_config/ios`) - Flutter (from `Pods/.symlinks/flutter/ios`) - - flutter_custom_tabs (from `Pods/.symlinks/plugins/flutter_custom_tabs/ios`) - flutter_facebook_login (from `Pods/.symlinks/plugins/flutter_facebook_login/ios`) - google_sign_in (from `Pods/.symlinks/plugins/google_sign_in/ios`) - path_provider (from `Pods/.symlinks/plugins/path_provider/ios`) - shared_preferences (from `Pods/.symlinks/plugins/shared_preferences/ios`) - - url_launcher (from `Pods/.symlinks/plugins/url_launcher/ios`) - - video_player (from `Pods/.symlinks/plugins/video_player/ios`) SPEC REPOS: https://github.com/CocoaPods/Specs.git: @@ -260,8 +251,6 @@ EXTERNAL SOURCES: :path: Pods/.symlinks/plugins/firebase_remote_config/ios Flutter: :path: Pods/.symlinks/flutter/ios - flutter_custom_tabs: - :path: Pods/.symlinks/plugins/flutter_custom_tabs/ios flutter_facebook_login: :path: Pods/.symlinks/plugins/flutter_facebook_login/ios google_sign_in: @@ -270,10 +259,6 @@ EXTERNAL SOURCES: :path: Pods/.symlinks/plugins/path_provider/ios shared_preferences: :path: Pods/.symlinks/plugins/shared_preferences/ios - url_launcher: - :path: Pods/.symlinks/plugins/url_launcher/ios - video_player: - :path: Pods/.symlinks/plugins/video_player/ios SPEC CHECKSUMS: Bolts: ac6567323eac61e203f6a9763667d0f711be34c8 @@ -296,7 +281,6 @@ SPEC CHECKSUMS: FirebaseInstanceID: 78ba376fcd5b94c001f9999b2cbd3d1f1e56e78d FirebaseRemoteConfig: 2e3c434293906cdf9710ac593f87a75214c140a0 Flutter: 9d0fac939486c9aba2809b7982dfdbb47a7b0296 - flutter_custom_tabs: 8dcb85ffe874ee8fd8139bb3960743efeaf521ee flutter_facebook_login: e3d2f0a348889fe0f49c302bc044b8cc66c691be google_sign_in: cbeb57b96679823d14df6b2240b629b983a42d79 GoogleAppMeasurement: 2b3a023a61239c8d002e6e4fcf4abce8eddce0e0 @@ -315,8 +299,6 @@ SPEC CHECKSUMS: path_provider: 09407919825bfe3c2deae39453b7a5b44f467873 Protobuf: 1eb9700044745f00181c136ef21b8ff3ad5a0fd5 shared_preferences: 5a1d487c427ee18fcd3ea1f2a131569481834b53 - url_launcher: 92b89c1029a0373879933c21642958c874539095 - video_player: 906796a841943c8d370ac7c13b18039aa9b56498 PODFILE CHECKSUM: 8e313a2c02406808061b90670d33ba78f9fe2930 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 9fea23c..91f93ec 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -288,7 +288,6 @@ "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", - "${BUILT_PRODUCTS_DIR}/flutter_custom_tabs/flutter_custom_tabs.framework", "${BUILT_PRODUCTS_DIR}/flutter_facebook_login/flutter_facebook_login.framework", "${BUILT_PRODUCTS_DIR}/gRPC/GRPCClient.framework", "${BUILT_PRODUCTS_DIR}/gRPC-C++/grpcpp.framework", @@ -299,8 +298,6 @@ "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", "${BUILT_PRODUCTS_DIR}/path_provider/path_provider.framework", "${BUILT_PRODUCTS_DIR}/shared_preferences/shared_preferences.framework", - "${BUILT_PRODUCTS_DIR}/url_launcher/url_launcher.framework", - "${BUILT_PRODUCTS_DIR}/video_player/video_player.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( @@ -314,7 +311,6 @@ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_custom_tabs.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_facebook_login.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GRPCClient.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/grpcpp.framework", @@ -325,8 +321,6 @@ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/url_launcher.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/video_player.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 7e86c53..eea7c2a 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.2 + 1.2.1 CFBundleSignature ???? CFBundleURLTypes @@ -31,7 +31,7 @@ CFBundleVersion - 12 + 13 FacebookAppID 204596980298393 FacebookDisplayName diff --git a/lib/page/tos/tospage.dart b/lib/page/tos/tospage.dart index 179bc56..d36ee4e 100644 --- a/lib/page/tos/tospage.dart +++ b/lib/page/tos/tospage.dart @@ -1,6 +1,6 @@ import 'package:flutter/material.dart'; -import 'package:flutter_html_view/flutter_html_view.dart'; +import 'package:flutter_html/flutter_html.dart'; import 'package:beer_me_up/localization/localization.dart'; @@ -25,11 +25,13 @@ class TOSPage extends StatelessWidget { child: ListView( children: [ const Padding(padding: EdgeInsets.only(top: 8.0)), - HtmlView( + Html( + padding: EdgeInsets.symmetric(horizontal: 10.0), data: "

Terms and Conditions

By downloading or using the app, these terms will automatically apply to you – you should make sure therefore that you read them carefully before using the app. You’re not allowed to copy, or modify the app, any part of the app, or our trademarks in any way. You’re not allowed to attempt to extract the source code of the app, and you also shouldn’t try to translate the app into other languages, or make derivative versions. The app itself, and all the trade marks, copyright, database rights and other intellectual property rights related to it, still belong to Benoit Letondor.

Benoit Letondor or the Beer Me Up app is not responsible of your alcohol consumption: Beer Me Up doesn't encourage you to drink more or more often and we remind you that alcohol is dangerous for you and other people: drink responsibly.

Benoit Letondor is committed to ensuring that the app is as useful and efficient as possible. For that reason, we reserve the right to make changes to the app or to charge for its services, at any time and for any reason. We will never charge you for the app or its services without making it very clear to you exactly what you’re paying for.

The Beer Me Up app stores and processes personal data that you have provided to us, in order to provide the service. It’s your responsibility to keep your phone and access to the app secure. We therefore recommend that you do not jailbreak or root your phone, which is the process of removing software restrictions and limitations imposed by the official operating system of your device. It could make your phone vulnerable to malware/viruses/malicious programs, compromise your phone’s security features and it could mean that the Beer Me Up app won’t work properly or at all.

You should be aware that there are certain things that Benoit Letondor will not take responsibility for. Certain functions of the app will require the app to have an active internet connection. The connection can be Wi-Fi, or provided by your mobile network provider, but Benoit Letondor cannot take responsibility for the app not working at full functionality if you don’t have access to Wi-Fi, and you don’t have any of your data allowance left.

If you’re using the app outside of an area with Wi-Fi, you should remember that your terms of the agreement with your mobile network provider will still apply. As a result, you may be charged by your mobile provider for the cost of data for the duration of the connection while accessing the app, or other third party charges. In using the app, you’re accepting responsibility for any such charges, including roaming data charges if you use the app outside of your home territory (i.e. region or country) without turning off data roaming. If you are not the bill payer for the device on which you’re using the app, please be aware that we assume that you have received permission from the bill payer for using the app.

Along the same lines, Benoit Letondor cannot always take responsibility for the way you use the app i.e. You need to make sure that your device stays charged – if it runs out of battery and you can’t turn it on to avail the Service, Benoit Letondor cannot accept responsibility

With respect to Benoit Letondor’s responsibility for your use of the app, when you’re using the app, it’s important to bear in mind that although we endeavour to ensure that it is updated and correct at all times, we do rely on third parties to provide information to us so that we can make it available to you. Benoit Letondor accepts no liability for any loss, direct or indirect, you experience as a result of relying wholly on this functionality of the app.

At some point, we may wish to update the app. The app is currently available on Android and iOS – the requirements for both systems (and for any additional systems we decide to extend the availability of the app to) may change, and you’ll need to download the updates if you want to keep using the app. Benoit Letondor does not promise that it will always update the app so that it is relevant to you and/or works with the iOS/Android version that you have installed on your device. However, you promise to always accept updates to the application when offered to you, We may also wish to stop providing the app, and may terminate use of it at any time without giving notice of termination to you. Unless we tell you otherwise, upon any termination, (a) the rights and licenses granted to you in these terms will end; (b) you must stop using the app, and (if needed) delete it from your device.

Changes to This Terms and Conditions

We may update our Terms and Conditions from time to time. Thus, you are advised to review this page periodically for any changes. We will notify you of any changes by posting the new Terms and Conditions on this page. These changes are effective immediately after they are posted on this page.

", ), const Padding(padding: EdgeInsets.only(top: 15.0)), - HtmlView( + Html( + padding: EdgeInsets.symmetric(horizontal: 10.0), data: "

Privacy policy

Benoit Letondor built the Beer Me Up app as an Open Source app. This service is provided by Benoit Letondor at no cost and is intended for use as is.

This page is used to inform website visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use the service.

If you choose to use the service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible into Beer Me Up app unless otherwise defined in this Privacy Policy.

Information Collection and Use

For a better experience, while using our Service, we may require you to provide us with certain personally identifiable information, including but not limited to Email and Advertising ID (IDFA or AAID). The information that we request is retained on your account and is not shared in any way

Link to privacy policy of third party service providers used by the app:

Firebase Analytics

Sentry

Google Play Services


Log Data

We want to inform you that whenever you use the service, in a case of an error in the app we collect data and information (through third party product) on your phone called Error Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing the service, the tim

Service Providers

We may employ third-party companies and individuals due to the following reasons:

Security

We value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and we cannot guarantee its absolute security.

Links to Other Sites

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, we strongly advise you to review the Privacy Policy of these websites. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

Legal age

This app does not address anyone under the legal drinking age (18 or 21 depending on your country). We prohibit usage of this app and do not knowingly collect personally identifiable information from anyone under legal drinking age. In the case we discover that someone under legal drinking age has provided us with personal information, we will immediately delete this from our servers and ban them from the app. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us so that we will be able to do necessary actions.

Changes to This Privacy Policy

We may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. We will notify you of any changes by posting the new Privacy Policy on this page. These changes are effective immediately after they are posted on this page.

Contact Us

If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us:

", ), const Padding(padding: EdgeInsets.only(top: 5.0)), diff --git a/pubspec.lock b/pubspec.lock index 3ff5260..fb356eb 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,7 +7,7 @@ packages: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "0.32.4" + version: "0.33.0" args: dependency: transitive description: @@ -35,7 +35,7 @@ packages: name: cached_network_image url: "https://pub.dartlang.org" source: hosted - version: "0.4.2" + version: "0.5.0" charcode: dependency: transitive description: @@ -49,7 +49,7 @@ packages: name: cloud_firestore url: "https://pub.dartlang.org" source: hosted - version: "0.8.1+1" + version: "0.8.2+2" collection: dependency: transitive description: @@ -77,21 +77,21 @@ packages: name: csslib url: "https://pub.dartlang.org" source: hosted - version: "0.14.5" + version: "0.14.6" dart_style: dependency: transitive description: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "1.1.3" + version: "1.2.0" firebase_analytics: dependency: "direct main" description: name: firebase_analytics url: "https://pub.dartlang.org" source: hosted - version: "1.0.4" + version: "1.0.5" firebase_auth: dependency: "direct main" description: @@ -124,14 +124,7 @@ packages: name: flutter_cache_manager url: "https://pub.dartlang.org" source: hosted - version: "0.1.2" - flutter_custom_tabs: - dependency: transitive - description: - name: flutter_custom_tabs - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.0" + version: "0.2.0" flutter_facebook_login: dependency: "direct main" description: @@ -139,13 +132,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.1.1" - flutter_html_view: + flutter_html: dependency: "direct main" description: - name: flutter_html_view + name: flutter_html url: "https://pub.dartlang.org" source: hosted - version: "0.5.8" + version: "0.8.2" flutter_localizations: dependency: "direct main" description: flutter @@ -169,7 +162,7 @@ packages: name: front_end url: "https://pub.dartlang.org" source: hosted - version: "0.1.4" + version: "0.1.6" glob: dependency: transitive description: @@ -183,7 +176,7 @@ packages: name: google_sign_in url: "https://pub.dartlang.org" source: hosted - version: "3.2.1" + version: "3.2.2" html: dependency: transitive description: @@ -197,7 +190,7 @@ packages: name: http url: "https://pub.dartlang.org" source: hosted - version: "0.11.3+17" + version: "0.12.0" http_multi_server: dependency: transitive description: @@ -225,7 +218,7 @@ packages: name: intl_translation url: "https://pub.dartlang.org" source: hosted - version: "0.17.0" + version: "0.17.2" io: dependency: transitive description: @@ -253,7 +246,7 @@ packages: name: kernel url: "https://pub.dartlang.org" source: hosted - version: "0.3.4" + version: "0.3.6" logging: dependency: transitive description: @@ -316,7 +309,7 @@ packages: name: package_resolver url: "https://pub.dartlang.org" source: hosted - version: "1.0.4" + version: "1.0.6" path: dependency: transitive description: @@ -337,7 +330,7 @@ packages: name: petitparser url: "https://pub.dartlang.org" source: hosted - version: "1.7.7" + version: "2.0.2" plugin: dependency: transitive description: @@ -433,7 +426,7 @@ packages: name: source_maps url: "https://pub.dartlang.org" source: hosted - version: "0.10.7" + version: "0.10.8" source_span: dependency: transitive description: @@ -482,7 +475,7 @@ packages: name: test url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.3.4" tuple: dependency: "direct main" description: @@ -497,13 +490,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.1.6" - url_launcher: - dependency: transitive - description: - name: url_launcher - url: "https://pub.dartlang.org" - source: hosted - version: "3.0.3" usage: dependency: transitive description: @@ -532,13 +518,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.0.8" - video_player: - dependency: transitive - description: - name: video_player - url: "https://pub.dartlang.org" - source: hosted - version: "0.6.5" vm_service_client: dependency: transitive description: @@ -569,4 +548,4 @@ packages: version: "2.1.15" sdks: dart: ">=2.0.0 <3.0.0" - flutter: ">=0.2.5 <2.0.0" + flutter: ">=0.5.0 <2.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 41d3fa2..7272f51 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,30 +7,30 @@ dependencies: flutter_localizations: sdk: flutter - http: 0.11.3+17 + http: 0.12.0 shared_preferences: 0.4.3 tuple: 1.0.2 - cached_network_image: 0.4.2 + cached_network_image: 0.5.0 sealed_unions: 3.0.1 flutter_stream_friends: 0.8.0 intl: 0.15.7 - intl_translation: 0.17.0 + intl_translation: 0.17.2 - google_sign_in: 3.2.1 + google_sign_in: 3.2.2 flutter_facebook_login: 1.1.1 firebase_auth: 0.6.2+1 - cloud_firestore: 0.8.1+1 - firebase_analytics: 1.0.4 + cloud_firestore: 0.8.2+2 + firebase_analytics: 1.0.5 firebase_remote_config: 0.0.6+1 sentry: 2.1.1 - flutter_html_view: 0.5.8 + flutter_html: 0.8.2 dev_dependencies: flutter_test: