-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(app-tracking): add permission on startup #20
base: main
Are you sure you want to change the base?
Conversation
vibetype/ViewController.swift
Outdated
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's going on with the indentations and line breaks ;D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reformatted, you can resolve if code looks good to you still
0c663f1
to
796e58a
Compare
vibetype/WebView.swift
Outdated
@@ -2,6 +2,8 @@ import UIKit | |||
@preconcurrency import WebKit | |||
import AuthenticationServices | |||
import SafariServices | |||
import AppTrackingTransparency | |||
import FirebaseCore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is FirebaseCore
needed here now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pod Installation was breaking for me without this, I am not sure if this is also required for production.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, pod installation should not depend on this source code, could you verify?
if message.name == "print" { | ||
func returnTrackingPermissionResult(isAuthorized: Bool) { | ||
let result = isAuthorized ? "authorized" : "denied" | ||
dispatchEventToWebView(name: "tracking-permission-request", data: result) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would we listen for this in the maevsi/vibetype
? Using the service worker?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added listener for this here maevsi/vibetype@70990f4
…cceptance" This reverts commit a69f23c.
This PR