Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Commit

Permalink
refactor!: rename to @capawesome/capacitor-managed-configurations (#14
Browse files Browse the repository at this point in the history
)


BREAKING CHANGE: This plugin was renamed to `@capawesome/capacitor-managed-configurations`. Please install the new npm package and run `npx cap sync`.
  • Loading branch information
robingenz committed Aug 4, 2022
1 parent c671919 commit 7b0404b
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = 'RobingenzCapacitorManagedConfigurations'
s.name = 'CapawesomeCapacitorManagedConfigurations'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '12.0'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
end
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
<p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>
<h3 align="center">Managed Configuration</h3>
<p align="center"><strong><code>@robingenz/capacitor-managed-configurations</code></strong></p>
<p align="center"><strong><code>@capawesome/capacitor-managed-configurations</code></strong></p>
<p align="center">
Capacitor plugin to access managed configuration settings.
</p>

<p align="center">
<img src="https://img.shields.io/maintenance/yes/2022?style=flat-square" />
<a href="https://github.com/robingenz/capacitor-managed-configurations/actions?query=workflow%3A%22CI%22"><img src="https://img.shields.io/github/workflow/status/robingenz/capacitor-managed-configurations/CI/main?style=flat-square" /></a>
<a href="https://www.npmjs.com/package/@robingenz/capacitor-managed-configurations"><img src="https://img.shields.io/npm/l/@robingenz/capacitor-managed-configurations?style=flat-square" /></a>
<a href="https://github.com/capawesome-team/capacitor-managed-configurations/actions?query=workflow%3A%22CI%22"><img src="https://img.shields.io/github/workflow/status/capawesome-team/capacitor-managed-configurations/CI/main?style=flat-square" /></a>
<a href="https://www.npmjs.com/package/@capawesome/capacitor-managed-configurations"><img src="https://img.shields.io/npm/l/@capawesome/capacitor-managed-configurations?style=flat-square" /></a>
<br>
<a href="https://www.npmjs.com/package/@robingenz/capacitor-managed-configurations"><img src="https://img.shields.io/npm/dw/@robingenz/capacitor-managed-configurations?style=flat-square" /></a>
<a href="https://www.npmjs.com/package/@robingenz/capacitor-managed-configurations"><img src="https://img.shields.io/npm/v/@robingenz/capacitor-managed-configurations?style=flat-square" /></a>
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square" /></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<a href="https://www.npmjs.com/package/@capawesome/capacitor-managed-configurations"><img src="https://img.shields.io/npm/dw/@capawesome/capacitor-managed-configurations?style=flat-square" /></a>
<a href="https://www.npmjs.com/package/@capawesome/capacitor-managed-configurations"><img src="https://img.shields.io/npm/v/@capawesome/capacitor-managed-configurations?style=flat-square" /></a>
<a href="https://github.com/capawesome-team"><img src="https://img.shields.io/badge/part%20of-capawesome-%234f46e5?style=flat-square" /></a>
</p>

## Maintainers
Expand All @@ -23,10 +21,18 @@
| ---------- | ----------------------------------------- | --------------------------------------------- |
| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |

## Sponsors

This is an MIT-licensed open source project.
It can grow thanks to the support by these awesome people.
If you'd like to join them, please read more [here](https://github.com/sponsors/capawesome-team).

<!-- sponsors --><!-- sponsors -->

## Installation

```bash
npm install @robingenz/capacitor-managed-configurations
npm install @capawesome/capacitor-managed-configurations
npx cap sync
```

Expand All @@ -45,7 +51,7 @@ A working example can be found here: [robingenz/capacitor-plugin-demo](https://g
## Usage

```typescript
import { ManagedConfigurations } from '@robingenz/capacitor-managed-configurations';
import { ManagedConfigurations } from '@capawesome/capacitor-managed-configurations';

const getString = async () => {
const result = await ManagedConfigurations.getString({ key: 'server_url' });
Expand Down Expand Up @@ -160,8 +166,8 @@ On **iOS**, you need to install the app as a [managed app](https://support.apple

## Changelog

See [CHANGELOG.md](https://github.com/robingenz/capacitor-managed-configurations/blob/master/CHANGELOG.md).
See [CHANGELOG.md](https://github.com/capawesome-team/capacitor-managed-configurations/blob/master/CHANGELOG.md).

## License

See [LICENSE](https://github.com/robingenz/capacitor-managed-configurations/blob/master/LICENSE).
See [LICENSE](https://github.com/capawesome-team/capacitor-managed-configurations/blob/master/LICENSE).
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.robingenz.capacitorjs.plugins.managedconfigurations">
package="io.capawesome.capacitorjs.plugins.managedconfigurations">
</manifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.robingenz.capacitorjs.plugins.managedconfigurations;
package io.capawesome.capacitorjs.plugins.managedconfigurations;

import android.content.RestrictionsManager;
import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.robingenz.capacitorjs.plugins.managedconfigurations;
package io.capawesome.capacitorjs.plugins.managedconfigurations;

import android.content.res.Configuration;
import com.getcapacitor.JSObject;
Expand Down
14 changes: 12 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 17 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@robingenz/capacitor-managed-configurations",
"name": "@capawesome/capacitor-managed-configurations",
"version": "0.1.4",
"description": "Capacitor plugin to access managed configuration settings.",
"main": "dist/plugin.cjs.js",
Expand All @@ -11,17 +11,27 @@
"android/build.gradle",
"dist/",
"ios/Plugin/",
"RobingenzCapacitorManagedConfigurations.podspec"
"CapawesomeCapacitorManagedConfigurations.podspec"
],
"author": "Robin Genz <mail@robingenz.dev>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/robingenz/capacitor-managed-configurations.git"
"url": "git+https://github.com/capawesome-team/capacitor-managed-configurations.git"
},
"bugs": {
"url": "https://github.com/robingenz/capacitor-managed-configurations/issues"
"url": "https://github.com/capawesome-team/capacitor-managed-configurations/issues"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/capawesome-team/"
},
{
"type": "opencollective",
"url": "https://opencollective.com/capawesome"
}
],
"keywords": [
"capacitor",
"plugin",
Expand Down Expand Up @@ -77,5 +87,8 @@
"android": {
"src": "android"
}
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit 7b0404b

Please sign in to comment.