Git Product home page Git Product logo

gregertw / actingweb_firstapp Goto Github PK

View Code? Open in Web Editor NEW
457.0 16.0 80.0 9.2 MB

Starter app for Flutter that includes many different production app features; some not typically included in demo apps.

Home Page: https://medium.com/flutter-community/why-and-how-you-should-use-a-flutter-starter-app-even-if-you-are-not-a-beginner-78bd901dea5a

License: Other

Ruby 1.46% Objective-C 0.04% Dart 91.55% Swift 0.54% JavaScript 1.65% HTML 4.62% Kotlin 0.14%
flutter flutter-examples auth0 internationalization firebase crashlytics location provider ios dart

actingweb_firstapp's Introduction

actingweb_firstapp's People

Contributors

gregertw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

actingweb_firstapp's Issues

Great job

thanks, this helps a lot. Any plans for bloc pattern version of the app?

need help to extract id_token

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?

Auth

Is there a particular reason you didn't use Firebase Auth?

Support new flutter 1.22

Recent Android and Xcode updates as well as flutter 1.22 require a number of changes and updates

Log in with Google ..results odd navigation?

I am using beta build and running with latest Flutter.

I am seeing this...
image

click login
image

choosing my gmail account, navigates me to this
image

Seems like an odd experience and have yet to see the other screens by just logging in. The master branch had the same issue as well.

github pipeline/ci ?

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.

Auth0 problems

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)
  • Flutter run failed
  • Flutter pub get failed

Can anyone help me?

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

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

Support direct reaction for background messages

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.

is it working ?

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 ?

Upgrade to geolocator >6.0.0

geolocator has breaking changes and split in two with geocoding supporting Placemarks etc. Need to upgrade and change geolocator code throughout.

UI is simple, a more complete app UI could be of help to some

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.

Improve auth config readme

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

Can't Get Packages

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. :/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.