Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added google signin page #7

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
fcb23a5
Update README.md
thamaraiselvam Jul 30, 2019
d7aeb56
Update README.md
thamaraiselvam Jul 30, 2019
cf35503
Update README.md
thamaraiselvam Jul 30, 2019
a41022d
Update README.md
thamaraiselvam Jul 30, 2019
61c11cb
Merge branch 'master' of github.com:thamaraiselvam/Flutter-Game-Add-N…
Jul 30, 2019
1dfc6d8
firebase core added
Jul 31, 2019
d62d8a2
Perfomance plugin added
Jul 31, 2019
dce7d73
added firebase analytics
Jul 31, 2019
01d607c
firebase re core added
Jul 31, 2019
95b670a
firebase analytics added
Jul 31, 2019
bb55556
branch merged with master
Jul 31, 2019
451220c
crashlytics added
Aug 1, 2019
ddd0b59
packages moved to right place
Aug 1, 2019
f6135ab
Leadership board renamed to leaderboard
Aug 1, 2019
df9e8cd
renamed
Aug 1, 2019
c2eea22
removed unused space
Aug 1, 2019
eb96944
Store score on game finsh to firebase
Aug 1, 2019
5b7e927
deploy building confuguration added and tested
Aug 1, 2019
bb11692
prod mode activated
Aug 1, 2019
0c70574
Add files via upload
thamaraiselvam Aug 1, 2019
f7b24c3
Update and rename privacy_policy (1).html to privacy_policy.html
thamaraiselvam Aug 1, 2019
911056e
Add files via upload
thamaraiselvam Aug 1, 2019
02b06bc
Delete privacy_policy.html
thamaraiselvam Aug 1, 2019
ff0196c
Update privacy_policy.md
thamaraiselvam Aug 1, 2019
0258783
Update README.md
thamaraiselvam Aug 1, 2019
de5ad3e
Update README.md
thamaraiselvam Aug 1, 2019
e2c72cf
Update README.md
thamaraiselvam Aug 1, 2019
3157af5
Update README.md
thamaraiselvam Aug 1, 2019
f45eeb0
Update README.md
thamaraiselvam Aug 1, 2019
aa671f6
Update README.md
thamaraiselvam Aug 1, 2019
6ae12de
Update README.md
thamaraiselvam Aug 2, 2019
0257e73
Create LICENSE
thamaraiselvam Aug 2, 2019
1887819
Merge pull request #1 from thamaraiselvam/add-license-1
thamaraiselvam Aug 2, 2019
f6b7ced
Update issue templates
thamaraiselvam Aug 2, 2019
f791830
Update issue templates
thamaraiselvam Aug 2, 2019
953df5a
Create CODE_OF_CONDUCT.md
thamaraiselvam Aug 2, 2019
0f909b5
Merge pull request #2 from thamaraiselvam/add-code-of-conduct-1
thamaraiselvam Aug 2, 2019
e227512
Update README.md
thamaraiselvam Aug 3, 2019
0c2d1be
Update README.md
thamaraiselvam Aug 13, 2019
c862a0f
Update README.md
thamaraiselvam Aug 13, 2019
3197284
added google signin page
SamiK28 Sep 30, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/key.properties
**/android/**/GeneratedPluginRegistrant.java

# iOS/XCode related
Expand Down
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Thamaraiselvam

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# Numbers - Flutter Game

A new Flutter project.
Numbers is a simple game built in Flutter Framework and is purely based on numbers to improve problem solving skills.

## Getting Started
<a href='https://play.google.com/store/apps/details?id=com.thamaraiselvam.numbers&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img width="300" height="100" alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png'/></a>

This project is a starting point for a Flutter application.
### Screenshots

A few resources to get you started if this is your first Flutter project:
<div>
<img style="float:left;" src="https://user-images.githubusercontent.com/6559664/62287369-5a43a000-b477-11e9-9fdd-74e28b7b17a8.png" width="200" height="200"/>
<img style="float:left; left: 60px" src="https://user-images.githubusercontent.com/6559664/62287367-5a43a000-b477-11e9-989c-3003f6d992bd.png" width="200" height="200"/>
<img style="float:left; left: 60px" src="https://user-images.githubusercontent.com/6559664/62287365-59ab0980-b477-11e9-876c-b40cb83d592b.png" width="200" height="200"/>
<img style="float:left; left: 60px" src="https://user-images.githubusercontent.com/6559664/62287364-59ab0980-b477-11e9-8ee1-be59c6c75c03.png" width="200" height="200"/>
<img style="float:left; left: 60px" src="https://user-images.githubusercontent.com/6559664/62287363-59127300-b477-11e9-8ee5-75b76c049991.png" width="200" height="200"/>
<img style="float:left; left: 60px" src="https://user-images.githubusercontent.com/6559664/62287362-59127300-b477-11e9-9433-a6146dd5edcb.png" width="200" height="200"/>
</div>

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
### How to play

Just match the target shown by adding one or more number blocks. <a href="https://youtu.be/vlFNJ0v2sPo" target="_blank"> See Demo Here </a>

<a href="https://github.com/thamaraiselvam/Numbers-Flutter-Game/blob/master/privacy_policy.md">Privacy Policy</a>
41 changes: 31 additions & 10 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ if (flutterVersionName == null) {
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
compileSdkVersion 28

Expand All @@ -33,21 +39,31 @@ android {

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

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

flutter {
Expand All @@ -56,6 +72,11 @@ 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 'com.android.support.test:runner:1.1.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.1.1'
implementation 'com.google.firebase:firebase-core:17.0.1'
implementation 'com.android.support:multidex:1.0.3'
}

apply plugin: 'com.google.gms.google-services'
apply plugin: 'io.fabric'
40 changes: 40 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"project_info": {
"project_number": "949039664482",
"firebase_url": "https://numbers-game-793c3.firebaseio.com",
"project_id": "numbers-game-793c3",
"storage_bucket": "numbers-game-793c3.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:949039664482:android:805680a6bc372b6a",
"android_client_info": {
"package_name": "com.thamaraiselvam.numbers"
}
},
"oauth_client": [
{
"client_id": "949039664482-2fvmt0aa8ngpmg70gtr9efuv2rm01se7.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBqA77WYFEVn_Ty7fER_21cHFjZAcHZQn8"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "949039664482-2fvmt0aa8ngpmg70gtr9efuv2rm01se7.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
7 changes: 7 additions & 0 deletions android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
2 changes: 1 addition & 1 deletion android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.numbers">
package="com.thamaraiselvam.numbers">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
4 changes: 3 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.numbers">
package="com.thamaraiselvam.numbers">

<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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.numbers;
package com.thamaraiselvam.numbers;

import android.os.Bundle;
import io.flutter.app.FlutterActivity;
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.numbers">
package="com.thamaraiselvam.numbers">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
8 changes: 7 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
buildscript {
repositories {
google()
maven {
url 'https://maven.fabric.io/public'
}
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.google.gms:google-services:4.3.0'
classpath 'io.fabric.tools:gradle:1.+'
}
}

allprojects {
repositories {
google()
jcenter()
maven { url 'https://maven.fabric.io/public' }
}
}

Expand Down
3 changes: 2 additions & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
org.gradle.jvmargs=-Xmx1536M

android.useAndroidX=true
android.enableJetifier=true
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ 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.1.1-all.zip
Binary file added assets/images/gvector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=C:\Users\samar\flutter"
export "FLUTTER_APPLICATION_PATH=C:\Flutter Projects\HacktoberFest 2019\Numbers-Flutter-Game"
export "FLUTTER_TARGET=lib\main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build\ios"
export "FLUTTER_FRAMEWORK_DIR=C:\Users\samar\flutter\bin\cache\artifacts\engine\ios"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
Loading