Skip to content

Commit

Permalink
Merge pull request MaikuB#1 from FireKamp/bloc_implementation
Browse files Browse the repository at this point in the history
Bloc implementation
  • Loading branch information
kamranpirwani committed Mar 17, 2020
2 parents 0959174 + a2aee2d commit b3f35fb
Show file tree
Hide file tree
Showing 218 changed files with 61,508 additions and 218 deletions.
1 change: 1 addition & 0 deletions .flutter-plugins-dependencies
@@ -0,0 +1 @@
{"_info":"// This is a generated file; do not edit or check into version control.","dependencyGraph":[{"name":"firebase_admob","dependencies":["firebase_core"]},{"name":"firebase_analytics","dependencies":[]},{"name":"firebase_core","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","dependencies":[]},{"name":"firebase_crashlytics","dependencies":[]},{"name":"flutter_email_sender","dependencies":[]},{"name":"package_info","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_macos","shared_preferences_web"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"webview_flutter","dependencies":[]}]}
13 changes: 8 additions & 5 deletions android/app/build.gradle
@@ -1,3 +1,4 @@

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
Expand All @@ -22,6 +23,9 @@ if (flutterVersionName == null) {
}

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'io.fabric'

apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
Expand All @@ -32,13 +36,12 @@ android {
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.firekamp.sudoku_brain"
applicationId "com.matchalagames.sudokubrain"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
Expand All @@ -56,6 +59,6 @@ flutter {

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'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
}
49 changes: 49 additions & 0 deletions android/app/google-services.json
@@ -0,0 +1,49 @@
{
"project_info": {
"project_number": "1059367218898",
"firebase_url": "https://sudokubrain-bc1ec.firebaseio.com",
"project_id": "sudokubrain-bc1ec",
"storage_bucket": "sudokubrain-bc1ec.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:1059367218898:android:a5decad63eb8478f7b870b",
"android_client_info": {
"package_name": "com.matchalagames.sudokubrain"
}
},
"oauth_client": [
{
"client_id": "1059367218898-o8s9nfk008dm1qme0rmkackf4plq5rpg.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBGzyeLPg8LzOz6STxnTN-UfKVk9renWFo"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "1059367218898-o8s9nfk008dm1qme0rmkackf4plq5rpg.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "1059367218898-83fbciu2ius3g4a8acspi9e5csopp7gl.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.matchalagames.sudokubrain",
"app_store_id": "1499318741"
}
}
]
}
},
"admob_app_id": "ca-app-pub-6145080690961844~7490094473"
}
],
"configuration_version": "1"
}
2 changes: 1 addition & 1 deletion android/app/src/debug/AndroidManifest.xml
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.firekamp.sudoku_brain">
package="com.firekamp.sudokubrain">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
37 changes: 21 additions & 16 deletions android/app/src/main/AndroidManifest.xml
@@ -1,32 +1,37 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.firekamp.sudoku_brain">
package="com.firekamp.sudokubrain">

<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.INTERNET" />

<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="sudoku_brain"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/ic_launcher"
android:label="Sudoku Brain">

<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-6145080690961844~7490094473" />

<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->

<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />

<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="false" />

<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
Expand Down
@@ -1,4 +1,4 @@
package com.firekamp.sudoku_brain;
package com.firekamp.sudokubrain;

import android.os.Bundle;
import io.flutter.app.FlutterActivity;
Expand Down
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions android/app/src/main/res/values/styles.xml
Expand Up @@ -5,4 +5,6 @@
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>


</resources>
2 changes: 1 addition & 1 deletion android/app/src/profile/AndroidManifest.xml
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.firekamp.sudoku_brain">
package="com.firekamp.sudokubrain">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
7 changes: 6 additions & 1 deletion android/build.gradle
Expand Up @@ -2,10 +2,15 @@ buildscript {
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}

dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.google.gms:google-services:4.3.3'
classpath 'io.fabric.tools:gradle:1.26.1'
}
}

Expand Down
3 changes: 3 additions & 0 deletions android/gradle.properties
@@ -1,2 +1,5 @@
org.gradle.jvmargs=-Xmx1536M

android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
4 changes: 2 additions & 2 deletions android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Fri Jun 23 08:50:38 CEST 2017
#Mon Mar 02 11:39:38 PKT 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

0 comments on commit b3f35fb

Please sign in to comment.