
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@capawesome/capacitor-managed-configurations
Advanced tools
Capacitor plugin to access managed configuration settings.
Capacitor plugin to access managed configuration settings.
npm install @capawesome/capacitor-managed-configurations
npx cap sync
See Define managed configurations and follow the instructions to declare the app's managed configurations correctly.
No configuration required for this plugin.
A working example can be found here: robingenz/capacitor-plugin-demo
import { ManagedConfigurations } from '@capawesome/capacitor-managed-configurations';
const getString = async () => {
const result = await ManagedConfigurations.getString({ key: 'server_url' });
return result.value;
};
const getNumber = async () => {
const result = await ManagedConfigurations.getNumber({ key: 'server_port' });
return result.value;
};
const getBoolean = async () => {
const result = await ManagedConfigurations.getBoolean({
key: 'download_on_cellular',
});
return result.value;
};
getString(options: GetOptions) => Promise<GetResult<string>>
Fetches the value associated with the given key, or null
if no mapping exists for the given key.
Only available on Android and iOS.
Param | Type |
---|---|
options | GetOptions |
Returns: Promise<GetResult<string>>
getNumber(options: GetOptions) => Promise<GetResult<number>>
Fetches the value associated with the given key, or null
if no mapping exists for the given key.
Only available on Android and iOS.
Param | Type |
---|---|
options | GetOptions |
Returns: Promise<GetResult<number>>
getBoolean(options: GetOptions) => Promise<GetResult<boolean>>
Fetches the value associated with the given key, or null
if no mapping exists for the given key.
Only available on Android and iOS.
Param | Type |
---|---|
options | GetOptions |
Returns: Promise<GetResult<boolean>>
Prop | Type | Description |
---|---|---|
value | T | null | The value of the configuration entry, or null if no mapping exists for the given key. |
Prop | Type | Description |
---|---|---|
key | string | Unique key for the configuration entry. |
On Android, see Set up device owner for testing and follow the instructions to set up a device owner testing environment.
On iOS, you need to install the app as a managed app with a MDM solution.
See CHANGELOG.md.
See LICENSE.
This plugin is based on the Capacitor Managed Configurations plugin. Thanks to everyone who contributed to the project!
FAQs
Capacitor plugin to access managed configuration settings.
The npm package @capawesome/capacitor-managed-configurations receives a total of 1,118 weekly downloads. As such, @capawesome/capacitor-managed-configurations popularity was classified as popular.
We found that @capawesome/capacitor-managed-configurations demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.