Open GiannisS opened 1 month ago
You may need to run pod install
in your project's iOS folder to make sure the proper Branch iOS SDK version is being pulled as well.
This didn't seem to help! I still get the same error here
it seems that the required functions do exist though in plugin.swift file.
Is this something you can replicate or it's something wrong on my setup?
found the same issue
we are experiencing the same issue
@GiannisS If you navigate to the iOS folder of your project and open the Podfile.lock, what versions do you see for BranchSDK and CapacitorBranchDeepLinks?
PODS:
On Thu, Apr 25, 2024 at 8:14 PM Nipun Singh @.***> wrote:
@GiannisS https://github.com/GiannisS If you navigate to the iOS folder of your project and open the Podfile.lock, what versions do you see for BranchSDK and CapacitorBranchDeepLinks?
— Reply to this email directly, view it on GitHub https://github.com/BranchMetrics/capacitor-branch-deep-links/issues/147#issuecomment-2078373987, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWTB7VCIBJMS5437FJ5EB3Y7GL4XAVCNFSM6AAAAABGHL5ID6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGM3TGOJYG4 . You are receiving this because you commented.Message ID: @.*** com>
I am able to run pod update and get the latest branch sdk and included that in the build, and now our podlock file looks like this.
PODS:
BranchSDK (3.4.3)
Capacitor (5.7.2):
CapacitorApp (5.0.7):
CapacitorBranchDeepLinks (7.1.0):
BranchSDK
Capacitor
And these are the logs I see related to branch from Xcode, still not getting referringparams after install
[BranchSDK][Debug][Branch initializeSessionAndCallCallback:sceneIdentifier:urlString:] Request <BranchInstallRequest: 0x303d0a7a0> callback <NSMallocBlock: 0x302c5d4c0> link (null)
[BranchSDK][Debug][BNCServerInterface preparePostRequest:url:key:retryNumber:] <NSMutableURLRequest: 0x303b18310> { URL: https://api3.branch.io/v1/install }
Headers {
"Content-Length" = 1688;
"Content-Type" = "application/json";
}
Body {
"anon_id" : "719_____A41",
"app_version" : "_..__",
"apple_attribution_token" : "__",
"apple_testflight" : true,
"branch_key" : "key_live____",
"brand" : "Apple",
"build" : "___",
"connection_type" : "wifi",
"country" : "US",
"cpu_type" : "16777228",
"debug" : false,
"environment" : "FULL_APP",
"first_install_time" : 1703564954000,
"hardware_id" : "___",
"hardware_id_type" : "vendor_id",
"ios_bundle_id" : "__",
"ios_vendorid" : "____",
"is_hardware_id_real" : true,
"language" : "en",
"lastest_update_time" : 1714138566000,
"latest_install_time" : 1714138568219,
"local_ip" : "____",
"locale" : "en_US",
"metadata" : {
"skan_time_window" : "5184000.000000"
},
"model" : "___",
"opted_in_status" : "denied",
"os" : "iOS",
"os_version" : "17.4.1",
"plugin_name" : "Capacitor",
"plugin_version" : "7.0.0",
"retryNumber" : 0,
"screen_dpi" : 3,
"screen_height" : 2556,
"screen_width" : 1179,
"sdk" : "ios3.4.3",
"update" : 0,
"uri_scheme" : "____",
"user_agent" : "Mozilla\/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit\/605.1.15 (KHTML, like Gecko) Mobile\/15E148"
}
Failed to request allowed query parameters from WebPrivacy.
⚡️ To Native -> BranchDeepLinks addListener 98742127
⚡️ To Native -> BranchDeepLinks addListener 98742128
[BranchSDK][Debug][BNCServerInterface processServerResponse:data:error:] <NSHTTPURLResponse: 0x303937100> { URL: https://api3.branch.io/v1/install } { Status Code: 200, Headers {
"Access-Control-Allow-Origin" = (
"*"
);
"Content-Length" = (
283
);
"Content-Type" = (
"application/json; charset=utf-8"
);
Date = (
"Fri, 26 Apr 2024 13:36:17 GMT"
);
"Strict-Transport-Security" = (
"max-age=31536000; includeSubDomains"
);
Via = (
"1.1 a147f9c60c162e36df3586fdd9c01478.cloudfront.net (CloudFront)"
);
"x-amz-cf-id" = (
"gz-____=="
);
"x-amz-cf-pop" = (
"PHL51-P1"
);
"x-branch-request-id" = (
"_____"
);
"x-cache" = (
"Miss from cloudfront"
);
"x-powered-by" = (
Branch
);
} }
Body {
"data" : "{\"+clicked_branch_link\":false,\"+is_first_session\":true}",
"link" : "https:\/\/_.app.link?%24randomized_bundle_token=",
"randomized_bundle_token" : "___",
"randomized_device_token" : "___",
"session_id" : "1312399193406720942"
}
Branch initSession, got params - :
["+clicked_branch_link": 0, "+is_first_session": 1]
⚡️ [log] - APP COMP - initExternalLinks - BranchDeepLinks init got event: {"referringParams":{}}
On Fri, Apr 26, 2024 at 8:48 AM Raghu Dantuluri @.***> wrote:
PODS:
- BranchSDK (2.2.0)
- Capacitor (5.7.2):
- CapacitorCordova
- CapacitorApp (5.0.7):
- Capacitor
- CapacitorBranchDeepLinks (7.1.0):
- BranchSDK
- Capacitor COCOAPODS: 1.15.2
On Thu, Apr 25, 2024 at 8:14 PM Nipun Singh @.***> wrote:
@GiannisS https://github.com/GiannisS If you navigate to the iOS folder of your project and open the Podfile.lock, what versions do you see for BranchSDK and CapacitorBranchDeepLinks?
— Reply to this email directly, view it on GitHub https://github.com/BranchMetrics/capacitor-branch-deep-links/issues/147#issuecomment-2078373987, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWTB7VCIBJMS5437FJ5EB3Y7GL4XAVCNFSM6AAAAABGHL5ID6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGM3TGOJYG4 . You are receiving this because you commented.Message ID: @.*** com>
I see, so the issue was the Branch iOS SDK version was out of date. But running pod update
was able to fix this.
Fixed the error but still not working. Referring params are coming empty for deferred deep links.
On Fri, Apr 26, 2024 at 12:51 PM Nipun Singh @.***> wrote:
I see, so the issue was the Branch iOS SDK version was out of date. But running pod update was able to fix this.
— Reply to this email directly, view it on GitHub https://github.com/BranchMetrics/capacitor-branch-deep-links/issues/147#issuecomment-2079746374, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWTB7TZONTOAGLP5D3YZZLY7KA2RAVCNFSM6AAAAABGHL5ID6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZG42DMMZXGQ . You are receiving this because you commented.Message ID: @.*** com>
Describe the bug
On iOS after the last update about setDMAParamsForEEA when I try to build my app in xCode I get this following error
Type 'Branch' has no member 'setDMAParamsForEEA'
Steps to reproduce
1.Try to build any app using the latest version of capacitor-branch-deep-links
Expected behavior
No errors
SDK Version
7.1.0
Make and Model
Simulator iPhone 15 Pro
OS
17.2
Additional Information/Context
No response