@blotch/angular-lynx-native 22.3.1 → 22.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -15
- package/dist/android/project.d.ts +114 -1
- package/dist/android/project.d.ts.map +1 -1
- package/dist/android/project.js +440 -5
- package/dist/eject.d.ts +15 -1
- package/dist/eject.d.ts.map +1 -1
- package/dist/eject.js +14 -2
- package/dist/features.d.ts +70 -0
- package/dist/features.d.ts.map +1 -0
- package/dist/features.js +115 -0
- package/dist/files.d.ts +24 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +41 -0
- package/dist/generate.d.ts +34 -3
- package/dist/generate.d.ts.map +1 -1
- package/dist/generate.js +78 -19
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -2
- package/dist/ios/build.d.ts.map +1 -1
- package/dist/ios/build.js +8 -2
- package/dist/ios/frameworks.d.ts +6 -5
- package/dist/ios/frameworks.d.ts.map +1 -1
- package/dist/ios/frameworks.js +46 -15
- package/dist/ios/project.d.ts +192 -11
- package/dist/ios/project.d.ts.map +1 -1
- package/dist/ios/project.js +823 -33
- package/dist/options.d.ts +208 -1
- package/dist/options.d.ts.map +1 -1
- package/dist/options.js +154 -0
- package/dist/permissions.d.ts +18 -1
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +79 -4
- package/dist/plugins.d.ts +245 -0
- package/dist/plugins.d.ts.map +1 -0
- package/dist/plugins.js +1244 -0
- package/package.json +1 -1
- package/templates/android/README.md +46 -5
- package/templates/android/angular-lynx.properties +2 -0
- package/templates/android/app/build.gradle.kts +78 -11
- package/templates/android/app/src/main/AndroidManifest.xml +19 -3
- package/templates/android/app/src/main/java/dev/angularlynx/shell/AngularLynxPlugins.kt +13 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/AudioRecorderModule.kt +520 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/BarcodeScannerModule.kt +144 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/BiometricsModule.kt +433 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/BitmapPresenter.kt +98 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/BitmapRendererContext.kt +175 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/BluetoothModule.kt +1288 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/CalendarModule.kt +127 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/Canvas2DContext.kt +1557 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/Canvas2DOps.kt +63 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/CanvasFilter.kt +357 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/CanvasUI.kt +4 -3
- package/templates/android/app/src/main/java/dev/angularlynx/shell/EdgeToEdgeOverlay.kt +24 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/EngineThreadHint.kt +156 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/FilePickerModule.kt +263 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/GeolocationModule.kt +557 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/HapticsModule.kt +82 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/HostElementUI.kt +331 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/ImagePickerModule.kt +143 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/ImagePipeline.kt +83 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/MainActivity.kt +523 -9
- package/templates/android/app/src/main/java/dev/angularlynx/shell/ModuleBytes.kt +58 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/MotionModule.kt +332 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/NetworkStatus.kt +121 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/NfcModule.kt +274 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/PermissionRequests.kt +35 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/PhotoLibraryModule.kt +355 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/ShareTargetModule.kt +234 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/ShellApplication.kt +7 -8
- package/templates/android/app/src/main/java/dev/angularlynx/shell/ShellModule.kt +58 -4
- package/templates/android/app/src/main/java/dev/angularlynx/shell/StoreReviewModule.kt +66 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/SystemFontFamilies.kt +68 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/TrackingModule.kt +74 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/VideoFrameTarget.kt +429 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/VideoUI.kt +676 -0
- package/templates/android/app/src/main/java/dev/angularlynx/shell/WebGLContext.kt +128 -13
- package/templates/android/app/src/main/java/dev/angularlynx/shell/WebGLModule.kt +493 -65
- package/templates/android/app/src/main/java/dev/angularlynx/shell/WifiModule.kt +429 -0
- package/templates/android/app/src/main/res/values/biometrics.xml +9 -0
- package/templates/android/app/src/main/res/values/share_target.xml +11 -0
- package/templates/android/app/src/main/res/xml/backup_rules.xml +5 -3
- package/templates/android/app/src/main/res/xml/data_extraction_rules.xml +6 -3
- package/templates/android/app/src/main/res/xml/share_paths.xml +7 -2
- package/templates/android/build.gradle.kts +1 -1
- package/templates/android/gradle/wrapper/gradle-wrapper.properties +2 -2
- package/templates/ios/App/AngularLynxBitmapRendererContext.m +188 -0
- package/templates/ios/App/AngularLynxCanvas2DContext.m +2467 -0
- package/templates/ios/App/AngularLynxCanvas2DOps.h +61 -0
- package/templates/ios/App/AngularLynxPlugins.swift +22 -0
- package/templates/ios/App/AngularLynxVideo.h +37 -0
- package/templates/ios/App/AngularLynxVideo.m +435 -0
- package/templates/ios/App/AngularLynxWebGL.h +69 -7
- package/templates/ios/App/AngularLynxWebGL.m +538 -29
- package/templates/ios/App/AngularLynxWebGLContext.m +148 -46
- package/templates/ios/App/AnimationFrameRate.swift +66 -0
- package/templates/ios/App/AppDelegate.swift +37 -3
- package/templates/ios/App/AppleSignInButton.swift +106 -0
- package/templates/ios/App/AppleSignInModule.swift +222 -0
- package/templates/ios/App/AudioRecorderModule.swift +433 -0
- package/templates/ios/App/BarcodeScannerModule.swift +284 -0
- package/templates/ios/App/BiometricsModule.swift +256 -0
- package/templates/ios/App/BluetoothModule.swift +1086 -0
- package/templates/ios/App/CalendarModule.swift +158 -0
- package/templates/ios/App/FilePickerModule.swift +240 -0
- package/templates/ios/App/GeolocationModule.swift +455 -0
- package/templates/ios/App/HapticsModule.swift +90 -0
- package/templates/ios/App/HostElementUI.swift +270 -0
- package/templates/ios/App/ImagePickerModule.swift +160 -1
- package/templates/ios/App/Info.plist +2 -0
- package/templates/ios/App/LynxViewController.swift +274 -9
- package/templates/ios/App/MotionModule.swift +430 -0
- package/templates/ios/App/NetworkStatus.swift +41 -0
- package/templates/ios/App/NfcModule.swift +346 -0
- package/templates/ios/App/PhotoLibraryModule.swift +169 -0
- package/templates/ios/App/ShareTargetModule.swift +150 -0
- package/templates/ios/App/ShellModule.swift +17 -0
- package/templates/ios/App/StoreReviewModule.swift +61 -0
- package/templates/ios/App/TrackingModule.swift +121 -0
- package/templates/ios/App/WifiModule.swift +237 -0
- package/templates/ios/App/XElementRegistry.swift +13 -3
- package/templates/ios/ShareExtension/Info.plist +42 -0
- package/templates/ios/ShareExtension/ShareViewController.swift +387 -0
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { type ListedFile } from './files.ts';
|
|
2
|
+
import { type NativePluginOptions } from './options.ts';
|
|
3
|
+
/**
|
|
4
|
+
* The file that described a native plugin, in its folder, before each
|
|
5
|
+
* plugin was described in angular.json's `nativePlugins` (issue #1051). A
|
|
6
|
+
* folder that still has one is refused, so what it says isn't left unread
|
|
7
|
+
* without a word: the build would leave out the modules and elements it
|
|
8
|
+
* names, which the app would find missing only when it runs.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LEGACY_PLUGIN_MANIFEST = "angular-lynx-plugin.json";
|
|
11
|
+
/** A plugin's platform, checked, with its sources as an absolute path. */
|
|
12
|
+
export type ResolvedPluginPlatform = {
|
|
13
|
+
readonly sourceDir?: string;
|
|
14
|
+
readonly modules: readonly {
|
|
15
|
+
readonly name: string;
|
|
16
|
+
readonly className: string;
|
|
17
|
+
}[];
|
|
18
|
+
readonly elements: readonly {
|
|
19
|
+
readonly tag: string;
|
|
20
|
+
readonly className: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
/** A plugin's Android platform, checked, with its folders as absolute paths. */
|
|
24
|
+
export type ResolvedAndroidPlatform = ResolvedPluginPlatform & {
|
|
25
|
+
readonly resDir?: string;
|
|
26
|
+
};
|
|
27
|
+
/** A plugin as the generators use it. */
|
|
28
|
+
export type NativePlugin = {
|
|
29
|
+
/**
|
|
30
|
+
* The folder's name, which the copied sources go under in the generated
|
|
31
|
+
* project, so two plugins' files can't overwrite each other.
|
|
32
|
+
*/
|
|
33
|
+
readonly name: string;
|
|
34
|
+
/** The plugin's folder. */
|
|
35
|
+
readonly dir: string;
|
|
36
|
+
readonly ios: ResolvedPluginPlatform;
|
|
37
|
+
readonly android: ResolvedAndroidPlatform;
|
|
38
|
+
};
|
|
39
|
+
type PlatformName = 'ios' | 'android';
|
|
40
|
+
/**
|
|
41
|
+
* The tags something else already draws, which a plugin's element would
|
|
42
|
+
* replace without a word: a behavior added later wins on Android.
|
|
43
|
+
*
|
|
44
|
+
* - The runtime's `LYNX_ELEMENT_TAGS` (`packages/runtime/src/lib/lynx-document/element-tags.ts`),
|
|
45
|
+
* which a test keeps this copy of.
|
|
46
|
+
* - Lynx's own on Android (`BuiltInUIRegistry` in the 4.1.0 AAR) that the
|
|
47
|
+
* runtime doesn't create: `component`, `list-container`, `inline-text`,
|
|
48
|
+
* `inline-image` and `bounce-view`.
|
|
49
|
+
* - XElement's `animax-view`, which the shells leave out but the name is
|
|
50
|
+
* still XElement's.
|
|
51
|
+
*
|
|
52
|
+
* Tags starting with {@link RESERVED_TAG_PREFIXES} are refused too.
|
|
53
|
+
*/
|
|
54
|
+
export declare const RESERVED_TAGS: ReadonlySet<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Reads and checks the plugins angular.json's `nativePlugins` lists, each a
|
|
57
|
+
* folder relative to the project root and what each platform registers from
|
|
58
|
+
* it. What's wrong is caught here, with the entry's folder in the message:
|
|
59
|
+
* the Swift and Kotlin the generators write from an entry would otherwise
|
|
60
|
+
* fail in Xcode or Gradle, far from it.
|
|
61
|
+
*
|
|
62
|
+
* @param entries - `nativePlugins` from the builder options.
|
|
63
|
+
* @param projectRoot - The Angular project's root folder.
|
|
64
|
+
* @throws NativeConfigError for anything a build would fail on, or a name
|
|
65
|
+
* that would replace one of Lynx's or the shell's.
|
|
66
|
+
*/
|
|
67
|
+
export declare const readNativePlugins: (entries: readonly NativePluginOptions[], projectRoot: string) => readonly NativePlugin[];
|
|
68
|
+
/**
|
|
69
|
+
* Every file and folder the plugins' generated code comes from, sorted:
|
|
70
|
+
* everything under each plugin's folder. The folders too, empty ones
|
|
71
|
+
* included, as the resource checks refuse a folder Android reads nothing
|
|
72
|
+
* from. Call it once readNativePlugins has found each folder. What each entry
|
|
73
|
+
* registers is in angular.json, which the caller hashes with these.
|
|
74
|
+
*
|
|
75
|
+
* @param entries - `nativePlugins` from the builder options.
|
|
76
|
+
* @param projectRoot - The Angular project's root folder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const pluginInputFiles: (entries: readonly NativePluginOptions[], projectRoot: string) => readonly ListedFile[];
|
|
79
|
+
/**
|
|
80
|
+
* Copies each plugin's sources for `platform` into `<into>/<name>`, after
|
|
81
|
+
* deleting what an earlier copy left there, with copyFiles. On Android, the
|
|
82
|
+
* resource folder is left out, as copyPluginResources copies it.
|
|
83
|
+
*
|
|
84
|
+
* @param plugins - From readNativePlugins.
|
|
85
|
+
* @param platform - Which half of each plugin to copy.
|
|
86
|
+
* @param into - The folder, inside the generated project, the build compiles
|
|
87
|
+
* every source file under.
|
|
88
|
+
*/
|
|
89
|
+
export declare const copyPluginSources: (plugins: readonly NativePlugin[], platform: PlatformName, into: string) => void;
|
|
90
|
+
/** A type a Swift or Objective-C file declares at its top level. */
|
|
91
|
+
export type SwiftType = {
|
|
92
|
+
readonly name: string;
|
|
93
|
+
/**
|
|
94
|
+
* Declared `private` or `fileprivate`, so seen only in its file: two files
|
|
95
|
+
* can each have one of a name, but not one beside a type the whole module
|
|
96
|
+
* sees, which Swift calls an invalid redeclaration.
|
|
97
|
+
*/
|
|
98
|
+
readonly fileLocal: boolean;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* The types a Swift or Objective-C file declares at its top level: `class`,
|
|
102
|
+
* `struct`, `enum`, `protocol`, `actor` and `typealias` at the start of a
|
|
103
|
+
* line, after any attributes and modifiers, and a class's primary
|
|
104
|
+
* `@interface`. Swift compiles every file of the app into one module, so two
|
|
105
|
+
* such types of one name fail the build, unless both are file-local. An
|
|
106
|
+
* Objective-C class extension (`@interface Helper ()`) or category
|
|
107
|
+
* (`@interface Helper (Extra)`) adds to a class declared elsewhere, as a
|
|
108
|
+
* `.m` does to its header's, so it declares nothing.
|
|
109
|
+
*
|
|
110
|
+
* A name the file declares twice is one type: the file is either declaring it
|
|
111
|
+
* in each branch of an `#if`, of which only one compiles, or failing in the
|
|
112
|
+
* compiler on its own, which names the file.
|
|
113
|
+
*
|
|
114
|
+
* @param source - The file's text.
|
|
115
|
+
* @param options - Whether the language's block comments nest: Swift's do,
|
|
116
|
+
* and Objective-C's, which are C's, don't.
|
|
117
|
+
*/
|
|
118
|
+
export declare const swiftTypes: (source: string, { nested }?: {
|
|
119
|
+
readonly nested?: boolean;
|
|
120
|
+
}) => readonly SwiftType[];
|
|
121
|
+
/**
|
|
122
|
+
* Checks that no plugin's Swift declares a type the iOS shell or another
|
|
123
|
+
* plugin declares: the app's sources are one Swift module, and Xcode's
|
|
124
|
+
* "invalid redeclaration" names neither the plugin nor the fix. File-local
|
|
125
|
+
* types of one name in different files pass, as they do in Swift.
|
|
126
|
+
*
|
|
127
|
+
* @param plugins - From readNativePlugins.
|
|
128
|
+
* @param appDir - The generated project's App/ folder, with the shell's
|
|
129
|
+
* sources and not yet the plugins'.
|
|
130
|
+
* @throws NativeConfigError naming the plugin's file and the type.
|
|
131
|
+
*/
|
|
132
|
+
export declare const checkSwiftTypes: (plugins: readonly NativePlugin[], appDir: string) => void;
|
|
133
|
+
/**
|
|
134
|
+
* Checks that no two Swift files of the app, the shell's and the plugins',
|
|
135
|
+
* have one name: the compiler takes a file name once in a module ("filename
|
|
136
|
+
* used twice"), wherever the files are, and, with names that differ only in
|
|
137
|
+
* capitals, writes their objects over each other on a Mac's disk. Objective-C
|
|
138
|
+
* files may share a name, as Xcode gives each object a name of its own.
|
|
139
|
+
*
|
|
140
|
+
* @param plugins - From readNativePlugins.
|
|
141
|
+
* @param appDir - The generated project's App/ folder, with the shell's
|
|
142
|
+
* sources at its top.
|
|
143
|
+
* @throws NativeConfigError naming the plugin's file and the other.
|
|
144
|
+
*/
|
|
145
|
+
export declare const checkSwiftFileNames: (plugins: readonly NativePlugin[], appDir: string) => void;
|
|
146
|
+
/**
|
|
147
|
+
* Checks that no plugin's Kotlin or Java is in the Android shell's package,
|
|
148
|
+
* where a class of the same name as one of the shell's would fail the build.
|
|
149
|
+
*
|
|
150
|
+
* @param plugins - From readNativePlugins.
|
|
151
|
+
* @throws NativeConfigError naming the plugin's file.
|
|
152
|
+
*/
|
|
153
|
+
export declare const checkJvmPackages: (plugins: readonly NativePlugin[]) => void;
|
|
154
|
+
/** A resource a plugin or the shell defines, as `R` names it. */
|
|
155
|
+
export type AndroidResource = {
|
|
156
|
+
/** `R`'s inner class: `color`, `style`, `drawable`, … */
|
|
157
|
+
readonly type: string;
|
|
158
|
+
/** `R`'s field, with a style's dots as underscores (`R.style.Theme_App`). */
|
|
159
|
+
readonly name: string;
|
|
160
|
+
/** The file that defines it, as messages name it. */
|
|
161
|
+
readonly file: string;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* Every resource in an Android resource folder, as Gradle's merger and
|
|
165
|
+
* `R` see them: a file's by its folder's type and its name before the
|
|
166
|
+
* first dot (`drawable-hdpi/photo.9.png` is `drawable/photo`), and each
|
|
167
|
+
* value in a values file by its element. What Gradle would skip or refuse is
|
|
168
|
+
* refused here, with the file's name.
|
|
169
|
+
*
|
|
170
|
+
* @param resDir - The resource folder, laid out as `src/main/res`.
|
|
171
|
+
* @param label - The folder as messages name it.
|
|
172
|
+
* @throws NativeConfigError for a file or folder Android reads no
|
|
173
|
+
* resources from.
|
|
174
|
+
*/
|
|
175
|
+
export declare const androidResources: (resDir: string, label: string) => readonly AndroidResource[];
|
|
176
|
+
/**
|
|
177
|
+
* Checks that no plugin's Android resources define one the shell or another
|
|
178
|
+
* plugin defines. Gradle merges every resource folder of the app into one
|
|
179
|
+
* `R`, so the same name would fail the build as a duplicate, or, across
|
|
180
|
+
* qualifiers (`values` and `values-night`), quietly give the app one
|
|
181
|
+
* plugin's resource in the other's place. A plugin may define a resource
|
|
182
|
+
* again under its own qualifiers, which is how it has a night color.
|
|
183
|
+
*
|
|
184
|
+
* @param plugins - From readNativePlugins.
|
|
185
|
+
* @param appDir - The generated project's `app/` folder, with the shell's
|
|
186
|
+
* resources (`src/main/res`, `src/debug/res`) and the `resValue`s in its
|
|
187
|
+
* `build.gradle.kts`.
|
|
188
|
+
* @throws NativeConfigError naming the plugin's file and the resource.
|
|
189
|
+
*/
|
|
190
|
+
export declare const checkAndroidResources: (plugins: readonly NativePlugin[], appDir: string) => void;
|
|
191
|
+
/**
|
|
192
|
+
* Copies each plugin's Android resource folder to `<into>/<name>`, after
|
|
193
|
+
* deleting what an earlier copy left there. Each is a resource folder of the
|
|
194
|
+
* app module of its own (the template's `build.gradle.kts` adds every folder
|
|
195
|
+
* in `into`), so a plugin's `values/colors.xml` sits beside the shell's file
|
|
196
|
+
* of that name rather than over it. Links are copied as the files they
|
|
197
|
+
* point at, with copyFiles.
|
|
198
|
+
*
|
|
199
|
+
* @param plugins - From readNativePlugins and checkAndroidResources.
|
|
200
|
+
* @param into - The folder, inside the generated project, Gradle reads the
|
|
201
|
+
* plugins' resource folders from.
|
|
202
|
+
*/
|
|
203
|
+
export declare const copyPluginResources: (plugins: readonly NativePlugin[], into: string) => void;
|
|
204
|
+
/**
|
|
205
|
+
* Checks that no plugin's iOS resources take a name the shell's or another
|
|
206
|
+
* plugin's have. App/ is a synchronized folder, so Xcode builds whatever the
|
|
207
|
+
* plugins' folders hold: their asset catalogs (`.xcassets`) are compiled
|
|
208
|
+
* with the shell's into the app's one `Assets.car`, where two assets of a
|
|
209
|
+
* name leave one, with only a warning; and every other file that isn't a
|
|
210
|
+
* source (a font, a JSON file, a `.lproj` folder's strings) is copied to the
|
|
211
|
+
* top of the app, out of its folders, where two files of a name, or one
|
|
212
|
+
* of the name of a file Xcode writes there (`Assets.car`, `PkgInfo`), fail
|
|
213
|
+
* the build with "Multiple commands produce".
|
|
214
|
+
*
|
|
215
|
+
* @param plugins - From readNativePlugins.
|
|
216
|
+
* @param appDir - The generated project's App/ folder. Only its own catalogs
|
|
217
|
+
* and files are the shell's: a copy of the plugins may be in App/Plugins.
|
|
218
|
+
* @throws NativeConfigError naming the plugin's file and the name.
|
|
219
|
+
*/
|
|
220
|
+
export declare const checkIosResources: (plugins: readonly NativePlugin[], appDir: string) => void;
|
|
221
|
+
/**
|
|
222
|
+
* App/AngularLynxPlugins.swift: registers the plugins' modules and elements
|
|
223
|
+
* with the LynxView's config, which LynxViewController calls before it
|
|
224
|
+
* builds the view, after the shell's own. Per view rather than in
|
|
225
|
+
* LynxComponentRegistry, as Android's are with the LynxViewBuilder.
|
|
226
|
+
*
|
|
227
|
+
* A module's param is an `AngularLynxPluginHost`, which holds the view
|
|
228
|
+
* controller weakly: Lynx keeps a module's param for as long as the config
|
|
229
|
+
* (`LynxModuleWrapper.param` is strong), and the controller keeps the config
|
|
230
|
+
* through its LynxView, so the controller itself would never be freed.
|
|
231
|
+
*
|
|
232
|
+
* @param plugins - From readNativePlugins.
|
|
233
|
+
*/
|
|
234
|
+
export declare const iosPluginsSwift: (plugins: readonly NativePlugin[]) => string;
|
|
235
|
+
/**
|
|
236
|
+
* AngularLynxPlugins.kt: registers the plugins' modules and elements with
|
|
237
|
+
* the LynxViewBuilder MainActivity builds its LynxView with, after the
|
|
238
|
+
* shell's own. A module gets the activity as its param, as the shell's own
|
|
239
|
+
* modules that need one do.
|
|
240
|
+
*
|
|
241
|
+
* @param plugins - From readNativePlugins.
|
|
242
|
+
*/
|
|
243
|
+
export declare const androidPluginsKotlin: (plugins: readonly NativePlugin[]) => string;
|
|
244
|
+
export {};
|
|
245
|
+
//# sourceMappingURL=plugins.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,YAAY,CAAC;AACxD,OAAO,EAAqB,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE3E;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,6BAA6B,CAAC;AAEjE,0EAA0E;AAC1E,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,SAAS;QACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;KAC5B,EAAE,CAAC;IACJ,QAAQ,CAAC,QAAQ,EAAE,SAAS;QAC1B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;KAC5B,EAAE,CAAC;CACL,CAAC;AAEF,gFAAgF;AAChF,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,GAA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