CarGuo / gsy_github_app_flutter

Flutter 超完整的开源项目,功能丰富,适合学习和日常使用。GSYGithubApp系列的优势:我们目前已经拥有Flutter、Weex、ReactNative、kotlin 四个版本。 功能齐全,项目框架内技术涉及面广,完成度高,持续维护,配套文章,适合全面学习,对比参考。跨平台的开源Github客户端App,更好的体验,更丰富的功能,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验Σ( ̄。 ̄ノ)ノ。同款Weex版本 : https://github.com/CarGuo/GSYGithubAppWeex 、同款React Native版本 : https://github.com/CarGuo/GSYGithubApp 、原生 kotlin 版本 https://github.com/CarGuo/GSYGithubAppKotlin
https://juejin.im/user/582aca2ba22b9d006b59ae68/posts
Apache License 2.0
14.93k stars 2.57k forks source link

404 error #791

Closed andsofine closed 2 years ago

andsofine commented 2 years ago

unable to register. maybe I'm doing something wrong. but you can make an automatic request for access to your account as in the openhub or octodroid. there you don’t even need to enter anything because I was already logged in to the browser (but gsy doesn't seem to see it) and just granted access.

CarGuo commented 2 years ago
  1. you need to create a ignoreConfig.dart file in the lib/common/config/directory by yourself :
 class NetConfig {
   static const CLIENT_ID = "xxxx";

   static const CLIENT_SECRET = "xxxxxxxxxxx";
 }
  1. Register Github APP Github App Authorization callback URL must be gsygithubapp://authed

  2. Login Page click OAuth button4.

  3. your GitHub account

andsofine commented 2 years ago
  1. you need to create a ignoreConfig.dart file in the lib/common/config/directory by yourself :
 class NetConfig {
   static const CLIENT_ID = "xxxx";

   static const CLIENT_SECRET = "xxxxxxxxxxx";
 }
  1. Register Github APP Github App Authorization callback URL must be gsygithubapp://authed
  2. Login Page click OAuth button4.
  3. your GitHub account
  1. but there already exists such a file.?
  2. how to fill in the "Homepage URL" field? and should I enable device flow?

and yet, is it possible to update the application so that everything works automatically like the clients that I cited as an example above? ("OpenHub" has not been updated for a year, but authorization still works fine)

CarGuo commented 2 years ago

1、click Register Github APP and regsiter your github app

2 、put gsygithubapp://authed like image below, other as your like:

image

3、register success you got CLIENT_ID & CLIENT_SECRET

4、 put it into ignoreConfig.dart file

all above is your want to build app by source code

andsofine commented 2 years ago

1、click Register Github APP and regsiter your github app

2 、put gsygithubapp://authed like image below, other as your like:

image

3、register success you got CLIENT_ID & CLIENT_SECRET

4、 put it into ignoreConfig.dart file

all above is your want to build app by source code

I'm using the f-droid version. (and got it is this the latest version?)

andsofine commented 2 years ago

1、click Register Github APP and regsiter your github app 2 、put gsygithubapp://authed like image below, other as your like: image 3、register success you got CLIENT_ID & CLIENT_SECRET 4、 put it into ignoreConfig.dart file all above is your want to build app by source code

I'm using the f-droid version. (and got it is this the latest version?)

and on the f-droid version i get a 404 error

andsofine commented 2 years ago

could you please update the app on f-droid?

CarGuo commented 2 years ago

sorry, I'm not sure that what you mean ?
you download the apk I build before ,and then auth by GitHub result in 404 ?

I test this case work well with the last apk

andsofine commented 2 years ago

sorry, I'm not sure that what you mean ? you download the apk I build before ,and then auth by GitHub result in 404 ?

I test this case work well with the last apk

my fault, i thought you uploaded the app to the official f-droid repository. but refuses I downloaded the apk (which gives an error and does not request access to the account) from the Izziondroid repository. as far as I understand, it was not you who uploaded the apk there.

in that case, I have a request to add the app to f-droid. what do you think?

CarGuo commented 2 years ago

Everytime I will publish apk at https://github.com/CarGuo/gsy_github_app_flutter/releases, so If you want to add the app to f-droid , help yourself