@protobase/mobile 0.96.0 → 0.96.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/mobile",
3
- "version": "0.96.0",
3
+ "version": "0.96.2",
4
4
  "description": "The Capacitor that protobase mobile builds a Protobase app's iOS and Android projects with, at fixed versions, and the native plugins that keep page script away from the session and give the iOS app its bounce; installed by the CLI on first use.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -20,7 +20,8 @@
20
20
  "android/src/main/",
21
21
  "android/src/liveupdate/",
22
22
  "android/build.gradle",
23
- "icon"
23
+ "icon",
24
+ "splash"
24
25
  ],
25
26
  "nativeContract": 13,
26
27
  "capacitor": {
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- The splash Android 12 and the core-splashscreen library draw at launch: the launcher icon at 240dp on its background,
3
+ masked to a 160dp circle, on the app's background. Shown again while the app reloads into a live update. -->
4
+ <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
5
+ <item android:gravity="fill">
6
+ <color android:color="@color/protobase_splash_background" />
7
+ </item>
8
+ <item
9
+ android:width="240dp"
10
+ android:height="240dp"
11
+ android:gravity="center">
12
+ <shape android:shape="oval">
13
+ <solid android:color="@color/ic_launcher_background" />
14
+ </shape>
15
+ </item>
16
+ <item
17
+ android:width="240dp"
18
+ android:height="240dp"
19
+ android:drawable="@mipmap/ic_launcher"
20
+ android:gravity="center" />
21
+ <item
22
+ android:width="342dp"
23
+ android:height="342dp"
24
+ android:gravity="center">
25
+ <shape android:shape="oval">
26
+ <solid android:color="@android:color/transparent" />
27
+ <stroke
28
+ android:width="92dp"
29
+ android:color="@color/protobase_splash_background" />
30
+ </shape>
31
+ </item>
32
+ </layer-list>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
+ android:layout_width="match_parent"
4
+ android:layout_height="match_parent"
5
+ android:background="@drawable/protobase_splash" />
@@ -0,0 +1,23 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "filename" : "splash.png",
5
+ "idiom" : "universal",
6
+ "scale" : "1x"
7
+ },
8
+ {
9
+ "filename" : "splash@2x.png",
10
+ "idiom" : "universal",
11
+ "scale" : "2x"
12
+ },
13
+ {
14
+ "filename" : "splash@3x.png",
15
+ "idiom" : "universal",
16
+ "scale" : "3x"
17
+ }
18
+ ],
19
+ "info" : {
20
+ "author" : "xcode",
21
+ "version" : 1
22
+ }
23
+ }
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17132" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
+ <device id="retina4_7" orientation="portrait" appearance="light"/>
4
+ <dependencies>
5
+ <deployment identifier="iOS"/>
6
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17105"/>
7
+ <capability name="Named colors" minToolsVersion="9.0"/>
8
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
9
+ </dependencies>
10
+ <scenes>
11
+ <!--View Controller-->
12
+ <scene sceneID="EHf-IW-A2E">
13
+ <objects>
14
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
15
+ <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
16
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18
+ <subviews>
19
+ <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Splash" translatesAutoresizingMaskIntoConstraints="NO" id="snD-IY-ifK">
20
+ <rect key="frame" x="123.5" y="269.5" width="128" height="128"/>
21
+ <constraints>
22
+ <constraint firstAttribute="width" constant="128" id="Wd1-Sp-128"/>
23
+ <constraint firstAttribute="height" constant="128" id="Ht1-Sp-128"/>
24
+ </constraints>
25
+ </imageView>
26
+ </subviews>
27
+ <color key="backgroundColor" name="SplashBackground"/>
28
+ <constraints>
29
+ <constraint firstItem="snD-IY-ifK" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="Cx1-Sp-ctr"/>
30
+ <constraint firstItem="snD-IY-ifK" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="Cy1-Sp-ctr"/>
31
+ </constraints>
32
+ </view>
33
+ </viewController>
34
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
35
+ </objects>
36
+ <point key="canvasLocation" x="53" y="375"/>
37
+ </scene>
38
+ </scenes>
39
+ <resources>
40
+ <image name="Splash" width="128" height="128"/>
41
+ <namedColor name="SplashBackground">
42
+ <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
43
+ </namedColor>
44
+ </resources>
45
+ </document>