Изменил название пакета, начал работу по регистрации магазина

This commit is contained in:
Ivan Murashov
2017-07-13 18:59:31 +03:00
parent 715c9bf3bd
commit 4a153624db
8 changed files with 73 additions and 121 deletions

View File

@@ -15,18 +15,17 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
compileSdkVersion 21
buildToolsVersion '21.0.0'
lintOptions {
disable 'InvalidPackage'
}
defaultConfig {
targetSdkVersion 21
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.yourcompany.checker"
applicationId "com.dinnect.checker"
}
buildTypes {
@@ -48,7 +47,7 @@ flutter {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile 'com.android.support:support-annotations:25.4.0'
androidTestCompile 'com.android.support:support-annotations:21.0.0'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test:rules:0.5'
}

View File

@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourcompany.checker"
package="com.dinnect.checker"
android:versionCode="1"
android:versionName="0.0.1">

View File

@@ -1,4 +1,4 @@
package com.yourcompany.checker;
package com.dinnect.checker;
import android.app.Activity;
import android.content.pm.ActivityInfo;
@@ -29,8 +29,8 @@ import net.sourceforge.zbar.Symbol;
import net.sourceforge.zbar.SymbolSet;
import net.sourceforge.zbar.Config;
import com.yourcompany.checker.R;
import com.yourcompany.checker.view.CameraPreview;
import com.dinnect.checker.R;
import com.dinnect.checker.view.CameraPreview;
public class CameraActivity extends Activity {

View File

@@ -1,9 +1,9 @@
package com.yourcompany.checker;
package com.dinnect.checker;
import android.os.Bundle;
import android.content.Intent;
import android.util.Log;
import com.yourcompany.checker.CameraActivity;
import com.dinnect.checker.CameraActivity;
import io.flutter.app.FlutterActivity;
import io.flutter.plugins.GeneratedPluginRegistrant;
@@ -15,7 +15,7 @@ import io.flutter.plugin.common.MethodChannel.Result;
public class MainActivity extends FlutterActivity {
private static final String CHANNEL = "com.yourcompany.checker/scanner";
private static final String CHANNEL = "com.dinnect.checker/scanner";
@Override
protected void onCreate(Bundle savedInstanceState) {

View File

@@ -1,4 +1,4 @@
package com.yourcompany.checker.view;
package com.dinnect.checker.view;
import java.io.IOException;