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

feat: implement optional group property for Preferences API

Open
#2,479 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
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, ios, java, javascript, swift
Domain
api, mobile, web-dev

Research direction

Review the @capacitor/preferences API definitions and the Android, iOS, and Web implementations, starting with the existing configure({group}) behavior and the GetOptions, SetOptions, RemoveOptions, and KeysOptions shapes. Done means an optional group can select separate preference buckets on all three platforms while preserving the configured group as the default.

Written by the indexing model from the issue text.

Description

platform: android platform: ios platform: web

Feature Request

Plugin

@capacitor/preferences

Description

Currently, all preferences share a global flat namespace configured globally by the configure({group}) API.

This makes it difficult to manage separate logical buckets (e.g., App Settings vs. User Preferences) or clear specific sets of data without affecting others, especially during app initialization.

Platform(s)

Android, iOS, Web

Preferred Solution

I'd like to add an optional group: string property in GetOptions, SetOptions, RemoveOptions.
Creating an optional argument KeysOptions with group: string.

This property would be set to the current configured group by default.

Dominant language
Java
Stars
682
Forks
689
Avg merge
5d 11h
Merged PRs (30d)
3

Getting set up

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 ionic-team/capacitor-plugins

All issues in ionic-team/capacitor-plugins

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.