Skip to content

Commit

Permalink
iOS podspec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashu-Dubey committed May 29, 2022
1 parent 0d69a83 commit 3bdf607
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = 'AshuCapacitorStatusbarSafeArea'
s.name = 'AashuDubeyCapacitorStatusbarSafeArea'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
Expand Down
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# @aashu-dubey/capacitor-statusbar-safe-area
<div align="center">

# capacitor-statusbar-safe-area

Get Status bar height and Safe area insets on Android & iOS.

[![npm](https://img.shields.io/npm/v/@aashu-dubey/capacitor-statusbar-safe-area?style=flat-square)](https://www.npmjs.com/package/@aashu-dubey/capacitor-statusbar-safe-area) [![npm](https://img.shields.io/npm/dm/@aashu-dubey/capacitor-statusbar-safe-area?style=flat-square)](https://www.npmjs.com/package/@aashu-dubey/capacitor-statusbar-safe-area) [![Install Size](https://packagephobia.now.sh/badge?p=@aashu-dubey/capacitor-statusbar-safe-area)](https://www.npmjs.com/package/@aashu-dubey/capacitor-statusbar-safe-area)

</div>

## Install

```bash
Expand Down Expand Up @@ -55,9 +61,9 @@ then you can use them in your CSS files

<docgen-index>

* [`getStatusBarHeight()`](#getstatusbarheight)
* [`getSafeAreaInsets()`](#getsafeareainsets)
* [Interfaces](#interfaces)
- [`getStatusBarHeight()`](#getstatusbarheight)
- [`getSafeAreaInsets()`](#getsafeareainsets)
- [Interfaces](#interfaces)

</docgen-index>

Expand All @@ -74,8 +80,7 @@ Get the Status bar height on Android and iOS, and on Web it returns 0.

**Returns:** <code>Promise&lt;{ height: number; }&gt;</code>

--------------------

---

### getSafeAreaInsets()

Expand All @@ -87,12 +92,10 @@ Get the Safe area insets for Android and iOS, and on Web it returns 0 for all.

**Returns:** <code>Promise&lt;<a href="#safeareatype">SafeAreaType</a>&gt;</code>

--------------------

---

### Interfaces


#### SafeAreaType

| Prop | Type |
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aashu-dubey/capacitor-statusbar-safe-area",
"version": "1.0.0",
"version": "1.0.1",
"description": "Get Status bar height and Safe area insets on Android & iOS.",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
Expand All @@ -11,7 +11,7 @@
"android/build.gradle",
"dist/",
"ios/Plugin/",
"AshuCapacitorStatusbarSafeArea.podspec"
"AashuDubeyCapacitorStatusbarSafeArea.podspec"
],
"author": "Ashutosh",
"license": "MIT",
Expand All @@ -20,8 +20,7 @@
"url": "git+https://github.com/Aashu-Dubey/capacitor-statusbar-safe-area.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"access": "public"
"registry": "https://registry.npmjs.org/"
},
"bugs": {
"url": "https://github.com/Aashu-Dubey/capacitor-statusbar-safe-area/issues"
Expand Down

0 comments on commit 3bdf607

Please sign in to comment.