Comments (17)
from parse-sdk-flutter.
yes for sure I'm going to use it on a project and I need to support flutter and angular dart
from parse-sdk-flutter.
I found this one https://pub.dartlang.org/packages/sembast
but I think it will be easy to replace shared_preferences with it but when I try to do this I found another flutter dependances like package_info I think we could separate parse client support dart VM and for flutter, we could like installation, and push notification in another module.
because for the push notification if you are going to support it, it will require platform channel
from parse-sdk-flutter.
Hey Ahmed,
Your correct in suggesting Sembast, I'm using that in the example project in the repository layer at the moment, it does seem like a possible solution. At the moment, I just haven't had time to implement it.
That's great suggestion with regards to separating packages. I will look into that too, and possible release it as 2 libraries.
Do you have any experience in this type of work? I could definitely use some help?
from parse-sdk-flutter.
I don't have much experience in Dart, but I have experience in Android and iOS,
I will try to do some investigation on that and back for you
from parse-sdk-flutter.
i think this article is useful https://www.toptal.com/cross-platform/code-sharing-angular-dart-flutter-bloc
from parse-sdk-flutter.
from parse-sdk-flutter.
yeah I know bloc and used it an inside project, I just talking about the concept and how he split and used the bloc module for both Flutter and angular also for the interface of [preferences_interface](https://github.com/budo385/todo_bloc_app/blob/master/bloc/lib/src/repository/preferences/preferences_interface.dart and )
,
okay I cloned the repo and I will keep tracing and thanks for your great job
from parse-sdk-flutter.
hello I did some modification the code and make parse code depends only on Dart and I test it on Dart VM and web and it works successfully the only limitation with PraseFile I used sembast as database also I make optional to chose I database you want to depend on shared_preferences or and kind of db
just implement the interface and implement DB class with the way you like.
from parse-sdk-flutter.
from parse-sdk-flutter.
yes I will clean and organize the code and make pull request ASAP maybe at the end of the week
from parse-sdk-flutter.
from parse-sdk-flutter.
I think Flutter Web is a better option and requires less work to be done
It's merging in flutter master branch already, I was able even to run some simple project
shared_preferences can be easily ported to flutter web in 30 minutes or so
from parse-sdk-flutter.
I try to test the SDK on sample flutter web app, but it's doesn't work because it depends on some platform channel, that's not supported on flutter web below the errors that I got
You have a dependency on flutter
which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on path_provider
which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on shared_preferences
which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
from parse-sdk-flutter.
@WahdanZ I weren't expecting interest in it, but well
Current flutter web manual doesn't expect using master branch, but a fork
To run using flutter web from master you have to
- Create
web
directory withindex.html
in it:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script defer src="main.dart.js" type="application/javascript"></script>
</head>
<body>
</body>
</html>
- Run
export FLUTTER_WEB=true
(lin/mac, dunno what to use in windows) - Check that web device appeared in
flutter devices
- Run
flutter run -d web
from parse-sdk-flutter.
There's not been much movement on this recently. Are we safe to close?
from parse-sdk-flutter.
I am now closing this. Feel free to reopen if there is still a problem.
from parse-sdk-flutter.
Related Issues (20)
- Incorrect Dart support policy HOT 15
- Update your packages HOT 2
- Compilation error due to `LiveQueryClientEvent` not exhaustively matched HOT 5
- `installationId` in LiveQuery `connect` HOT 3
- Request to update dependency paackages HOT 2
- whereContainedIn issues HOT 2
- whereContainedIn not working HOT 2
- whereContainedIn not work HOT 1
- Push notification not working in iOS HOT 4
- parse_server_sdk_flutter won't work with google_fonts HOT 3
- Attempt to invoke virtual method 'java.io.File com.parse.ParsePlugins.getFilesDir()' on a null object reference HOT 7
- depends on parse_server_sdk_flutter ^7.0.0 which depends on package_info_plus ^4.0.2 HOT 2
- web_socket_channel 2.4.2 breaks parse HOT 4
- connectivity_plus plugin latest versions are not supported HOT 4
- Update parse_server_sdk http version from ^0.13.5 to last version(http: ^1.2.1) HOT 4
- Support `XFile` HOT 5
- Docs workflow not running HOT 4
- package connectivity_plus is old HOT 2
- Why do you refuse to update your packages? HOT 3
- Update for wasm HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parse-sdk-flutter.