ionicfirebaseapp / flutter-app Goto Github PK
View Code? Open in Web Editor NEWFull Feature Todos Flutter Mobile app with fireStore integration.
Home Page: https://www.ionicfirebaseapp.com
License: Apache License 2.0
Full Feature Todos Flutter Mobile app with fireStore integration.
Home Page: https://www.ionicfirebaseapp.com
License: Apache License 2.0
Your guide has some errors on copy procedure and path !
example:
"To get the package name go to android >main >Android Mainfest.XML" but correct is:
"/android/src/main/Android Mainfest.XML"
Please review also entire chapter for a better english syntax and right paths:
"Once you download that you need to copy that contents present in the downloaded file then navigate to your project file directory inside that src>android >app >google service.json file open that and paste the contents you copied earlier.Then move to your project directory there you can find fire-store service .dart folder inside that you have to replace the following <-- following what??
If there is any issue please google it or if you fail to find any solution please feel free to report us , we will look into it."
also "src>android >app >google service.json" is a wrong path !
which is the right path for file "google service.json" ?
About firestoreService.dart i've seen these code:
fireStoreCommonService() async {
final FirebaseApp app = await FirebaseApp.configure(
name: 'test',
options: const FirebaseOptions(
googleAppID: '1:nnnnn',
gcmSenderID: 'nnnnnn',
apiKey: 'kkkkkkk',
projectID: 'idididid,
),
);
And i think i've to take these values from google service.json but i think it's better if you add the correspondence of the various fields since you used different names.. What do you think ?
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Note: /home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.7+1/android/src/main/java/io/flutter/plugins/firebase/cloudfirestore/CloudFirestorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.7+1/android/src/main/java/io/flutter/plugins/firebase/cloudfirestore/CloudFirestorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_twitter_login-1.1.0/android/src/main/java/com/roughike/fluttertwitterlogin/fluttertwitterlogin/TwitterLoginPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/scheduled_notifications-1.0.0/android/src/main/java/dk/kjeldsen/scheduled_notifications/ScheduleNotificationsService.java:50: warning: [deprecation] Builder(Context) in Builder has been deprecated
Notification.Builder builder = new Notification.Builder(
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/scheduled_notifications-1.0.0/android/src/main/java/dk/kjeldsen/scheduled_notifications/ScheduleNotificationsService.java:62: warning: [deprecation] setDefaults(int) in Builder has been deprecated
.setDefaults(
^
/home/steve/google/flutter/.pub-cache/hosted/pub.dartlang.org/scheduled_notifications-1.0.0/android/src/main/java/dk/kjeldsen/scheduled_notifications/ScheduleNotificationsService.java:65: warning: [deprecation] setSound(Uri) in Builder has been deprecated
.setSound(
^
3 warningsGradle task assembleDebug failed with exit code 1
Exited (sigterm)
my doctor:
[✓] Flutter (Channel master, v1.13.9-pre.59, on Mac OS X 10.15.2 19C57, locale it-IT)
• Flutter version 1.13.9-pre.59 at /Users/mauro/Documents/SDK/flutter
• Framework revision ab36346af6 (20 hours ago), 2020-01-11 14:20:05 -0500
• Engine revision 3d37d39d95
• Dart version 2.8.0 (build 2.8.0-dev.0.0 395daaa3ec)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0-rc2)
• Android SDK at /Users/mauro/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.0-rc2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.41.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.7.1
[✓] Connected device (2 available)
• iPad Pro (11-inch) • 271E614C-7A42-47BB-A95E-795BBDB20840 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3
(simulator)
• macOS • macOS • darwin-x64 • Mac OS X 10.15.2 19C57
• No issues found!
On your docs:
https://docs.ionicfirebaseapp.com/todo/installation-guide
i read:
If you notice Gradle task assembly debug failed with exit code one error make sure to place JSON file inside the src>android>app folder and run flutter run and your application gets installed.
But, which JSON file ?
Running app with flutter run i've this error:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.