mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-22 11:35:21 +01:00
Move extensioncontext parsing into ViewDidLoad due to lifecycle conflicts with Safari. Fixed typo with plain-text activation predicate.
This commit is contained in:
parent
80f127dd7f
commit
f97b62c51d
@ -30,20 +30,20 @@
|
|||||||
<string>extension</string>
|
<string>extension</string>
|
||||||
<key>NSExtensionActivationRule</key>
|
<key>NSExtensionActivationRule</key>
|
||||||
<string>SUBQUERY (
|
<string>SUBQUERY (
|
||||||
extensionItems,
|
extensionItems,
|
||||||
$extensionItem,
|
$extensionItem,
|
||||||
SUBQUERY (
|
SUBQUERY (
|
||||||
$extensionItem.attachments,
|
$extensionItem.attachments,
|
||||||
$attachment,
|
$attachment,
|
||||||
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url"
|
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url"
|
||||||
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plan-text"
|
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text"
|
||||||
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.find-login-action"
|
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.find-login-action"
|
||||||
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.save-login-action"
|
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.save-login-action"
|
||||||
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.change-password-action"
|
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.change-password-action"
|
||||||
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.fill-webview-action"
|
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.fill-webview-action"
|
||||||
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.fill-browser-action"
|
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.fill-browser-action"
|
||||||
).@count == $extensionItem.attachments.@count
|
).@count == $extensionItem.attachments.@count
|
||||||
).@count == 1</string>
|
).@count == 1</string>
|
||||||
<key>NSExtensionPointName</key>
|
<key>NSExtensionPointName</key>
|
||||||
<string>com.apple.ui-services</string>
|
<string>com.apple.ui-services</string>
|
||||||
<key>NSExtensionPointVersion</key>
|
<key>NSExtensionPointVersion</key>
|
||||||
|
@ -30,11 +30,6 @@ namespace Bit.iOS.Extension
|
|||||||
base.ViewDidLoad();
|
base.ViewDidLoad();
|
||||||
View.BackgroundColor = UIColor.FromPatternImage(new UIImage("bg.png"));
|
View.BackgroundColor = UIColor.FromPatternImage(new UIImage("bg.png"));
|
||||||
_context.ExtContext = ExtensionContext;
|
_context.ExtContext = ExtensionContext;
|
||||||
}
|
|
||||||
|
|
||||||
public override void ViewDidAppear(bool animated)
|
|
||||||
{
|
|
||||||
base.ViewDidAppear(animated);
|
|
||||||
|
|
||||||
if(!Resolver.IsSet)
|
if(!Resolver.IsSet)
|
||||||
{
|
{
|
||||||
@ -63,7 +58,11 @@ namespace Bit.iOS.Extension
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void ViewDidAppear(bool animated)
|
||||||
|
{
|
||||||
|
base.ViewDidAppear(animated);
|
||||||
PerformSegue("seque", this);
|
PerformSegue("seque", this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user