Comments (23)
ok guys, I'm going to publish a new version with other changes, let me do that at night 👍
from nativescript-inappbrowser.
Let me see tomorrow 👍
from nativescript-inappbrowser.
@jdnichollsc , I tried to do it, but nothing has changed( are you ok after your bike accident?
from nativescript-inappbrowser.
@sulymkaa thanks for asking, I'm feel better 😅
from nativescript-inappbrowser.
@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.
Ohh but it's only for types, how can you create a type using a variable? 🤔
from nativescript-inappbrowser.
Aah, I see. Yes, you are right, should be ok the way it is now.
from nativescript-inappbrowser.
let me check, thanks mate!
from nativescript-inappbrowser.
@sulymkaa do you know if you can use jetifier to fix that? I want to avoid breaking changes :/
from nativescript-inappbrowser.
Nevermind, that only works for native code directly 😅
from nativescript-inappbrowser.
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.
@jdnichollsc would you be able to make update according to migration post?
from nativescript-inappbrowser.
@jdnichollsc , could you please let me know when you are going to push an update please?
from nativescript-inappbrowser.
for the moment have migrate with this tool , folder in node_modules
from nativescript-inappbrowser.
Sorry for the delay guys, yesterday I had an accident in my motorcycle, let me do this today 👍
from nativescript-inappbrowser.
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.
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.
You can see the types of both here https://github.com/proyecto26/nativescript-inappbrowser/blob/master/src/types/android.d.ts
from nativescript-inappbrowser.
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.
@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.
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.
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.
Done! https://github.com/proyecto26/nativescript-inappbrowser/releases/tag/v2.0.0
from nativescript-inappbrowser.
Related Issues (20)
- Custom share message
- Add error description to openAuth response
- fix androidXVersion to prevent build fails
- auto redirect in InAppBrowser.openAuth HOT 7
- [iOS] InAppBrowser is reverting the statusbar color settings after closing it HOT 2
- Please fix documentation for Android 11 HOT 2
- [openAuth] redirectUrl parameter HOT 2
- Accessing InAppBrowser object crashes the app
- 3.1.0 seems to not be compiled correctly HOT 2
- iOS: inAppBrowser does not open when triggered inside a Modal. HOT 12
- Is there any way to listen to events within the inAppBrowser? HOT 1
- ios/Android - Cannot Clean Cache on close HOT 1
- Question - Closing inappbrowser when user lands on a specified webpage HOT 3
- Use of Use of the broad package (App) visibility (QUERY_ALL_PACKAGES) permission being restricted by Google HOT 19
- Response type cancel on device during live sync HOT 1
- Add formSheetPreferredContentSize prop to allow for custom sized formSheet modals
- Missing metadata entities could result in bugs at runtime
- Add your app as the referrer (Android)
- Add mayLaunchUrl and warmup methods in Android
- Prevent iOS crash when redirect url is null
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 nativescript-inappbrowser.