- Configurable server URL (default: pedshub.com) - Android + iOS platforms initialized - Dark theme matching quiz app (#0f172a) - Status bar and navigation bar color matched - Auto-redirect on subsequent launches - App ID: com.pedshub.quiz, App Name: PedsHub Build: cd mobile && npx cap sync && npx cap open android Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
69 lines
2.1 KiB
JavaScript
69 lines
2.1 KiB
JavaScript
var capacitorKeyboard = (function (exports, core) {
|
|
'use strict';
|
|
|
|
/// <reference types="@capacitor/cli" />
|
|
exports.KeyboardStyle = void 0;
|
|
(function (KeyboardStyle) {
|
|
/**
|
|
* Dark keyboard.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
KeyboardStyle["Dark"] = "DARK";
|
|
/**
|
|
* Light keyboard.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
KeyboardStyle["Light"] = "LIGHT";
|
|
/**
|
|
* On iOS 13 and newer the keyboard style is based on the device appearance.
|
|
* If the device is using Dark mode, the keyboard will be dark.
|
|
* If the device is using Light mode, the keyboard will be light.
|
|
* On iOS 12 the keyboard will be light.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
KeyboardStyle["Default"] = "DEFAULT";
|
|
})(exports.KeyboardStyle || (exports.KeyboardStyle = {}));
|
|
exports.KeyboardResize = void 0;
|
|
(function (KeyboardResize) {
|
|
/**
|
|
* Only the `body` HTML element will be resized.
|
|
* Relative units are not affected, because the viewport does not change.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
KeyboardResize["Body"] = "body";
|
|
/**
|
|
* Only the `ion-app` HTML element will be resized.
|
|
* Use it only for Ionic Framework apps.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
KeyboardResize["Ionic"] = "ionic";
|
|
/**
|
|
* The whole native Web View will be resized when the keyboard shows/hides.
|
|
* This affects the `vh` relative unit.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
KeyboardResize["Native"] = "native";
|
|
/**
|
|
* Neither the app nor the Web View are resized.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
KeyboardResize["None"] = "none";
|
|
})(exports.KeyboardResize || (exports.KeyboardResize = {}));
|
|
|
|
const Keyboard = core.registerPlugin('Keyboard');
|
|
|
|
exports.Keyboard = Keyboard;
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
return exports;
|
|
|
|
})({}, capacitorExports);
|
|
//# sourceMappingURL=plugin.js.map
|