GithubHelp home page GithubHelp logo

Comments (23)

jdnichollsc avatar jdnichollsc commented on May 18, 2024 2

ok guys, I'm going to publish a new version with other changes, let me do that at night 👍

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024 1

Let me see tomorrow 👍

from nativescript-inappbrowser.

sulymkaa avatar sulymkaa commented on May 18, 2024 1

@jdnichollsc , I tried to do it, but nothing has changed( are you ok after your bike accident?

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024 1

@sulymkaa thanks for asking, I'm feel better 😅

from nativescript-inappbrowser.

tgpetrov avatar tgpetrov commented on May 18, 2024 1

@jdnichollsc The configuration looks good.
However, I believe this line can break the backwards compatibility. Maybe you can use the CustomTabsIntent const that you creating on the next line, instead of hardcoding the androidx.browser.customtabs.CustomTabsIntent path?

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024 1

Ohh but it's only for types, how can you create a type using a variable? 🤔

from nativescript-inappbrowser.

tgpetrov avatar tgpetrov commented on May 18, 2024 1

Aah, I see. Yes, you are right, should be ok the way it is now.

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

let me check, thanks mate!

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

@sulymkaa do you know if you can use jetifier to fix that? I want to avoid breaking changes :/

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

Nevermind, that only works for native code directly 😅

from nativescript-inappbrowser.

tgpetrov avatar tgpetrov commented on May 18, 2024

Actually, plugins can support androidx without braking changes. There is a "Make it Compatible with Both Support-lib and AndroidX" section in this blog post.

from nativescript-inappbrowser.

sulymkaa avatar sulymkaa commented on May 18, 2024

@jdnichollsc would you be able to make update according to migration post?

from nativescript-inappbrowser.

sulymkaa avatar sulymkaa commented on May 18, 2024

@jdnichollsc , could you please let me know when you are going to push an update please?

from nativescript-inappbrowser.

adfdev avatar adfdev commented on May 18, 2024

for the moment have migrate with this tool , folder in node_modules

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

Sorry for the delay guys, yesterday I had an accident in my motorcycle, let me do this today 👍

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

guys, do you know if I can avoid breaking changes by doing this from include.gradle?

dependencies {
    def supportLibVersion = null
    if (project.hasProperty('supportLibVersion')) {
        supportLibVersion = project.supportLibVersion
    } else if (project.hasProperty('supportVersion')) {
        supportLibVersion = project.supportVersion
    }
    if (supportLibVersion) {
      implementation "com.android.support:customtabs:$supportLibVersion"
    } else {
      implementation 'androidx.browser:browser:1.+'
    }
}

Let me know what you think 👍

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

Hi guys, please check the last changes from the demo of this repo and also, let me know what you think about this configuration https://github.com/proyecto26/nativescript-inappbrowser/blob/master/src/platforms/android/include.gradle#L14

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

You can see the types of both here https://github.com/proyecto26/nativescript-inappbrowser/blob/master/src/types/android.d.ts

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

Cool, I only have a little issue I want to fix before to publish the new version of the plugin... I want to be able to disable the animation when the SafariViewController is closed but I don't know how to do that, here https://github.com/proyecto26/nativescript-inappbrowser/blob/master/src/InAppBrowser.ios.ts#L189

Any help is really appreciated 😅

from nativescript-inappbrowser.

sulymkaa avatar sulymkaa commented on May 18, 2024

@jdnichollsc could you please tell me how I can build this myself to test, or may be you can email me builded archive? Thanks!

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

mmm ok I'm going to publish the new version today, maybe the animation issue is a bug of the SafariViewController and I can fix that later as a minor change

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

Guys, I need help to fix the build issues in order to publish the new version, any help is really appreciated 👍 https://travis-ci.org/proyecto26/nativescript-inappbrowser

from nativescript-inappbrowser.

jdnichollsc avatar jdnichollsc commented on May 18, 2024

Done! https://github.com/proyecto26/nativescript-inappbrowser/releases/tag/v2.0.0

from nativescript-inappbrowser.

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.