in eclipse Project->properties->TestNg->Maven
check "Enable project specific setting" if not enabled.
Uncheck everything or live argLine if you are using.

Try to delete your cache. You probably wrote display block first, and flex after. but the first file downloaded still in cache with display block.
I believe that the table you have created have a schema that is different from what is needed by your ETL job.
I am not sure but it seems that glue tries to find a table capable of receiving the output of the ETL pipeline with the correct name and schemas. If it doesn't exist (because the schema is wrong), then glue tries to create the table but a table with that name already exists.
Removing the table then rerunning the job worked in my case.
I ran into this same issue and was able to get the install to work by uninstalling .NET Core Desktop Runtime 8.0 and installing .NET SDK 8.0.306.
Not sure why this worked as Microsoft's documentation specifically says to install .NET Core Desktop Runtime 8.0.
If you already have yarn in your machine, you just need to run
yarn set version stable
And yarn will upgrade to the latest stable version
SymmetricDS does support bidirectional file sync. If you query sym_file_snapshot on both sides, are there entries in both tables? If you make a new file change on the target, does it show up in sym_file_snapshot?
We believe you are missing some kind of configuration in your setup.
With Docker Desktop v4.34.3 you can use the "Settings" menu inside de app to change the data location:
I'm on Mac running Monterey 12.6.1, and this code works on all my browsers.
Brave: v 1.70.126 Chrome: v 125.0.6422.113 Safari: 15.6.1 Firefox: 131.0b4
Maybe listing the specific versions of O.S. and browser you're using could be helpful in determining what is causing the issue?
I can refer you a very good article, where reading email using GMAIL API with raw format and convert it into normal String using java code. You can check it here. Hope this will help.
Seems i get how to solve this for Android:
Hey hope this helps,
Naming image files something descriptive is crucial to SEO and helps search engines understand what the image depicts
HTML/CSS/JavaScript files don't directly affect SEO but do play a
role in overall performance that in turn affects SEO.
Folder names and structure often appear in the URL and should be a clean and descriptive, if content is logically organized into folders and subfolders it will help search engines understand the hierarchy and relationship between pages
try this: .Font.Bold = 0 'for false (1 for true)
any luck with this issue Fahim Rahman?
Did you ever figure this out? I am running into the exact same issue.
Google cloud composer has no support for this as of today
The issue you're encountering is related to the version of the workmanager package. Instead of using the following dependency:
workmanager: ^0.5.2
You should reference a specific commit from the GitHub repository to resolve this issue. Update your pubspec.yaml file like so:
workmanager:
git:
url: https://github.com/fluttercommunity/flutter_workmanager.git
ref: b783000
This points to a specific commit that addresses the problem you're facing.
It's likely that the Flutter Workmanager team will resolve this in future releases, so keep an eye out for updates. Once the issue is officially fixed in a newer release, you should be able to switch back to using the standard versioning.
Have you tried to increase #SBATCH --ntasks=1 to, say, 2? It should allocate more cores to your script.
You are passing an arbitrary string instead of the credential file path to the GoogleCredential.FromFile function. Assuming that your file is actually located at "serviceAccountKey.json", you should pass the argument as such:
var credential = GoogleCredential.FromFile(credentialPath);
Answer: rel="canonical" link element
how would i calculate the binary possibilities for 14 bytes
Making a splash screen and then redircting to the app solved the problem. Also the comments of @PeterKoltai under the question are really useful
I have had a similar error: Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/lang3/ObjectUtils
My solution was to add from https://commons.apache.org/proper/commons-lang/download_lang.cgi the file commons-lang3-3.17.0.jar to the build path. This file is located within the downloaded ZIP file.
I am using
cheers
Weldone Bosses, the solution is very simple and straightforward but before we dive into the solution... I have written an article on this here's the link
All you need to do is confirm your node environment and make sure it's in the commonJs environment but in case you need more insights I can put you through the step by step way to go about it
I had this issue today. Removing "align: center" from the video's container the weird border for me.
.video-container {
/* align: center */
}
I don't know if I understand correctly. If you want a curved border you could just use
border-bottom-right-radius: 80px 80px;
and change the values accordingly to your desire
Check you filters. One of them overwrite your params.
Create a starship.toml file under your home dir (if it does not exist)
Run the following command in your terminal:
starship config command_timeout 1000
or simply open starship.toml in an code editor and add the following line (top of the file)
command_timeout = 1000
Check the logs of your webserver pod. Most likely it's complaining about no credentials (it's uploaded to s3 with your worker, but you want to stream it back with webserver) - check if your webserver Service account has correct annotations.
I had a similar issue where I needed to test whether the correct cert was added to the Java keystore. This blog post by Matthew Davis shows a simple method for doing so. It does require access to a JDK.
Source: https://matthewdavis111.com/java/poke-ssl-test-java-certs/
Install JDK (if needed)
# Debian/Ubuntu
apt-get install -y default-jdk
# Rockylinux/Alma
dnf install -y java-latest-openjdk-devel
Source Code
Save the following to SSLPoke.java
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
/** Establish a SSL connection to a host and port, writes a byte and
* prints the response. See
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services
*/
public class SSLPoke {
public static void main(String[] args) {
if (args.length != 2) {
System.out.println("Usage: "+SSLPoke.class.getName()+" <host> <port>");
System.exit(1);
}
try {
SSLSocketFactory sslsocketfactory = (SSLSocketFactory) SSLSocketFactory.getDefault();
SSLSocket sslsocket = (SSLSocket) sslsocketfactory.createSocket(args[0], Integer.parseInt(args[1]));
InputStream in = sslsocket.getInputStream();
OutputStream out = sslsocket.getOutputStream();
// Write a test byte to get a reaction :)
out.write(1);
while (in.available() > 0) {
System.out.print(in.read());
}
System.out.println("Successfully connected");
} catch (Exception exception) {
exception.printStackTrace();
}
}
}
Compile the app
Run the following which will produce a Java class file SSLPoke.class
javac SSLPoke.java
Run the app
java SSLPoke <hostname> <port>
# e.g. java SSLPoke google.com 443
A message saying Successfully connected means the https connection is trusted, otherwise an exception will be printed.
Do you have a minus sign to much in your RHSheatspatial? When I remove one of them, i.e., du_dt = c**2 * dd_u, I get the following solution:
I am not sure if this is the correct solution to your heat equation, though, but it looks more plausible, I believe.
What would this formula be for consecutive columns? Many thanks.
I have been trying to figure it out without success.
Adding onto
Blockquote
Adding onto this answer, I had hex strings in the form '#DDDDDD' which required some type wrangling
const hex: number = parseInt(color.slice(-6), 16);
const complement = 0xffffff ^ hex;
const hexColor = '#' + ('000000' + complement.toString(16)).slice(-6);
I had to add safelist to my tailwind.config.ts
safelist: [
{
pattern:
/(bg|text|border)-(purple|pink|orange|yellow|green|black|gray|neutral|red|blue|white)/,
},
],
Not sure how to solve this in perlbrew specifically, but in case somebody stumbles upon this StackOverflow thread because they're looking up the clang error thrown by perl Configure, here's what is likely going on. After -arch, with Apple Clang, x86_64 or arm64 is supposed to be passed. However, on ARM, it seems like the perl darwin Configure hint is not recognizing the CPU architecture when 64-bit addressing is enabled (the -Duse64bitall flag is passed to Configure), so it just passes an empty string after -arch. I've opened a Perl PR to address this: https://github.com/Perl/perl5/pull/22672.
The person in this GitHub issue: https://github.com/gugod/App-perlbrew/issues/768 found out that in fact perlbrew is calling Configure with the respective 64-bit addressing flag.
From my perspective, either the perl source used for perlbrew should be modified or a newer perl that contains the hint fix should be used. I'm not sure what perlbrew needs 64-bit addressing for, but in the perlbrew GitHub issue the people found out that if omitted, the perl tests fail, so I guess that's not an option.
Same problem here. The code that breaks the "Configure options" functionality is
'MAIL' => [
...
'transport_smtp_stream_options' => [
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
],
],
],
But this only happens if the code is in the file settings.php. If you write it in the file additional.php, it should work.
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_stream_options']['ssl']['verify_peer'] = false;
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_stream_options']['ssl']['verify_peer_name'] = false;
I don't know exactly when, but this must have changed in one of the last versions after 12.4.11.
This is an old question but it still shows up when I google "webgl integer attribute" so I'll add an updated answer.
This is now possible using WebGL2:
// In your shader
in int index;
// In your JS, instead of calling vertexAttribPointer
gl.vertexAttribIPointer(...);
Note the I (for integer) in vertexAttribIPointer. Here are the MDN docs:
https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer
Many thanks to this other StackOverflow answer, which goes into more detail:
I've rebooted my laptop for the second time and the BrokenHazelcastAutodiscovery became working again. 🤷🏼
for /f "skip=1 delims=" %%F in ('dir *.log /b/a-d/o-d') do ( move /Y D:\vFocus_Log\W3SVC1%%F D:\vFocus_Log\W3SVC1\Temp%%F )
It seems that your addColor component is tsx, not jsx based on your tree.
Which extension are you using now? If your current file is addColor.tsx, then you can replace it with addColor.jsx.
iterrows() is not an efficient way to iterate through the rows in a pandas dataFrame especially when dealing with large data. If possible, you should try to use vectorized operations or apply functions instead.
You can read the documentation here. https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.apply.html
This might help others to code in a more pythonic way.
Where does the method GetWorksetIds come from? I see no such method in the Revit API. Have you implemented that yourself? How?
To effectively use Spring's @Cacheable with multiple cache layers like EhCache and Redis while ensuring synchronized eviction across all instances, configure separate cache managers for each layer and implement a custom CacheResolver to manage cache access. When a cache entry is evicted using @CacheEvict, ensure that both EhCache and Redis are cleared for that entry through manual eviction logic. To synchronize this eviction across distributed instances, leverage Redis Pub/Sub: when an entry is evicted in one instance, publish a message to a Redis channel that all other instances subscribe to, prompting them to evict the same key from their caches. This approach ensures consistency and coherence across your caching strategy.
I finally got this working. Two changes were needed, see below.
First, use IHttpContextAccessor instead of UserService:
public class TestService
{
public string Username { get; set; }
public TestService(IHttpContextAccessor httpContextAccessor)
{
Username = httpContextAccessor.HttpContext?.User?.Identity?.Name ?? "unknown";
}
//public TestService(UserService userService)
//{
// Username = userService.Username;
//}
}
This handled the issue in dev and when run directly in Kestrel. However, it still did not work in IIS.
To make it work in IIS, enable "Web Sockets" in IIS, see this SO post: WebSockets must be enabled in IIS
I am not sure that this is the correct way of doing this and I still do not understand why my initial solution does not work: why DI sends blank UserService to TestService.
I have seen various information about using HttpContext in Blazor. If I understand this page correctly: HTTP Context in ASP.NET Core, it seems that it is mainly a problem with interactive components. I would prefer a working solution that does not have this potential issue.
Feel free to suggest a better way and I will gladly accept that solution instead!
The YAML file you have is a conda environment recipe, rather than a recipe for building a package (meta.yaml).
Conda channels (e.g. bioconda, conda-forge) have their own specific guides and methods for building packages hosted in those channels. It looks like you might be intending your package to be part of bioconda, their contribution guide is here: https://bioconda.github.io/contributor/index.html
In addition, you can browse examples of existing bioconda recipes in their GitHub repository: https://github.com/bioconda/bioconda-recipes. That can help you find a package that is similar to your own to see how they structured theirs.
SOLVED: Apparently, one particular Calendar was marked with a location tag (Office). Once I removed it, the API is NOW pulling only the active events! Still, that does not make sense to me just yet, but it's working now. Sheeesh!
Thank you everyone for your thoughts. They do help!
The server component will be rendered on the server.
Documentation explains:
With this approach, ClientComponent and ServerComponent are decoupled and can be rendered independently. In this case, the child ServerComponent can be rendered on the server, well before ClientComponent is rendered on the client.
More than 4 years later, and I ran into the exact same issue. Did you ever manage to resolve this?
If you are using Vuetify 3.6 and later, you can replace all the old code with one new component v-date-input https://vuetifyjs.com/en/components/date-inputs/
The above chart is not working
We are seeing this with our Angular application as well, but only when the sourceMap Angular build option is set to false(using the browser-esbuild builder).
Including the line
+ coord_sf(expand = FALSE)
should fix your issue and still let you scale the axis as you prefer.
Can you run this to check the files under directory ? Replace MY_DIR using your directory name
Code:
DECLARE
l_file_handle UTL_FILE.FILE_TYPE;
l_file_name VARCHAR2(255);
l_is_dir BOOLEAN;
BEGIN
l_file_handle := UTL_FILE.FOPEN('MY_DIR', '.');
LOOP
UTL_FILE.GET_LINE(l_file_handle, l_file_name);
DBMS_OUTPUT.PUT_LINE(l_file_name);
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
UTL_FILE.FCLOSE(l_file_handle);
END;
In my case, I named the file wrong keystore.properties inside android, and picking values from key.properties. Changing name fixed the problem in my case.
configure SECURE_PROXY_SSL_HEADER like in answer above https://stackoverflow.com/a/72685575/1611526
class BothHttpAndHttpsSchemaGenerator(OpenAPISchemaGenerator):
def get_schema(self, request=None, public=False):
schema = super().get_schema(request, public)
if request.is_secure():
schema.schemes = ['https']
else:
schema.schemes = ['http']
return schema
then:
schema_view = get_schema_view(
...
generator_class=BothHttpAndHttpsSchemaGenerator,
)
This configuration works for dev and production environments.
Using V14 was not OK, I was able to update google ads api from 22.0.0 to 22.1.0, doing this gave me access to V16. After what only issue was to use MCC id to instanciate googleAdsClient and then using client id to instanciate searchStream
To place the small screen navbar above the hero using Bootstrap, you can use the offcanvas component. You can check out here: https://getbootstrap.com/docs/5.3/components/offcanvas/
To fetch exact versions of a package using the apk command, you can specify the version number directly in the command. Here’s the syntax:
Bash apk add = Example If you want to install version 1.2.3 of a package named example, you would run: Bash apk add example=1.2.3 Additional Notes You can find available versions of a package by using: Bash apk info -a If the exact version is not available in your repository, make sure your repository index is updated with: Bash apk update This should allow you to fetch the exact versions of packages you need.
Avoid using DataSet, I recommend using Entity Framework and/or some ORM for connections, for example NPoco.
I am currently using MAMP 7.0. I thought I would contribute to this conversation. what worked for me was to add "-idle-timeout 9600" to my FastCgiServer Config in the block.
e.g. FastCgiServer /Applications/MAMP/fcgi-bin/php.fcgi -idle-timeout 9600 -socket httpdFastCGI.sock
You don't need to call flush(). In fact, we strongly recommend users don't call flush() interface manually. Milvus internally automatically flushes data.
The following workflow is good practice:
create_collection() ----> insert() ---> ..... ---> insert() ---> create_index() ----> load() ---> search()---> ... ---> search()
See: https://milvus.io/docs/index-vector-fields.md?tab=floating
In mascos with postgres 15:
rm /usr/local/var/postgresql@15/postmaster.pid && brew services restart postgresql@15
There isn't much difference besides the difference in the operations themselves. Choose the one best for the context in which x is being used. The two are really not going to be different unless you do the operation with a number greater than one, which is where the variable amount will be big enough to create a different output.
No enum constant com.uka.lab.model.Enum.PaiementStatusEnum.0; nested exception is java.lang.IllegalArgumentException: No enum constant com.uka.lab.model.Enum.PaiementStatusEnum.0 at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:374) ~[spring-orm-5.2.4.RELEASE.jar:5.2.4.RELEASE]
Very late, but NavigationToolbar2 constructor has coordinates argument, which can disable coordinates:
NavigationToolbar(self.figure_canvas, self, coordinates=False)
This works with Qt5, but it is in backend_qt.py, so I assume will work in Qt4 as well (though it's probably irrelevant in 2024)
In complete tutorial, not clear where these parameters must be entered, everything above is wrong their is no params.
I'd suggest to set the start date to future date to start with, you can also use "is_paused_upon_creation" parameter in the ref [1]
Okay, The error you're encountering is due to the use of ES6 export default syntax in the pm2.config.js file, which isn't natively supported in Node.js unless you enable ECMAScript modules (ESM) by using .mjs files or enabling ESM through the package.json file.
The solution would be to convert the file to commonjs. Syntax: module.exports=[]
Previous proposal is good, however i2m() does not always return bytes
As a consequence, this will work better
def get_field_bytes(pkt, name):
fld, val = pkt.getfield_and_val(name)
return fld.addfield(pkt, b"", val)
Remove this line in program.cs
app.useAuthentication();
You can replace export default to the module.default to use CommonJS module exports
await driver.wait(until.elementLocated(By.className('searchServiceBtn')), 10000); const searchButton = await driver.findElement(By.className('searchServiceBtn'));
// Wait for the button to be clickable
await driver.wait(until.elementIsVisible(searchButton), 10000);
await driver.wait(until.elementIsClickable(searchButton), 10000);
// Click the search button
await searchButton.click();
console.log('Search button clicked.');
// Wait for the search section to be located
await driver.wait(until.elementLocated(By.id('servicelistSearch-form-wrp')), 10000);
// Check if the search section is displayed
const isDisplayed = await driver.findElement(By.id('servicelistSearch-form-wrp')).isDisplayed();
console.log(`Search section is ${isDisplayed ? 'open' : 'closed'}`);
} catch (error) {
console.error('Error occurred:', error);
I am not able to automate the things with this code
I have a couple of questions about it, because I have the same problem and I don't know how to solve it. Use wdio and reportPortal. Can you show how you resolve this? And it happened to you only in the method like $(element).isExist()?
This was a bug - if you upgrade to v1.94 or later, it should be fixed. https://github.com/microsoft/vscode/issues/227859
Bit of a change to @jjj answer above. But I needed it to work with a certain product only if the user had "user_a" role:
function change_role_on_purchase( $order_id ) {
$order = new WC_Order( $order_id );
$items = $order->get_items();
foreach ( $items as $item ) {
$product_name = $item['name'];
$product_id = $item['product_id'];
$product_variation_id = $item['variation_id'];
if( current_user_can( 'role_a' ) ){
if ( $order->user_id > 0 && $product_id == '248' ) {
update_user_meta( $order->user_id, 'paying_customer', 1 );
$user = new WP_User( $order->user_id );
// Remove role
$user->remove_role( 'role_a' );
// Add role
$user->add_role( 'role_b' );
}
}
else {
return true;
}
}
}
add_action( 'woocommerce_order_status_processing', 'change_role_on_purchase' );
So i have a similar macro and it works to automate css in reflection desktop. The app header is Reflection Workspace - CSS.rd3x I have the above references checked in but when i try to run it it gives me error "error in loading dll" I have deleted and reinstalled the whole app but still the same issue. Any idea whats wrong?
I'm not sure what you exactly want, but I guess something like:
content.replaceAll("\"resSec(.*?)\\}\\},\"preemRes", "\"preemRes")
As I see in comments by the author, it happened in a docker container...
I had the same error in a docker container, solution was to allow more shared memory (64 MB by default), see this blog post
I have been stuck at this problem for few hours now.Were you able to come up with any solution?
I found the answer here: https://repost.aws/questions/QU-9AGg80OQKym6-2N-1DzoA/webdriver-instance-for-mobile-web-testing
Main point: mobile devices on AWS Device Farm aren't accessible remotely. You need to upload your tests to AWS. The "command_executor" URL should be the same for iOS and Android: "http://127.0.0.1:4723/wd/hub"
I got around this issue by:
So I've found that downgrading the Azure Web Deploy version from v3 to v2 in the workflow file solved it and it now deploys successfully. This is obviously not a long-term solution and I want to use v3 so if anybody has an idea what's tripping up the newer version, I'm all ears!
Worked after filling tunnel_header argument.
sa = SecurityAssociation(ESP, spi=<spi>, crypt_algo='AES-CBC', crypt_key=b'<crypt_key>', tunnel_header=IP(proto=1, src="3.3.3.3",dst="4.4.4.4"))
p = IP(src='1.1.1.1', dst='2.2.2.2')/TCP(sport=45012, dport=80)/Raw('Hello World')
p = IP(raw(p))
e = sa.encrypt(p, iv=b'<iv>')
sendp(Ether(src='00:11:22:33:44:55', dst='00:00:00:00:00:05')/e, iface="veth0")
You can't, and not necessary.
Reviews from users without write permission won't affect the merging status of PRs. Their approvals looks like:

This is an approval from a user with write permission looks like:

And if you don't turn on Code review limits in settings page, a user explicitly granted access can voluntarily review PRs. So just ping them. If they are willing, they can add themselves to the reviewer list.
If you still want to do that, in organization-owned repositories, you can do that by grantting them read permission. Still adds to collaborators, but permissions haven't changed. Then they will be included in the candidate reviewer list.
You can check out https://surveyjs.io/ It's a set of client-side JavaScript libraries that generate and use JSON for form schemas and responses. They are open-source on GitHub, you can install them as npm packages to try them out in your own environment. And they also offer plenty of examples.
I Attempted to submit with proper patch, but it shows Field"new_name" required. What is the solution for this?
For anyone still having issues with this: the xmlns:xhtml="http://www.w3.org/1999/xhtml" schema isn't rendering correct.
You'll have to use this one: xmlns:xhtml="http://www.w3.org/TR/xhtml11/xhtml11_schema.html"
Considering there’s a workaround within Google Cloud Platform console in sorting the permission error, it would be best to file a feature request against Crossplane for this specific use case.
I noticed that you already reached out to them. Please continue monitoring the tickets for future updates. It may take some time implementing this depending on their priority:
You can also submit a request directly in provider-gcp repo.
select * from TABLE where EXTRACT(YEAR FROM EVENTDATE) > EXTRACT(YEAR FROM SYSDATE)-2
After enabling more debugging by adding:
"Microsoft.AspNetCore.SignalR": "Debug",
"Microsoft.AspNetCore.Http.Connections": "Debug"
To the appsettings.json I discovered the message:
System.InvalidOperationException: Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
Which turns out to be related to: https://learn.microsoft.com/en-us/dotnet/core/compatibility/serialization/8.0/publishtrimmed
So after setting PublishTrimmed to false in the project configuration it is now working as intended. I will most likely go over to using the source generator api later, but at least I now know what the root of the issue was.
you can also try app ReviewNudgeBot It nicely groups messages by PRs. Add nice emojis to Slack message to show main PR events, like build failed, approval or merge. It also automatically sends reminders for reviewers and author, depending on who is currently blocking the PR progress.
And user mapping is done automatically, you don't have to link every account to Bitbucket to make it work
Same here, after trying for hours, I found that 'short' doesn't work even on v1p1beta. However, it works fine with command_and_search, but no luck with v2, even after testing it on Google Console. Has anyone here made it work?
I had already tried the default credentials. That didn't work.
The fix is to use a paid version of DBeaver. The community version only has the private key option.
The solution I came to was to switch to Gradle as the build system. There's a bit of complication setting it up, but it works to some degree.
Same here. My workaround is wrapping the SubscriptionStoreView with a GeometryReader { geometry in ... } and limiting the privacyPolicy with .frame(maxWidth: geometry.size.width)
did you solve the problem? I have the same one and don't know what to do
I have the same issue, did you find a solution?
We are using same pattern suggested by Thomas above. It works when the component property names are same as the one declared in the target modal.
This works: @Input() propertyName: any;
If you want to rename, you would need to use an Input "alias:" (see https://angular.dev/api/core/Input)
You can achieve the desired behaviour by putting (hidden) links to the uploaded images into your post message. For example:
lorem ipsum <https://your.image1.url| ><https://your.image2.url| >
Only downside: slack is going to mark the text as edited since those links are removed and replaced by the gallery.
To quickly transform coordinates from one coordinate system to another that is translated and rotated, follow these steps:
I use Camera.MAUI to do that: https://www.nuget.org/packages/Camera.MAUI
You can also use it to make videos, use the front camera or flash and also scan QR code function quite well
For scan install also (even if no it doesn't work): https://www.nuget.org/packages/Camera.MAUI.ZXing/1.0.0