Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
330690a
screen reader
imhoffd Dec 14, 2020
c369ada
action sheet
imhoffd Dec 14, 2020
bdac5e9
more screen reader
imhoffd Dec 14, 2020
b55bcfb
wip
imhoffd Dec 14, 2020
aa4df2b
export all from definitions
imhoffd Dec 14, 2020
69afc8d
motion
imhoffd Dec 14, 2020
88db6f3
toast
imhoffd Dec 14, 2020
f8d2b7b
haptics
imhoffd Dec 14, 2020
8a3700f
more screen reader
imhoffd Dec 14, 2020
4bdd07f
app
imhoffd Dec 14, 2020
d9d6a1d
network
imhoffd Dec 14, 2020
c6dd1fe
app-launcher
imhoffd Dec 14, 2020
c35e73a
wip
imhoffd Dec 14, 2020
3a7e9d3
filesystem
imhoffd Dec 14, 2020
7b91694
browser
imhoffd Dec 14, 2020
6c270e9
text-zoom
imhoffd Dec 14, 2020
90e93f6
status-bar
imhoffd Dec 14, 2020
27410cb
device
imhoffd Dec 14, 2020
682d023
clipboard
imhoffd Dec 14, 2020
b8ee00b
Merge remote-tracking branch 'origin/main' into localize-types
imhoffd Dec 14, 2020
f53c9f1
generate readmes
imhoffd Dec 14, 2020
8a04441
fmt
imhoffd Dec 14, 2020
4b45c36
Merge branch 'main' into localize-types
imhoffd Dec 15, 2020
a502574
update docgen
imhoffd Dec 15, 2020
4a38e02
regen
imhoffd Dec 15, 2020
f082233
Merge branch 'main' into localize-types
imhoffd Dec 16, 2020
5c294cd
Merge branch 'main' into localize-types
imhoffd Dec 16, 2020
4a7205d
Merge branch 'main' into localize-types
imhoffd Dec 19, 2020
a61781e
Merge branch 'main' into localize-types
imhoffd Dec 19, 2020
fbddd6b
geolocation
imhoffd Dec 20, 2020
45c69ac
camera
imhoffd Dec 20, 2020
c57d3fd
splash-screen
imhoffd Dec 20, 2020
ed46fd9
build and format
imhoffd Dec 20, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
build and format
  • Loading branch information
imhoffd committed Dec 20, 2020
commit ed46fd95e0ec2346d29958045d1e6cd9b4ee0bfc
4 changes: 2 additions & 2 deletions camera/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export interface Photo {
export enum CameraSource {
Prompt = 'PROMPT',
Camera = 'CAMERA',
Photos = 'PHOTOS'
Photos = 'PHOTOS',
}

export enum CameraDirection {
Expand All @@ -231,7 +231,7 @@ export enum CameraDirection {
export enum CameraResultType {
Uri = 'uri',
Base64 = 'base64',
DataUrl = 'dataUrl'
DataUrl = 'dataUrl',
}

/**
Expand Down
8 changes: 4 additions & 4 deletions device/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ Get the device's current language locale code.

#### DeviceInfo

| Prop | Type | Description | Since |
| --------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
| Prop | Type | Description | Since |
| --------------------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
| **`name`** | <code>string</code> | The name of the device. For example, "John's iPhone". This is only supported on iOS and Android 7.1 or above. | 1.0.0 |
| **`model`** | <code>string</code> | The device model. For example, "iPhone". | 1.0.0 |
| **`platform`** | <code>'ios' \| 'android' \| 'web'</code> | The device platform (lowercase). | 1.0.0 |
Expand All @@ -86,8 +86,8 @@ Get the device's current language locale code.
| **`isVirtual`** | <code>boolean</code> | Whether the app is running in a simulator/emulator. | 1.0.0 |
| **`memUsed`** | <code>number</code> | Approximate memory used by the current app, in bytes. Divide by 1048576 to get the number of MBs used. | 1.0.0 |
| **`diskFree`** | <code>number</code> | How much free disk space is available on the the normal data storage. path for the os, in bytes | 1.0.0 |
| **`diskTotal`** | <code>number</code> | The total size of the normal data storage path for the OS, in bytes. | 1.0.0 |
| **`webViewVersion`** | <code>string</code> | The web view browser version | 1.0.0 |
| **`diskTotal`** | <code>number</code> | The total size of the normal data storage path for the OS, in bytes. | 1.0.0 |
| **`webViewVersion`** | <code>string</code> | The web view browser version | 1.0.0 |


#### BatteryInfo
Expand Down
4 changes: 1 addition & 3 deletions geolocation/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ export interface GeolocationPlugin {
*
* @since 1.0.0
*/
getCurrentPosition(
options?: PositionOptions,
): Promise<Position>;
getCurrentPosition(options?: PositionOptions): Promise<Position>;

/**
* Set up a watch for location changes. Note that watching for location changes
Expand Down
4 changes: 1 addition & 3 deletions geolocation/src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import type {
} from './definitions';

export class GeolocationWeb extends WebPlugin implements GeolocationPlugin {
async getCurrentPosition(
options?: PositionOptions,
): Promise<Position> {
async getCurrentPosition(options?: PositionOptions): Promise<Position> {
return new Promise((resolve, reject) => {
navigator.geolocation.getCurrentPosition(
pos => {
Expand Down