This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.appcompat.app.AppCompatActivity; | |
| import android.graphics.Bitmap; | |
| import android.graphics.BitmapFactory; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.widget.TextView; | |
| import org.tensorflow.lite.support.image.TensorImage; | |
| import org.tensorflow.lite.support.label.Category; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:background="@android:color/black"> | |
| <ImageView | |
| android:id="@+id/viewFinder" | |
| android:layout_width="match_parent" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| android { | |
| aaptOptions { | |
| noCompress "tflite" | |
| } | |
| } | |
| dependencies { | |
| implementation 'org.tensorflow:tensorflow-lite-task-vision:0.1.0' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stage('BUILD') { | |
| steps { | |
| sh ''' | |
| #!/bin/sh | |
| flutter build apk --debug | |
| ''' | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stage('GIT PULL') { | |
| steps { | |
| git | |
| branch: 'develop', | |
| credentialsId: '69c1c56e-01f7-4e54-b762-4e5db8191bbb', | |
| url: 'https://github.com/RanaRanvijaySingh/FlutterStarter.git' | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stage('DISTRIBUTE') { | |
| steps { | |
| appCenter | |
| apiToken: 'f51cd29ba6b2d34a84cd99bc37348db77624c614', | |
| ownerName: 'ranaranvijaysingh9-gmail.com', | |
| appName: 'Flutter-Starter', | |
| pathToApp: 'build/app/outputs/apk/debug/app-debug.apk', | |
| distributionGroups: 'AlphaTester' | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stage('TEST') { | |
| steps { | |
| sh 'flutter test' | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stage('GIT PULL') { | |
| steps { | |
| git branch: "develop", url: 'https://github.com/RanaRanvijaySingh/FlutterStarter.git' | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pipeline { | |
| agent any | |
| stages { | |
| stage('GIT PULL') { | |
| steps { | |
| git branch: "develop", url: 'https://github.com/RanaRanvijaySingh/FlutterStarter.git' | |
| } | |
| } | |
| stage('TEST') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": 1, | |
| "name": "Webonise lab", | |
| "start_date": 1370979604, | |
| "end_date": 1478893204, | |
| "logo": "https://media.glassdoor.com/sqll/532781/webonise-lab-squarelogo-1397159392536.png", | |
| "designations": [ | |
| "Software Engineer", | |
| "Sr. Software Engineer" | |
| ], |
NewerOlder