-
-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Fix: Unable to logout after initial login ( closes 1581 ) #1620
Bug Fix: Unable to logout after initial login ( closes 1581 ) #1620
Conversation
gives sample demo for `TalawaPluginProvider `
…ibility in navbar
import 'package:talawa/widgets/custom_progress_dialog.dart'; | ||
|
||
import '../../../widgets/custom_progress_dialog.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refractor: This is the conventional way of importing packages.
try { | ||
Firebase.app() | ||
.delete(); // Deleting app will stop all Firebase plugins | ||
} catch (e) { | ||
debugPrint( | ||
"ERROR: Unable to delete firebase app" + e.toString()); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix: Firebase throws error if it's not initialized previously. Added a try {..} catch{..}
to fix it,
Closing. You are not assigned the issue. |
Reopening as the assignee asked that you work on it. |
Codecov Report
@@ Coverage Diff @@
## develop #1620 +/- ##
===========================================
+ Coverage 77.34% 80.38% +3.04%
===========================================
Files 145 145
Lines 7216 7275 +59
===========================================
+ Hits 5581 5848 +267
+ Misses 1635 1427 -208
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@palisadoes Sir, the code is ready to be reviewed. |
…doesFoundation#1620) * Create .gitpod.yml * Create .gitpod.Dockerfile * Add/temp-file * Add/temp-plugin gives sample demo for `TalawaPluginProvider ` * remove/unecessary-files#1 * remove/unecessary-files#2 * Add/TalwaPluginProvider * Add/queries `getPluginsList` * Docs for 'TalawaPluginProvider' * `Add/fetch_plugin_list` * Refractoring & adding `fetchPlugins` in main * Delete sa.dart * Delete tempPlugin.dart * Test/ `Tawla Plugin Provider` * Refractor : Added `Braintree` config in AndroidManifest.xml * Refractor : Added `Talawa_plugin_provider_nav` to control plugins visibility in navbar * Update : Main file setState fix * Changed ios version from `10.0` to `12.0` * Add : `Donation` feature as Plugin with braintree API * Add : `createDonation` Mutation * Fix : `Plugin` render bug * Chores : Formatted files * Add : `navBarItems` (features) as plugins * Chores : Formatting * Update : Profile removed key * Chores : Add `Flutter_Braintree` * Chores : Fix `Lint errors` * Fix : Formatting Errors * Delete talawa_plugin_provider_nav.dart * Update pull-request.yml * Added a empty line in main * Update pull-request.yml * Fix : Faling tests * Fix : Failing test PalisadoesFoundation#2 commented out `teste.pumpAndSetttle` * Remove : all the changes done in the `custom_drawer_test.dart` Removed everthing that I've added to check if it will pass the test or not. * PR Fail Fix Attempt PalisadoesFoundation#1 : Added `fetchPluginLIst` in `main.dart` * PR Fail Fix Attempt PalisadoesFoundation#2 : Commenting test cases to check furthur problems * Chores : Commented Imports * Deleted : Test file * Fix: Trigger workflow * Add : Faling test back `custom_drawer_test.dart` * Add Test for `utils/query.dart` * Add : Tests `queries_test.dart` * Add : Tests `chat_queries_test.dart` * Add : Test for `comment_queries_test.dart` * Add : test for `event_queries_test` * Add : test for `post_qurie..dart` * Add : test for `post_query.dart` * Add : test for `task_queries.dart` * Add : test for `utils/validator.dart` * Fix : failing tests * Test : Failing test uncommented `custom_drawer_test.dart` * Fix : Commented `custom_drawer_test.dart` * removed utils tests * Removed Commented Code * add/table of contents and link to installation file. * Add/ Date validation closes PalisadoesFoundation#1590 * Add Import * Add/ Date validation closes PalisadoesFoundation#1590 * Fix login bug closes PalisadoesFoundation#1581 * removed extra changes * CI CD FIX
What kind of change does this PR introduce?
Logout feature was not working I've fixed the issue.
Issue Number:
Fixes #1581
Did you add tests for your changes?
Not required
Snapshots/Videos:
talawa.023.rea.mp4
Does this PR introduce a breaking change?
No
Have you read the contributing guide?
yes