Coder Social home page Coder Social logo

Comments (31)

stevecarlton avatar stevecarlton commented on May 27, 2024 4

+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.

paulstelzer avatar paulstelzer commented on May 27, 2024 4

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.

KirstenStake avatar KirstenStake commented on May 27, 2024 3

Received a response from branch and they advised that the SDK team is currently working on this integration.

from capacitor-branch-deep-links.

ksteuer avatar ksteuer commented on May 27, 2024 1

@Sampath-Lokuge thanks for the suggestion. I'm going to check how it works in my case.

from capacitor-branch-deep-links.

KirstenStake avatar KirstenStake commented on May 27, 2024

@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.

vitorlopez avatar vitorlopez commented on May 27, 2024

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.

vitorlopez avatar vitorlopez commented on May 27, 2024

That's amazing. Thanks for that fork.

from capacitor-branch-deep-links.

stevecarlton avatar stevecarlton commented on May 27, 2024

from capacitor-branch-deep-links.

gabides avatar gabides commented on May 27, 2024

@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.

KirstenStake avatar KirstenStake commented on May 27, 2024

@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.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

@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.

KirstenStake avatar KirstenStake commented on May 27, 2024

@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.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

from capacitor-branch-deep-links.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

@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.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

@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.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

@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.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

@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.

KirstenStake avatar KirstenStake commented on May 27, 2024

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!

Screen Shot 2021-09-24 at 5 09 39 pm

from capacitor-branch-deep-links.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

Well let's give them a break. This issue has only been open for 6 months. 😂

from capacitor-branch-deep-links.

Sampath-Lokuge avatar Sampath-Lokuge commented on May 27, 2024

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.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

@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.

Sampath-Lokuge avatar Sampath-Lokuge commented on May 27, 2024

@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.

ksteuer avatar ksteuer commented on May 27, 2024

+1. Is that true? This plugin has been outdated for 6 months after the release of Capacitor 3?

from capacitor-branch-deep-links.

Sampath-Lokuge avatar Sampath-Lokuge commented on May 27, 2024

@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.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

@Sampath-Lokuge How do you use that with branch links? That demo is for Firebase Deep links.

from capacitor-branch-deep-links.

Sampath-Lokuge avatar Sampath-Lokuge commented on May 27, 2024

@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.

selected-pixel-jameson avatar selected-pixel-jameson commented on May 27, 2024

@Sampath-Lokuge Ah, ok. So it's an alternative approach.

from capacitor-branch-deep-links.

Sampath-Lokuge avatar Sampath-Lokuge commented on May 27, 2024

@selected-pixel-jameson Yes

from capacitor-branch-deep-links.

Sampath-Lokuge avatar Sampath-Lokuge commented on May 27, 2024

@ksteuer Sure!

from capacitor-branch-deep-links.

michalsisak avatar michalsisak commented on May 27, 2024

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.

KirstenStake avatar KirstenStake commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.