Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Refactor and improve `GIDEMMSupport` parameters and tests

Open
#611 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
objective-c

Research direction

Start by reading the GIDEMMSupport implementation and its existing unit tests, especially parametersWithParameters and the tests that swizzle UIDevice. Check how the public API exposes this behavior and identify which tests rely on real device state. Done means nested-array key parameters are safely dropped, UIDevice mocking is consistent and hermetic, and coverage exercises the public API where appropriate.

Written by the indexing model from the issue text.

Description

enhancement triage

This issue tracks follow-up improvements identified during the review of PR #608. We need to address the following technical debt and testing improvements:

  • Handle nested data structures: Ensure that the parametersWithParameters function safely drops key parameters that contain values like a nested array.
  • Standardize UIDevice mocking: Fix the tests that are swizzling UIDevice to "Not Do That," or ensure all tests are doing it the same way. Relying on the real UIDevice will make tests non-hermetic.
  • Uplevel tests to the public API: Consider upleveling the new GIDEMMSupport unit tests to test against the public API instead of testing internal classes in isolation.
Dominant language
Objective-C
Stars
751
Forks
282
Avg merge
4d 20h
Merged PRs (30d)
11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/GoogleSignIn-iOS

All issues in google/GoogleSignIn-iOS

Similar issues

More Objective-C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.