Skip to content

Commit 632ee4c

Browse files
authored
new release (#6)
1 parent d50bccf commit 632ee4c

File tree

207 files changed

+32302
-10223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+32302
-10223
lines changed

.gitignore

+40-19
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,48 @@
1-
# See https://www.dartlang.org/guides/libraries/private-files
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
211

3-
# Files and directories created by pub
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
**/ios/Flutter/.last_build_id
426
.dart_tool/
27+
.flutter-plugins
28+
.flutter-plugins-dependencies
529
.packages
6-
build/
7-
# If you're building an application, you may want to check-in your pubspec.lock
30+
.pub-cache/
31+
.pub/
32+
/build/
833
pubspec.lock
34+
.vscode
935

10-
# Directory created by dartdoc
11-
# If you don't generate documentation locally you can remove this line.
12-
doc/api/
36+
# Web related
37+
lib/generated_plugin_registrant.dart
1338

14-
# Avoid committing generated Javascript files:
15-
*.dart.js
16-
*.info.json # Produced by the --dump-info flag.
17-
*.js # When generated by dart2js. Don't specify *.js if your
18-
# project includes source files written in JavaScript.
19-
*.js_
20-
*.js.deps
21-
*.js.map
39+
# Symbolication related
40+
app.*.symbols
2241

23-
.flutter-plugins
42+
# Obfuscation related
43+
app.*.map.json
2444

25-
.idea
26-
.flutter-plugins-dependencies
27-
.idea/libraries/Dart_Packages.xml
45+
# Android Studio will place build artifacts here
46+
/android/app/debug
47+
/android/app/profile
48+
/android/app/release

.metadata

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
8+
channel: stable
9+
10+
project_type: app

LICENSE

-21
This file was deleted.

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1-
# flutter-crm
2-
CRM app developed in flutter for Django-CRM
1+
# BottleCRM
2+
3+
Free CRM for startups and enterprises.
4+
5+
6+
# build
7+
flutter clean
8+
flutter pub get
9+
flutter build appbundle
10+
flutter build apk

android/app/build.gradle

+9-9
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,22 @@ if (flutterVersionName == null) {
2323

2424
apply plugin: 'com.android.application'
2525
apply plugin: 'kotlin-android'
26+
apply plugin: 'com.google.gms.google-services'
2627
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2728

2829
android {
29-
compileSdkVersion 30
30+
compileSdkVersion 31
3031

3132
sourceSets {
3233
main.java.srcDirs += 'src/main/kotlin'
3334
}
3435

35-
lintOptions {
36-
disable 'InvalidPackage'
37-
}
38-
3936
defaultConfig {
4037
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41-
applicationId "com.example.flutter_crm"
42-
minSdkVersion 16
43-
targetSdkVersion 30
38+
applicationId "com.example.bottle_crm"
39+
minSdkVersion 21
40+
targetSdkVersion 31
41+
multiDexEnabled true
4442
versionCode flutterVersionCode.toInteger()
4543
versionName flutterVersionName
4644
}
@@ -59,5 +57,7 @@ flutter {
5957
}
6058

6159
dependencies {
62-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
60+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
61+
implementation platform('com.google.firebase:firebase-bom:29.1.0')
62+
implementation 'com.google.firebase:firebase-analytics'
6363
}

android/app/google-services.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"project_info": {
3+
"project_number": "74115878447",
4+
"project_id": "bottle-crm-10074",
5+
"storage_bucket": "bottle-crm-10074.appspot.com"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:74115878447:android:858fb769df26bb2c5900da",
11+
"android_client_info": {
12+
"package_name": "com.example.bottle_crm"
13+
}
14+
},
15+
"oauth_client": [
16+
{
17+
"client_id": "74115878447-0r10i3hk3mma0u2vaenbsbtvvtud5sv5.apps.googleusercontent.com",
18+
"client_type": 3
19+
}
20+
],
21+
"api_key": [
22+
{
23+
"current_key": "AIzaSyD8es-uwk_IlZsuHWlEwfiEZfsrENKXRgA"
24+
}
25+
],
26+
"services": {
27+
"appinvite_service": {
28+
"other_platform_oauth_client": [
29+
{
30+
"client_id": "74115878447-0r10i3hk3mma0u2vaenbsbtvvtud5sv5.apps.googleusercontent.com",
31+
"client_type": 3
32+
}
33+
]
34+
}
35+
}
36+
}
37+
],
38+
"configuration_version": "1"
39+
}

android/app/src/debug/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.flutter_crm">
2+
package="com.example.bottle_crm">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/app/src/main/AndroidManifest.xml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.flutter_crm">
2+
package="com.example.bottle_crm">
3+
4+
<uses-permission android:name="android.permission.INTERNET"/>
5+
36
<application
47
android:label="Bottle CRM"
5-
android:icon="@mipmap/launcher_icon">
8+
android:icon="@mipmap/launcher_icon"
9+
android:usesCleartextTraffic="true">
610
<activity
11+
android:exported="true"
712
android:name=".MainActivity"
813
android:launchMode="singleTop"
914
android:theme="@style/LaunchTheme"
@@ -38,4 +43,4 @@
3843
android:name="flutterEmbedding"
3944
android:value="2" />
4045
</application>
41-
</manifest>
46+
</manifest>

android/app/src/main/kotlin/com/example/flutter_crm/MainActivity.kt renamed to android/app/src/main/kotlin/com/example/bottle_crm/MainActivity.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example.flutter_crm
1+
package com.example.bottle_crm
22

33
import io.flutter.embedding.android.FlutterActivity
44

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Modify this file to customize your launch splash screen -->
3+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:drawable="?android:colorBackground" />
5+
6+
<!-- You can insert your own image assets here -->
7+
<!-- <item>
8+
<bitmap
9+
android:gravity="center"
10+
android:src="@mipmap/launch_image" />
11+
</item> -->
12+
</layer-list>
-2.06 KB
Binary file not shown.

android/app/src/main/res/drawable/launch_background.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Modify this file to customize your launch splash screen -->
33
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4-
<item android:drawable="?android:colorBackground" />
4+
<item android:drawable="@android:color/white" />
55

66
<!-- You can insert your own image assets here -->
77
<!-- <item>
Loading
Loading
Loading
Loading
Loading

android/app/src/profile/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.flutter_crm">
2+
package="com.example.bottle_crm">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
buildscript {
2-
ext.kotlin_version = '1.3.50'
2+
ext.kotlin_version = '1.6.10'
33
repositories {
44
google()
55
jcenter()
6+
maven { url 'https://jitpack.io' }
67
}
78

89
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.6.4'
10+
classpath 'com.android.tools.build:gradle:7.0.2'
1011
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12+
classpath 'com.google.gms:google-services:4.3.10'
1113
}
1214
}
1315

@@ -21,8 +23,6 @@ allprojects {
2123
rootProject.buildDir = '../build'
2224
subprojects {
2325
project.buildDir = "${rootProject.buildDir}/${project.name}"
24-
}
25-
subprojects {
2626
project.evaluationDependsOn(':app')
2727
}
2828

android/flutter_crm_android.iml

-29
This file was deleted.

android/gradle.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
org.gradle.jvmargs=-Xmx1536M
22
android.useAndroidX=true
33
android.enableJetifier=true
4-
android.enableR8=true

android/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

0 commit comments

Comments
 (0)