gregertw / actingweb_firstapp Goto Github PK
View Code? Open in Web Editor NEWStarter app for Flutter that includes many different production app features; some not typically included in demo apps.
License: Other
Starter app for Flutter that includes many different production app features; some not typically included in demo apps.
License: Other
thanks, this helps a lot. Any plans for bloc pattern
version of the app?
void webLogin() async {
try {
var response = await auth.webAuth.authorize({
'audience': 'https://${auth.auth.client.domain}/userinfo',
'scope': 'openid email offline_access',
});
print(response);
DateTime now = DateTime.now();
showInfo('Web Login hi', '''
\ntoken_type: ${response['token_type']}
\nexpires_in: ${DateTime.fromMillisecondsSinceEpoch(response['expires_in'] + now.millisecondsSinceEpoch)}
\nrefreshToken: ${response['refresh_token']}
\naccess_token: ${response['access_token']}
\nid_token:${response['id_token']}
''');
webLogged = true;
currentWebAuth = Map.from(response);
This is from devdennysegura/flutter-auth0 (Pkce.dart)
This line: \nid_token:${response['id_token']}
is giving the jwt token, Want to save this id_token in sharedpreference , How to achieve it?
Is there a particular reason you didn't use Firebase Auth?
Recent Android and Xcode updates as well as flutter 1.22 require a number of changes and updates
https://github.com/gregertw/actingweb_firstapp/tree/add_mac_support has a basic working MacOS support. Unfortunately, the google_maps_flutter plugin does not yet support macos, so the experience is not really there. Of course, as a template for other apps, it is still helpful, but the template should be running before I want to merge something to master.
Upcoming null-safe Dart requires to verify that all underlying libs are null-safe and then move to null-safe.
https://medium.com/dartlang/announcing-dart-2-10-350823952bd5
hi ,
would it be possible for you to add a github pipeline config here ? including for production ?
i realise that the pipeline run would cost money, so you could just add the .github directory under some other name. it would be super helpful to use this repo.
Hi,
I have downloaded your project and when try run or upgrade the project i get this error:
Because first_app depends on flutter_auth0 from path which doesn't exist (could not find package flutter_auth0 at "../flutter-auth0"), version solving failed.
Running "flutter pub get" in actingweb_firstapp...
pub get failed (66)
Can anyone help me?
Started work on flutter 1.26 in new branch flutter_1.26
Heads up with latest code in repo, seeing the following issue on pub get
Running "flutter pub get" in PicApp2...
Because test >=1.20.0 depends on test_api 0.4.9 and test >=1.19.4 <1.20.0 depends on test_api 0.4.8, test >=1.19.4 requires test_api 0.4.8 or 0.4.9.
And because every version of flutter_test from sdk depends on test_api 0.4.3, flutter_test from sdk is incompatible with test >=1.19.4.
So, because first_app depends on both flutter_test from sdk and test ^1.19.5, version solving failed.
pub get failed (1; So, because first_app depends on both flutter_test from sdk and test ^1.19.5, version solving failed.)
Reference : Possible resolutions...
https://stackoverflow.com/questions/70396969/how-can-i-use-flutter-test-from-sdk-and-the-package-test-what-version-of-test-u
Both iOS and Android support direct app reaction from push notifications (i.e. not go via the system notification system and wait for the user to tap the message). This was quite tricky in earlier versions of firebase_messaging, however, the plugin has been reworked and should now support such background reaction directly. This needs to be tested and verified though, and custom logic is needed for this type of push notifications.
From README:
This app can receive notifications while in the background or terminated through the onResume() and onLaunch() events. You should only use so-called "notification" messages and not "data" messages for this (though you can have extra key/value pairs in the "data" section). For both Android and iOS, the notification will appear in the system tray and the app is launched and onResume() or onLaunch() triggered. It is also possible to make app react directly from the background to notifications. However, this requires custom logic for Android and iOS and is not straightforward, so be warned. There was also a bug related to background handling: https://github.com/FirebaseExtended/flutterfire/issues/1763 This is now fixed, but I have not prioritised trying to make it work.
Hi, i've tried to run with last flutter v1.12.13+hotfix.6
but i've this err:
Running "flutter pub get" in actingweb_firstapp...
Because first_app depends on flutter_auth0 from path which doesn't exist (could not find package flutter_auth0 at "../flutter-auth0"), version solving failed.
pub get failed (66; Because first_app depends on flutter_auth0 from path which doesn't exist (could not find package flutter_auth0 at "../flutter-auth0"), version solving failed.)
exit code 66
Some have tried ?
geolocator has breaking changes and split in two with geocoding supporting Placemarks etc. Need to upgrade and change geolocator code throughout.
There are many sample apps with UI/UX designs out there. It should be fairly simple to use some of those and then use the first_app structure and "plumbing" to get started. However, a more thought out UI with some real functionality (as in useful) could maybe be of help to some.
With Flutter 2 came integration test support in the SDK. The project should be migrated to use the new integration testing.
https://flutter.dev/docs/testing/integration-tests#migrating-from-flutter_driver
The plugin is immature. Maybe it should be replaced at some point, but at least catch the use of the plugin to avoid a console error.
More detail is needed on what to expect of the out-of-the-box auth setup and how to setup your own client, e.g. Google.
Ref #38
I downloaded code and tried to "flutter packages get" and "flutter pub get". I get this error:
Because first_app depends on flutter_auth0 from path which doesn't exist (could not find package flutter_auth0 at "../flutter-auth0"), version solving failed.
pub get failed (66)
exit code 66
ReadMe file can include how to install and run. :/
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.