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

solved error #5 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"cloud_firestore","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.7+1/","dependencies":["firebase_core"]},{"name":"file_picker","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-1.3.8/","dependencies":[]},{"name":"firebase_auth","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.11.1+12/","dependencies":["firebase_core"]},{"name":"firebase_core","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.0+8/","dependencies":[]},{"name":"firebase_storage","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-3.0.6/","dependencies":["firebase_core"]},{"name":"flutter_facebook_login","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/","dependencies":[]},{"name":"flutter_local_notifications","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-0.7.1+3/","dependencies":[]},{"name":"flutter_twitter_login","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_twitter_login-1.1.0/","dependencies":[]},{"name":"google_maps_flutter","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.2/","dependencies":[]},{"name":"google_sign_in","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.0.4/","dependencies":[]},{"name":"image_picker","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.0+16/","dependencies":[]},{"name":"location","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/location-2.3.5/","dependencies":[]},{"name":"scheduled_notifications","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/scheduled_notifications-1.0.0/","dependencies":[]},{"name":"shared_preferences","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.3+4/","dependencies":[]}],"android":[{"name":"cloud_firestore","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.7+1/","dependencies":["firebase_core"]},{"name":"file_picker","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-1.3.8/","dependencies":[]},{"name":"firebase_auth","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.11.1+12/","dependencies":["firebase_core"]},{"name":"firebase_core","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.0+8/","dependencies":[]},{"name":"firebase_storage","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-3.0.6/","dependencies":["firebase_core"]},{"name":"flutter_facebook_login","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/","dependencies":[]},{"name":"flutter_local_notifications","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-0.7.1+3/","dependencies":[]},{"name":"flutter_twitter_login","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_twitter_login-1.1.0/","dependencies":[]},{"name":"google_maps_flutter","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.2/","dependencies":[]},{"name":"google_sign_in","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.0.4/","dependencies":[]},{"name":"image_picker","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.0+16/","dependencies":[]},{"name":"location","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/location-2.3.5/","dependencies":[]},{"name":"scheduled_notifications","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/scheduled_notifications-1.0.0/","dependencies":[]},{"name":"shared_preferences","path":"/home/lucifermorningstar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.3+4/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"cloud_firestore","dependencies":["firebase_core"]},{"name":"file_picker","dependencies":[]},{"name":"firebase_auth","dependencies":["firebase_core"]},{"name":"firebase_core","dependencies":[]},{"name":"firebase_storage","dependencies":["firebase_core"]},{"name":"flutter_facebook_login","dependencies":[]},{"name":"flutter_local_notifications","dependencies":[]},{"name":"flutter_twitter_login","dependencies":[]},{"name":"google_maps_flutter","dependencies":[]},{"name":"google_sign_in","dependencies":[]},{"name":"image_picker","dependencies":[]},{"name":"location","dependencies":[]},{"name":"scheduled_notifications","dependencies":[]},{"name":"shared_preferences","dependencies":[]}],"date_created":"2020-10-06 20:36:17.268798","version":"1.22.0"}
Binary file modified android/.gradle/5.4.1/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified android/.gradle/5.4.1/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified android/.gradle/5.4.1/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified android/.gradle/5.4.1/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified android/.gradle/5.4.1/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified android/.gradle/5.4.1/javaCompile/classAnalysis.bin
Binary file not shown.
Binary file modified android/.gradle/5.4.1/javaCompile/jarAnalysis.bin
Binary file not shown.
Binary file modified android/.gradle/5.4.1/javaCompile/javaCompile.lock
Binary file not shown.
Binary file modified android/.gradle/5.4.1/javaCompile/taskHistory.bin
Binary file not shown.
Binary file modified android/.gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified android/.gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
2 changes: 2 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ if (flutterVersionName == null) {
}

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

def keystoreProperties = new Properties()
Expand Down
12 changes: 3 additions & 9 deletions android/app/src/main/java/com/example/todoapp/MainActivity.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
package app.ionicfirebaseapp.todoproapp;
import io.flutter.embedding.android.FlutterActivity;


import android.os.Bundle;
import io.flutter.app.FlutterActivity;
import io.flutter.plugins.GeneratedPluginRegistrant;

public class MainActivity extends FlutterActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GeneratedPluginRegistrant.registerWith(this);
}

}
2 changes: 2 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
mavenCentral()
google()
Expand All @@ -8,6 +9,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.google.gms:google-services:4.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"


}
Expand Down
1 change: 1 addition & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true

android.enableR8=true
4 changes: 2 additions & 2 deletions android/local.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sdk.dir=/home/deepika/Android/Sdk
flutter.sdk=/home/deepika/flutter
sdk.dir=/home/lucifermorningstar/Android/Sdk
flutter.sdk=/home/lucifermorningstar/Documents/flutter
flutter.buildMode=debug
flutter.versionName=1.0.2
flutter.versionCode=3
10 changes: 10 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
include ':app'

def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()

assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }

def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"

def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()

def plugins = new Properties()
Expand Down
3 changes: 3 additions & 0 deletions ios/Runner/GeneratedPluginRegistrant.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@

#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

@interface GeneratedPluginRegistrant : NSObject
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
@end

NS_ASSUME_NONNULL_END
#endif /* GeneratedPluginRegistrant_h */
70 changes: 70 additions & 0 deletions ios/Runner/GeneratedPluginRegistrant.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,90 @@
//

#import "GeneratedPluginRegistrant.h"

#if __has_include(<cloud_firestore/CloudFirestorePlugin.h>)
#import <cloud_firestore/CloudFirestorePlugin.h>
#else
@import cloud_firestore;
#endif

#if __has_include(<file_picker/FilePickerPlugin.h>)
#import <file_picker/FilePickerPlugin.h>
#else
@import file_picker;
#endif

#if __has_include(<firebase_auth/FirebaseAuthPlugin.h>)
#import <firebase_auth/FirebaseAuthPlugin.h>
#else
@import firebase_auth;
#endif

#if __has_include(<firebase_core/FirebaseCorePlugin.h>)
#import <firebase_core/FirebaseCorePlugin.h>
#else
@import firebase_core;
#endif

#if __has_include(<firebase_storage/FirebaseStoragePlugin.h>)
#import <firebase_storage/FirebaseStoragePlugin.h>
#else
@import firebase_storage;
#endif

#if __has_include(<flutter_facebook_login/FacebookLoginPlugin.h>)
#import <flutter_facebook_login/FacebookLoginPlugin.h>
#else
@import flutter_facebook_login;
#endif

#if __has_include(<flutter_local_notifications/FlutterLocalNotificationsPlugin.h>)
#import <flutter_local_notifications/FlutterLocalNotificationsPlugin.h>
#else
@import flutter_local_notifications;
#endif

#if __has_include(<flutter_twitter_login/TwitterLoginPlugin.h>)
#import <flutter_twitter_login/TwitterLoginPlugin.h>
#else
@import flutter_twitter_login;
#endif

#if __has_include(<google_maps_flutter/GoogleMapsPlugin.h>)
#import <google_maps_flutter/GoogleMapsPlugin.h>
#else
@import google_maps_flutter;
#endif

#if __has_include(<google_sign_in/GoogleSignInPlugin.h>)
#import <google_sign_in/GoogleSignInPlugin.h>
#else
@import google_sign_in;
#endif

#if __has_include(<image_picker/ImagePickerPlugin.h>)
#import <image_picker/ImagePickerPlugin.h>
#else
@import image_picker;
#endif

#if __has_include(<location/LocationPlugin.h>)
#import <location/LocationPlugin.h>
#else
@import location;
#endif

#if __has_include(<scheduled_notifications/ScheduledNotificationsPlugin.h>)
#import <scheduled_notifications/ScheduledNotificationsPlugin.h>
#else
@import scheduled_notifications;
#endif

#if __has_include(<shared_preferences/SharedPreferencesPlugin.h>)
#import <shared_preferences/SharedPreferencesPlugin.h>
#else
@import shared_preferences;
#endif

@implementation GeneratedPluginRegistrant

Expand Down
Loading