Comments (31)
+1. @KirstenStake I reached out to support so they can look and see why the plugin seems neglected. I'll let you know if I hear anything back.
from capacitor-branch-deep-links.
If you cannot wait like me, I have forked this project to support capacitor 3 -> https://github.com/paulstelzer/capacitor-branch-deep-links
I am already using it inside a production app and it's working :) Hopefully the branch team will update to capactor 3 soon, so I can delete my fork.
from capacitor-branch-deep-links.
Received a response from branch and they advised that the SDK team is currently working on this integration.
from capacitor-branch-deep-links.
@Sampath-Lokuge thanks for the suggestion. I'm going to check how it works in my case.
from capacitor-branch-deep-links.
@stevecarlton have contacted them twice now as well and each time they say will forward on to dev team followed by nothing happening. will follow up again today.
from capacitor-branch-deep-links.
I can see there's an already merged PR #37 but it seems this didn't get to master yet. When can we expect for that to happen?
from capacitor-branch-deep-links.
That's amazing. Thanks for that fork.
from capacitor-branch-deep-links.
from capacitor-branch-deep-links.
@echo-branch thanks for merging my PR for capacitor 3 support, any timeline on when this will be on master and/or when a version will be released on npm for cap 3?
from capacitor-branch-deep-links.
@echo-branch please provide an update on what you will be able to merge the changes in staging to master for Cap 3 support?
from capacitor-branch-deep-links.
@echo-branch Please update this repo! It's getting to the point where we are being forced to updated to Capacitor 3 for other plugins so we have no choice. This is preventing us from releasing new app versions.
from capacitor-branch-deep-links.
@selected-pixel-jameson i emailed branch a week or so ago with the same question, they advised me that the branch has been merged in (can confirm it has) and it supports Capacitor 3. They forgot to update the CHANGELOG and update this ticket hence where I think our confusion lies.
To update the iOS SDK follow the following steps:
- a clean and rebuild should refresh to the latest SDK automatically since it's a patch release.
- delete the cocoapods lock file and Pods folder.
- do a pod update
Now to enable the features in that SDK, follow the instructions on the docs site.
https://help.branch.io/developers-hub/docs/capacitor#nativelink-deferred-deep-linking-ios-only
Did the above steps last week and am now on the latest. let me know how you go.
from capacitor-branch-deep-links.
from capacitor-branch-deep-links.
@echo-branch What @KirstenStake suggested did not fix the issue. I'm still getting a build error stating that the CapacitoBranchDeepLinks project is compiling for iOS 11.0
If you look on the master branch or version 4.0.0 it's very clear to see that this project is still set to use iOS 11.0 as a deployment target, which is what is causing the issue. If I change the deployment target manually in my XCode project it builds fine, however every time I do a new build this gets reset which is a non-starter.
This is from the Pod file [https://github.com/BranchMetrics/capacitor-branch-deep-links/blob/master/ios/Podfile]
platform :ios, '11.0'
def capacitor_pods
use_frameworks!
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'
pod 'Branch', '~> 1.39.2'
end
target 'Plugin' do
capacitor_pods
end
target 'PluginTests' do
capacitor_pods
end
This is from the iOS project File [https://github.com/BranchMetrics/capacitor-branch-deep-links/blob/master/ios/Plugin.xcodeproj/project.pbxproj]
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
from capacitor-branch-deep-links.
@echo-branch Furthermore it looks like there is a pull request out there that is doing almost all of this for you. It looks like it just needs the Deployment Target set correctly. #46
from capacitor-branch-deep-links.
@echo-branch This is the only capacitor plug-in that is preventing us from moving forward. Please accept pull request #46 and release a new version.
from capacitor-branch-deep-links.
@paulstelzer Thanks for posting a version of this repo that actually builds for capacitor 3. For all other who are stuck where I have been install this NPM package https://www.npmjs.com/package/@innomobile/capacitor-branch-deep-links.
from capacitor-branch-deep-links.
Further to selected-pixel-jameson's comments. manually updating target to 12, passes build for me but causes a whole bunch of deprecation errors (when doing automated build it breaks as it doesn't pass these deprecation errors as well as throwing an error regarding SDK missing AdServices import as mentioned here in another issue: #33.
Branch please look into this plugin and update properly!
from capacitor-branch-deep-links.
Well let's give them a break. This issue has only been open for 6 months. 😂
from capacitor-branch-deep-links.
Is this working with Capacitor 3 now? I can still see the Capacitor 2 doc here: https://help.branch.io/developers-hub/docs/capacitor
from capacitor-branch-deep-links.
@samitsawant Welcome to the party. No this repo will not compile successfully in iOS. See above comments. If you absolutely need to get this working you can use @paulstelzer's repo https://www.npmjs.com/package/@innomobile/capacitor-branch-deep-links.
from capacitor-branch-deep-links.
@selected-pixel-jameson Ok, it is disappointing to see no proper update plan for a commercial product like Branch.io.
from capacitor-branch-deep-links.
+1. Is that true? This plugin has been outdated for 6 months after the release of Capacitor 3?
from capacitor-branch-deep-links.
@ksteuer You can use official plugin here and it is working perfectly fine: https://capacitorjs.com/docs/guides/deep-links
from capacitor-branch-deep-links.
@Sampath-Lokuge How do you use that with branch links? That demo is for Firebase Deep links.
from capacitor-branch-deep-links.
@selected-pixel-jameson I do not use Branch due to no Capacitor support. Deeplinks does not depend on Firebase. It is a generic solution.
from capacitor-branch-deep-links.
@Sampath-Lokuge Ah, ok. So it's an alternative approach.
from capacitor-branch-deep-links.
from capacitor-branch-deep-links.
@ksteuer Sure!
from capacitor-branch-deep-links.
There is a new PR merged in the repo where Capacitor 3 seems to be supported: #51.
Can anyone confirm?
from capacitor-branch-deep-links.
Can confirm. Upgraded plugin and seems to be working well for now. They also updated the CHANGELOG so see there for further info.
Thanks all! This one was a long time coming.
from capacitor-branch-deep-links.
Related Issues (20)
- Provided for backwards compatibility for Capacitor v2 plugins. Capacitor v3 plugins should import the plugin directly. This "Plugins" export is deprecated in v3, and will be removed in v4. HOT 1
- Plugin incompatible with Gradle 8 HOT 10
- Problems with play-services-ads version HOT 7
- Can't generate deep link Error: BranchDeepLinks does not have web implementation HOT 1
- iOS Status 200 error (null) HOT 3
- getLatestReferringParams HOT 2
- Can I use Branch Universal Object?
- Android > Error: Session initialization already happened > No deeplink referringParams HOT 8
- Doc has not been updated to the Capacitor 3 yet HOT 4
- no setup docs for old versions
- iOS Network Request Invalid HOT 3
- Android Fatal Error - "You need to use a Theme.AppCompat theme" HOT 1
- Add support for custom deeplink image HOT 11
- Plugin crashes on ios 12 HOT 2
- Capacitor 4 support HOT 8
- 'scanInt32(representation:)' is only available in iOS 13.0 or newer HOT 5
- upgraded project to capacitor 4, ionic/xcode project will not compile HOT 2
- IOS Build not passing with version 5.0.0 of the plugin HOT 3
- Please update documentation HOT 3
- Make compatible with Capacitor 5 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capacitor-branch-deep-links.