- 990x.top
- Простой компьютерный блог для души)
- com.android.browser — что это за программа?
- Android Browser source code — compile issues
- How do I view source code in an Android web browser?
- 13 Answers 13
- Com android browser source
- GoogleChrome / android-browser-helper Go PK Goto Github PK
- android-browser-helper’s Introduction
- Contributors
- Stargazers
- Watchers
- Forkers
- android-browser-helper’s Issues
- postMessage support?
- Provide example of how to get extra data from notification
- Add support for Web Share Target API
- Please add notification badge icon in ‘twa-notification-delegation’ demo for non java developers
- Links from Gmail mobile app are opening in micro-browser or crashing
- forceFallbackStrategy
- Make Github Actions run instrumentation tests.
- Add a demo Notification Delegation with custom notifications
- Update docs for building the library.
- TwaLauncher does not opens links on Meizu
- Update Library to use android.browser-1.2.0
- Add support for fullscreen/immersive mode
- I want to know when the fixed bug is updated to this library
- asset_statements delegation permisson
- Can i send data from Android service and handle it in pwa ?
- OK to subclass DelegationService?
- Activity com.google.androidbrowserhelper.launchtwa.LaunchTwaActivity has leaked ServiceConnection
- WebView fallback
- Android Browser Helper should not declare a buildToolsVersion
- Allow setting data on the intent referrer
- Breakdown on supported features at browsers
- [Ask] Is pre-render content still supported?
- Enable appending extra parameters to a deep link query string
- Prepare for package visibility changes on Android 11
- dependencies < //. implementation 'com.google.androidbrowserhelper:androidbrowserhelper:1.1.0' >
- Google assistant popping up on tap by text.
- Payment Provider Demo Not Working: «serviceworker» must be a dictionary
- Release version 1.1.0
- Add a postMessage demo.
- Cannot make multi domain part to work
- Add docs for using this library.
- In chrome os the referrer is empty
- Task management tests.
- Demo for starting TWA
- Make android-browser-helper available in a Maven Package Registry
- restart app after updating a new version
- I think TWA is not stable yet, till then we can launch PWA on error/exception
- Installation
- Android version support confirmation.
- Add demos
- NullPointerException — CustomTabsSession is required for launching a TWA
- Merge Manage Data Activity code
- Issue on Kindle Fire devices
- Hiding NavBar and StatusBar
- Crash on start: Non-browser selected
- Add Dark Mode support
- NullPointerException in com.google.androidbrowserhelper.trusted.TwaLauncher.launchWhenSplashScreenReady
- TWA is crashing multiple times.
- Library crashes when used with androidx.browser latest version
- Steps to reproduce
- Expected result
- Actual result
- Proposed fix
- Improve ergonomics for multiple verified origins.
- Recommend Projects
- React
- Vue.js
- Typescript
- TensorFlow
- Django
- Laravel
- Recommend Topics
- javascript
- server
- Machine learning
- Visualization
- Recently View Projects
- android-browser-helper
- angular-form-builder
- js_array-method-filter
- devtraining-needit-orlando
990x.top
Простой компьютерный блог для души)
com.android.browser — что это за программа?
com.android.browser — приложение, представляющее из себя родной браузер Mi Browser (дефолтовый).
- Под процессом com.android.browser может быть разная версия браузера. Чаще всего это Mi Browser, но может быть и Meizu Browser, то есть зависит от производителя телефона.
- Удалять можно, но тогда могут появиться проблемы при просмотре web-страниц в обычном стандартном браузере по умолчанию. Если вы используете сторонний, например популярный Google Chrome, то удалив com.android.browser — возможно что проблем не будет. Но нельзя исключать, что системный браузер возможно нужен для других функций прошивки, поэтому вместо удаления лучше всего морозить (например используя Titanium Backup).
- На заметку — браузер, это программа, при помощи которой можно просматривать интернет-страницы, смотреть Ютуб и прочее. Только браузеры могут быть разные, например есть Хром, Мозилла. Проблема с com.android.browser только в том, что это системное приложение, поэтому если его удалить — вполне возможно что могут появиться глюки.
Но браузер может иметь и другое немного название пакета, например на телефонах Самсунг называется com.sec.android.app.sbrowser.
Надеюсь данная информация оказалась полезной. Удачи и добра, до новых встреч друзья!
Источник
Android Browser source code — compile issues
I imported the android browser source code into eclipse. But, i could not build the code due to many errors.
I referred to this link and tried the steps in the tutorial.
But, i am facing some issues. I created the classes.dex.dex2.jar file. But inside the jar file i browsed through com/android/internal folder which is empty. I tried many times but facing the same issue.. I am working on windows 7 OS.
Kindly help me on resolving the issue.
Thanks in advance.
Error reason — internal and hidden APIs could not be imported in app.
Steps followed in fixing the build issue.
Downloaded the android-10-internals folder from the following link. https://github.com/inazaruk/android-sdk/tree/master/platforms
Unzipped the folder and copied the folders to android-sdk-platforms folder.
Started Eclipse. Clicked on New project and entered project name and clicked Next. In list of android sdk, i did not see my newly added platforms.
Closed Eclipse. Copied the android.jar and build properties file and pasted in android-sdk-platforms-android 10 folder.
Browsed to eclipse — plugins folder and copied the adt jar file to a different location. Renamed it to zip file. Unzipped the file and changed the com/android/internal to com/android/internax and zipped the file and recreated the jar file.
Replaced the jar file. Opened the eclipse.
7. Still in android-jar, i find the forbidden rule unremoved. All import errors still unresolved.
Please let me know if anything i am missing.
Источник
How do I view source code in an Android web browser?
Is there a way to view the source HTML in an Android web browser?
13 Answers 13
You can use Javascript’s alert method to return the source code, type this in the address bar:
In Firefox or Chrome on Android it’s possible to view source by prefixing the URL in the address bar with » view-source: «, i.e. » view-source:http://google.com «.
Look for an app called View Web Source in the market and install it.
Then when browsing, open your menu and tap «share», in the list that pops up choose View Web Source.
The app mentioned in this answer hasn’t been updated since 2009.
You might want to try VT View Source.
Another tool that is useful for viewing source AND modifying them live, in Firebug/Web Inspector-like manner, is the weinre remote debugger.
Create a new bookmark (bookmarklet) on Mobile Chrome with:
Name: View Source (vs)
URL: javascript:document.location=’view-source:’+document.location; void(0);
Now when on a page, tap the address field and start typing: vs. The bookmarklet should appear, click it and you are ready.
IN chrome, there is remote debugging facility. If you install Chrone on your phone. If you connect your phone through usb to PC,you can view the Javascript modified source on your PC in a Chrome browser.
If this is for debugging (from your comment it looks like it is) something even better is installing a user agent switcher extension for Firefox or Chrome on your desktop. Change the user agent to Android and you get the mobile version of the site, but with all the source and debugging tools you’re used to.
you can capture the source to your shell or to a text file if you’re using an emulator, which is very handy for development. To do this you’ll need to install Android Developer Tools, which comes with adb. Fire up your emulator then from your OS’s shell run the command:
This will output anything from the browser app on your emulator and suppress any other log messages. From there any javascript console.log commands will be captured by adb and output for you to view. So, if you’re using JQuery, you can add this to your page and it’ll output the whole page html to the log:
This will output everything within your html tag on the page to the log.
You can capture the output of your log (using BASH, at least, I can’t speak to other shells) with:
now, any output from the log gets dumped into your log.txt file. This is really handy for a whole page’s worth of HTML, as you can then search through it as you would any other text doc.
If you want to grab a specific bit of the page rather than the whole thing, you can specify that part of the page rather than the html tag in your JQuery, so if you need to look at a single div that has a class/id associated with it (for this example, it has a class named ‘inspect-me’), you can change your JQuery to:
Источник
Com android browser source
- This is the source code of Chromium Android app.
- All files are from (or generate from) the Chromium project.
- This repository helps you review the most popular browser app on Android.
- You can also build your own Android browser with this repository.
Check out this repository and open the project with Android Studio.
Now you can build, run, debug as a normal android project.
Notice: If you have something wrong with build, try close instant run in Android Stuido settings.
If you want to update Chromium source, these steps may help:
Generate files for Android Studio with offical guide: Android Studio
- After that, you can find some build.gradle files in [BUILD_TARGET]/gradle , which defines the Java sources for Chromium.
Try sync files with script: tools/sync_chromium.sh
- Replace BASE_DIR in script with your Chromium src dir.
- Replace RELEASE_DIR in script with your build dir.
- PRO_DIR is the dir where new files will copied to.
- Sync script may out of date that you need modify it yourself.
Finally, replace all files in this project with the new files.
Источник
GoogleChrome / android-browser-helper Go PK Goto Github PK
The Android Browser Helper library helps developers use Custom Tabs and Trusted Web Activities on top of the AndroidX browser support library.
License: Apache License 2.0
Java 98.60% Kotlin 1.12% AIDL 0.29%
android-browser-helper’s Introduction
Android Browser Helper
The Android Browser Helper library helps developers use Custom Tabs and Trusted Web Activities on top of the AndroidX browser support library. It contains default implementations of many of the common tasks a developer will find themselves requiring, for example:
- Creating a Launcher Activity that simply launches a Trusted Web Activity.
- Code for choosing an appropriate Custom Tabs provider.
- Creating an Activity to launch the browser’s site settings for a TWA.
Adding Android Browser Helper to an Android project
Android Browser helper is available on the Google Maven. To use it, modify your application’s build.gradle and add the library as a dependency, as described below:
Source Code Headers
Every file containing source code must include copyright and license information. This includes any JS/CSS files that you might be serving out to browsers. (This is to help well-intentioned people avoid accidental copying that doesn’t comply with the license.)
Contributors
Stargazers
Watchers
Forkers
android-browser-helper’s Issues
postMessage support?
I noticed the APIs in CustomTabService for using postMessage, but I couldn’t get them to work. And after some searching around I found this patch, suggesting that postMessage is disabled in TWAs:
But it was back in 2018, so I wanted to check: can I use the native postMessage APIs with TWAs? If not, are there any other strategies for transferring data between the native and web sides?
Provide example of how to get extra data from notification
Please provide an example in NotificationDelegationService of how to access data that was set in the original web push message data property using showNotification
I can’t see that any data can be found in the notification extras that is sent to the method onNotifyNotificationWithChannel
Add support for Web Share Target API
It is possible to register a PWA (WebAPK) as share target (it happens automatically if share_target is specified in manifest.json ) but it does not seem to be supported in TWA at the moment.
This is a huge bummer for us because share data with our PWA/TWA is a central feature.
Please add notification badge icon in ‘twa-notification-delegation’ demo for non java developers
Links from Gmail mobile app are opening in micro-browser or crashing
Describe the bug
After recent update to last stable version of android-browser-helper we started to observe a bug across many devices that caused crashes or improper behavior that happens when people are opening specific links on the up-to-date Gmail mobile Android app. It is a problem only concerning this mobile mail client, it doesn’t appear on Outlook mobile or other clients — there links are opening properly as TWA.
To Reproduce
Steps to reproduce the behavior:
- Receive an e-mail on Gmail mobile app that contains a link to TWA-bundled app
- Click on that link
- Either website will be opened in Chrome micro-browser or it will crash at that point, it won’t open it as TWA
Expected behavior
When TWA app is installed on device, such links should always open as existing or new TWA instance.
Did this ever used to work
Earlier android-browser-helper versions and Gmail mobile client app.
Smartphone (please complete the following information):
- Device: OnePlus 7 Pro
- OS: Android 10
- Browsers Installed: Chrome
- Browser Versions: latest
- android-browser-helper library version: latest stable
- Gmail Android client app version: latest stable
forceFallbackStrategy
[google translate]
Not enough forceFallbackStrategy
For example, if the application is running on the Android TV platform and some browser is installed on it, then pwa is currently running in this browser, and I want getFallbackStrategy to be executed for the Android TV platform and run in webview.
To do this, I have to copy all the code from LauncherActivity and do a check at the beginning
getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK)
[orig_ru]
Не хватает forceFallbackStrategy
Например, если приложение запущено на платформе андроид тв, и на нем установлен какой то браузер, то в данный момент pwa запускается в этом браузере, а я хочу чтоб в любом случае для платформы андроид тв выполнилось getFallbackStrategy и запустился во webview.
Для этого мне приходится копировать весь код из LauncherActivity и в начале делать проверку
getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK)
Make Github Actions run instrumentation tests.
Add a demo Notification Delegation with custom notifications
Native notifications allow customisations like different notification sounds. The goal is to setup the Trusted Web Activity project and customise native notifications.
Demonstrating every possible customisation of the native notification API is outside the scope of the demo, as those should be well documented by Android itself.
Update docs for building the library.
TwaLauncher does not opens links on Meizu
I’m trying to open link like this:
It works good on any devices, except the Meizu
I’ve tested on Meizu PRO 5. Android 5.1 (SDK: 22)
Maybe I do something wrong. I don’t even understand how to enable logging on TwaLauncher to improve the bug report.
I hope for your help. Thank you
Update Library to use android.browser-1.2.0
The version of the androidx.browser that android-browser-helper depends has reached stable, with some minor API changes.
We need to update android-browser-helper with those changes, as a path for version 1.0.
Add support for fullscreen/immersive mode
android-browser-helper is making the Immersive Mode API easier to use: #95
- During the init command, Bubblewrap should use read display attribute from the Web Manifest.
- If the display is fullscreen, default the configuration to use immersive mode. Otherwise, default to regular mode.
- Ask the developer to confirm the choice.
I want to know when the fixed bug is updated to this library
I want to know when the fixed bug is updated to this library.
implementation ‘com.google.androidbrowserhelper:androidbrowserhelper:0.1.0-alpha1’
asset_statements delegation permisson
Looking at README, in order to enable multiple domains, we need to add the «asset_statements» as declared there:
But looking at source code, the delagate_permission is differente than is wrote in README.
The first one is using delegate_permission/common.share_location and the second one is using delegate_permission/common.handle_all_urls.
- Which one is the correct?
- Does it matter to enable multi domains?
Can i send data from Android service and handle it in pwa ?
OK to subclass DelegationService?
I’m evaluating how we might use android-browser-helper in our app. In an ideal world we’d be able to use more notification functionality than the web currently provides, so I started poking around.
I just did a quick test subclassing DelegationService and changing the service in the manifest XML to point to my subclass. and it works! But I wanted to check whether this is something you want people to be doing with the library and something that would be supported down the line?
Activity com.google.androidbrowserhelper.launchtwa.LaunchTwaActivity has leaked ServiceConnection
The library ( com.google.androidbrowserhelper:androidbrowserhelper:1.1.0 ) is leaking the ServiceConnection when exiting the activity (see below for the stacktrace). I also checked the elder version (1.0.0), this is also leaking.
How to reproduce:
- Run e.g. the TWA-CUSTOM-LAUNCHER from the Demos
- launch one of the instances, e.g. «LAUNCH WITH CUSTOM COLORS«
- exit the customtab, by pressing back or close
- then exit the activity, by pressing back
- In the logcat you will see the activity is leaking the ServiceConnection
Tested on:
- Emulator: Pixel 3, API 29, x86
- Samsung Galaxy Tab S3, SM-T820, Android 7.0
Stacktrace:
WebView fallback
Investigate providing a WebView fallback when the device does not have a TWA provider.
- Have a look at current usage.
- Consider APK size increase.
- Consider WebView Web API support.
Requirements for a WebView fallback:
- Opens startUrl in full-screen
- Supports multiple Origins
- Handles external navigations using CustomTabs
- New Intents should re-use an existing Activity / WebView
- Handle orientation changes so that page state isn’t lost
- Handle onPause/onResume
- Handle onBackPressed
- Handle onSaveInstanceState
- Enable domstorage, database, etc.
- Splash screen support
- Immersive mode
- Sets android-app://
Android Browser Helper should not declare a buildToolsVersion
Declaring a buildToolsVersion in the library’s Gradle file leads to a warning in Android Studio, since this is no longer recommended. The specific buildToolsVersion should be removed from the Gradle file.
Allow setting data on the intent referrer
Breakdown on supported features at browsers
android-browser-helper library declares minSdk=16 . But it sounds like user experience depends a lot on which browser is being used and theirs version. It’s android so not everyone is on single browser — Chrome. And some (most?) browsers including Chrome have stopped supporting sdk16 already.
Currently it is quite hard to understand and estimate how many users are ending up in ‘reduced compatible behaviour’ bucket. Knowing the audience size would help to better estimate an effort into supporting those users or not.
Is it possible and do you think it is valuable to gather this information at this project (and let people contribute the rest of the browsers if they are interested)? Something like this:
Browser | Chrome Custom Tabs | Trusted Web Activity | Splash Screen |
---|---|---|---|
Chrome | v45, released 2016, supports sdk 16+ | v72, released 2019, supports sdk 19+) | v75, released 2019, supports sdk 19+) |
Samsung | v4, released 2016, supports sdk16? | Soon | ✖️ |
Android WebView | Same as Chrome for android 21+ but does WebView supports CCT on android below? | ||
Firefox | v57, release 2017, supports android sdk 16+ | ✖️ | ✖️ |
[Ask] Is pre-render content still supported?
May I know the feature pre-render-content below is still supported in the android browser helper?
if yes, could you please share with us how to implement it?
We have a scenario like that:
- Run the TWA app with a specific link
- From TWA activity, we use deep-link to open another native activity
- From Activity, we do some tasks and depend on results we will return back TWA with new URL
However when back to TWA with a new URL, there is still delay time which still shows previous page with the old URL before direct TWA to new URL.
So I would like to know if we can pre-render or some tricks to open new TWA without showing the previous page?
Thank you in advance.
Enable appending extra parameters to a deep link query string
Developers frequently use an extra query parameter like &twa=1 to segment web traffic coming from the Trusted Web Activity implementation. LauncherActivity handles deep links correctly, but doesn’t allow configuring appending the extra parameter without developers creating their own LauncherActivity .
Ideally, we would allow developers to configure extra parameters via the AndroidManifest. This would allow developers to add extra parameters without having to write Java code and allow llama-pack to help developers to configure it.
Prepare for package visibility changes on Android 11
Applications targeting sdk level 30 will need to declare their queries in order to be able to read packages from the PackageManager. This impacts applications using Trusted Web Activity, as we need to query for installed browsers to connect to the service or decide on fallback strategies.
Adding a queries section with the appropriate markup android to the library AndroidManifest.xml will also import those queries into application using the library, via Manifest merging.
The following markup should be enough:
dependencies < //. implementation 'com.google.androidbrowserhelper:androidbrowserhelper:1.1.0' >
Read this First
If you have a Trusted Web Activity related question, the best place to ask it is on StackOverflow, on the
trusted-web-activity tag, which is also monitored by the team.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. It would be really cool if [. ]
Describe the solution you’d like
A clear and concise description of what you want to happen.
Describe alternatives you’ve considered
A clear and concise description of any alternative solutions or features you’ve considered.
Additional context
Add any other context or screenshots about the feature request here.
Google assistant popping up on tap by text.
In PWA mode google assistant don’t interact with page. But in TWA mode it act like Chrome Tab and assistant can create very messy experience then users tap on html content.
Payment Provider Demo Not Working: «serviceworker» must be a dictionary
The Payment Provider demo is not working. The service worker file is missing from the demo.
Release version 1.1.0
Add a postMessage demo.
Using postMessage is pretty confusing, we should add a demo for it.
(This is for CCTs, not for TWAs)
Cannot make multi domain part to work
App in testing — https://play.google.com/apps/testing/ru.rambler.news
Starting domain — https://www.rambler.ru, additional domains are https://news.rambler.ru, https://sport.rambler.ru, etc (8 additional domains in total).
Done exactly as described in multi-domain demo (and readme), every domain has /.well-known/assetlinks.json exactly the same as starting domain. All required parts in strings.xml, AndroidManifest and build file are also done but still.
Starting domain verifies OK while all additional domains show blue url bar and act as unverified origins when user passes to them via the link on a starting page.
- Signing config matches sha256 in assetlinks.
- Build in Android Studio 3.5
- Last test performed with Chrome 80.0.3987.87 (still fail)
Files included in following archive:
app_files.zip
Add docs for using this library.
In chrome os the referrer is empty
chrome os: 80.0.3987.76 beta
androidbrowserhelper: 1.1.0
Task management tests.
Create tests to ensure TWAs only occupy a single, canonical Task no matter how they are launched.
Demo for starting TWA
Hi is it possible to change the start and exit animation of trusted web activity? If yes is there an available demo?
Make android-browser-helper available in a Maven Package Registry
restart app after updating a new version
I have raised the issue in stackoverflow
Actually, I have raised the question in this thread But the issue seems can be resolved if users are using the native activity, the app will be restarted then they update a new version.
I am running the app with a custom tab, during the running the app (chrome on custom tab), then I use ADB to install a new version. In this case, maybe the new URL can be updated with a new value, I want to force users to restart the mainActivity with a new URL. However, as I see the users still use the old version (old URL) without any change until they restart the app.
Any way to force users to restart the app with new URL value?
I have tried Broadcast Reciever with «MY_PACKAGE_REPLACED» but it didn’t help.
I think TWA is not stable yet, till then we can launch PWA on error/exception
I think TWA is not stable yet, it is crushing many times on different devices. We can have a workaround till this stabilize. We should catch any error and launch chrome browser with PWA link. This way users will get have something working.
Installation
I would like to use this package but could you please give these questions to readme?
how to add the package to implemenation as dependencies in gradle file?
and how to call a function launchAsTrustedWebActivity in MainActiviy app?
Android version support confirmation.
As the demo package, the minsdk is 23 it means that TWA will only support android from 6.0?
As the TWA document, the mindsdk is 16 (from android 4.1) but it also mentioned that only support Chrome version 72 later.
As I know chrome 72 only supports android from 4.4 So could you please confirm what is the minsdk will support TWA?
Add demos
Add some examples to the demos module. Potentially copying from custom-tabs-client.
NullPointerException — CustomTabsSession is required for launching a TWA
We recently launched our TWA application and saw a few of these crashes come in. We are using 0.1.0-alpha1. I have not experienced this issue myself so I have no way of reproducing it.
Merge Manage Data Activity code
Issue on Kindle Fire devices
When attempting to use an app built using this project on a Kindle Fire device, the splash screen of the app hangs and then the browser interface is not launched.
I have noticed this in the debug output:
D/TWAProviderPicker: Found TWA provider, finishing search: com.amazon.cloud9
According to this log entry, it appears that Amazon’s browser is advertising compatibility. I was surprised by this — I had assumed that a fallback strategy would be employed (in my case a WebView activity). I’m not sure if Amazon’s browser actually has support or not.
To Reproduce
Steps to reproduce the behavior:
- Build functioning TWA app
- Run TWA app on an Amazon device
- Observe that TWA experience isn’t launched
Expected behavior
Either the TWA experience working or the fallback strategy being employed.
Did this ever used to work
Unknown
Smartphone (please complete the following information):
- Device: Kindle Fire 7
- OS: Fire OS 5.3.7.0, Android 5.1.1
- Browsers Installed: Silk Browser
- Browser Versions: 79.4.9.3945.136.10
- android-browser-helper library version: 1.1.0
Hiding NavBar and StatusBar
It seems like NavBar and StatusBar can only change color with the existing functionality, while the installed PWA app is able to be truly full-screen. Am I missing something or is it a bug?
Crash on start: Non-browser selected
Describe the bug
While the default system browser (where any link opens by default) is set to an actual browser (Brave, also tried setting to Chrome), for some reason an app that is not a browser and does not appear in the system browser selection (Revolut) is selected as TWA provider which causes a crash on start.
To Reproduce
Launching the app on my phone in debug mode returns these logs before the app crashes:
Expected behavior
The app should not crash
Smartphone (please complete the following information):
- Device: SM-G950F
- OS: Android 9 on newest patch (April 1 2020)
- Browser: Brave Browser
Add Dark Mode support
setColorSchemeParams and setColorScheme should as expected on TWAs, and allow to customize the navigation bar and URL bar (when navigating off origin).
- This segment of code sets the colour and can be extended to add the Color Schemes.
- Relevant fields need to be added to LauncherActivityMetadata .
NullPointerException in com.google.androidbrowserhelper.trusted.TwaLauncher.launchWhenSplashScreenReady
Describe the bug
We have recently upgraded from the google custom tabs client to android browser helper and notice a significant number of crashes, the highest being related to a NullPointerException from com.google.androidbrowserhelper.trusted.TwaLauncher.launchWhenSplashScreenReady
To Reproduce
Steps to reproduce the behavior:
- Download Badoo Lite from play store using one of the mentioned devices in screenshot.
- Launch the app
Errors are recorded when the app launches, play console has this stack trace from a Motorola Moto C Plus, but see also attached affected devices):
Expected behavior
App launches without the NullPointerException
Did this ever used to work
Similar error happened with google tabs client.
Screenshots
Code Snippets
Splash screen strategy is being set with this code:
These all have values except for transformation matrix which is null.
Smartphone (please complete the following information):
- Device: Motorola Moto C Plus
- OS: Android 8.1
- Browsers Installed: Chrome
- Browser Versions: Don’t know
- android-browser-helper library version: 1.1.0
Additional context
Badoo Lite is released on the play store for low end devices as an alternative for the native android app.
TWA is crashing multiple times.
My TWA is crashing multiple times. I am including some error text from play console dashboard. I am not android developer so I can not understand these errors.
Library crashes when used with androidx.browser latest version
This library crashes when used with androidx.browser latest version (as of today, v1.2.0-alpha09).
Steps to reproduce
- Configure the app/build.gradle with the latest versions of both androidx.browser and android-browser-helper:
- Launch a Chrome Custom Tab like in the demo example:
Expected result
The tab should open without any error. This is the case if we use androidx.browser version 1.2.0-alpha08.
Actual result
An exception is thrown. Stack trace:
Proposed fix
TwaLauncher should be modified so that it no longer calls TrustedWebActivityIntentBuilder.getUrl() . That method no longer exists. It was removed in androidx.browser v1.2.0-alpha09.
Improve ergonomics for multiple verified origins.
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
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
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
Some thing interesting about game, make everyone happy.
Recently View Projects
android-browser-helper
The Android Browser Helper library helps developers use Custom Tabs and Trusted Web Activities on top of the AndroidX browser support library.
angular-form-builder
Drag and drop to build bootstrap forms in AngularJS.
js_array-method-filter
A PHP library for generating universally unique identifiers (UUIDs).
devtraining-needit-orlando
This repository is used by the developer site training content, Orlando release. It is used for the Build the NeedIt App, Scripting in ServiceNow, Application Security, Importing Data, Automating Appl
Источник