text:
现在不能实现一个页面两个按钮吗，一个是图片，一个是视频，因为mimetype不一样

现在不能实现一个页面两个按钮吗，一个是图片，一个是视频，因为mimetype不一样，我想点击其最终一个按钮只能选择图片，点击另一个就只能选择视频

就是能不能让我先通过点击按钮之后来判断是那个按钮过来，然后让我设置mimetype，然后就发起选择图片

实例化2个就可以，
我实例化了2个按钮，一个只能穿mp3，一个mp4

authors: jianzhan-jy zhangzhepu


text:
Revert "Cleaning database"

Reverts fga-gpp-mds/2017.2-SiGI-Op_API#102

Coverage remained the same at 100.0% when pulling 0d492f29a643a1070a3c8fba4d0afeb917081c8b on revert-102-travisfix into a6861df987d65f273207586829068612ffd19101 on master.

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
thread 'main' has overflowed its stack

https://github.com/fgardt/factorio-scanner/blob/7126509d0bf93dc97caff6dc53f73e7cfe35819f/scanner/src/main.rs#L73
throws a thread 'main' has overflowed its stack

Interesting. What dump did you use to trigger this?

data-raw-dump.zip

ok I have not tested anything outside of linux (nixOS in my case) so far

that dump is actually a bit shorter than the one I am using.. hmm
I wonder if minimizing them before parsing could help?

It's the dump from --dump-data. Minified causes the same error. Does my dump work for you?

not tested it yet, I'll push a change soon that changes thins to be actually read from files instead of hardcoded into the executable

I tested it on my machine with the dump you provided, works perfectly fine on my machine.
It could be that some prototype struct is a bit too large for windows..

@danielniccoli could you try again now that #3 is merged? you can just specify the files you want to use with cli args

Just tested it in my windows VM and the current version works fine so #3 might have fixed it

#3 is a confirmed fix.

source: gharchive/issue

authors: danielniccoli fgardt

repo: fgardt/factorio-scanner

license: MIT


text:
2ページ目以降が重複判定されない

filename,ドロ数,報酬QP(+9400),礼装,髄液,弓輝,チェーンソー(x3),薪(x3)
合計,,1,0,2,1,15,6
R:\IMG_4381.PNG,20+,1,,2,1,15,2
R:\IMG_4382.PNG,2,,,,,,2
missing,,,,,,,
R:\IMG_4383.PNG,2,,,,,,2

こちらは、#174 とは違い、集計結果にも影響がでるようです
以下のような出力になると助かります
filename,ドロ数,報酬QP(+9400),礼装,髄液,弓輝,チェーンソー(x3),薪(x3)
合計,,1,0,2,1,15,4
R:\IMG_4381.PNG,20+,1,,2,1,15,2
R:\IMG_4382.PNG,2,,,,,,2
R:\IMG_4383.PNG: duplicate,,,,,,,

IMG_4381

IMG_4382

IMG_4383

#184で修正

authors: amenohimo fgophi

repo: fgosc/fgosccnt


text:
Plugin thumbnail wouldn't show

There seems to be an error in generating the url. Perhaps is supposed to generate a absolute path but it there might be an issue when using it under a subdomain?

I fixed the issue in the plugin. There was a typo in the url (extra useless slash): https://github.com/kanboard/plugin-gitlab-webhook/commit/fd174c46ea744151e0fc74fa76cd1c9fd76b5e90
Thanks.

Thanks!

authors: fguillot liladani

repo: fguillot/kanboard

license: mit

license_source: bigquery


text:
add readme to example to show how to use

Adding a README to the example is essential. Because it can help everyone understand how to use the Python script inside the example folder.

You are right. There should be a readme file to tell how to use the examples. But your descriptions are a little wired. txt2img and img2img are examples of the usage of Corresponding interface/API. They are not models.
Pls refine the description and commit again.

You are right. There should be a readme file to tell how to use the examples. But your descriptions are a little wired. txt2img and img2img are examples of the usage of Corresponding interface/API. They are not models.
Pls refine the description and commit again.

OK, I just send the new description.

not perfect but good enough for a start.

authors: Synthintel fiatrete


text:
Add togglable collapsed class

[x] Changes have been thoroughly tested to not break existing functionality.
[ ] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Add the fi-collapsed class if the element is collapsed.
After adding a background color to the section header also needed to adjust the rounding when collapsed.

.fi-section > header {
    @apply rounded-t-xl bg-gray-50 dark:bg-gray-700;
}

.fi-section.fi-collapsed > header {
    @apply rounded-b-xl;
}

Honestly, I think the rounding fix needs to be applied in core?

Also x-bind:class should be moved down to be the final attribute on elements, just like we do elsewhere and with class.
Could you both in a new PR, @howdu?

authors: howdu zepfietje

repo: filamentphp/filament


text:
Rename of items added to sidebar

The name of the item added to a sidebar is its file/directory name. It would be nice to rename the Sidebar entry to be more helpful.

There are no plans to implement an option like this at the moment.

authors: andyfmidd yaichenbaum

repo: files-community/Files


text:
Restore Drag & Drop in Files app

What feature or improvement do you think would benefit Files?
Please restore, or implement, drag & drop feature in Files app.  Thank you.
Requirements

This proposal will accomplish X
This proposal will accomplish Y
This proposal will accomplish Z

Files Version
3.0.3.0
Windows Version
10.0.22631.2506
Comments
No response

Drag and drop is already implemented, are you by any chance running the app as admin?

Sorry, but I got a little bit confused. Should I run it as admin? Or should I turn the UAC off?
On my PC, I think it's running as admin now (I don't know how to run it without admin), and my UAC is "never notify" and "Disabled" in the Group Policy.
I'm using Win 11, please advise how I should do to enable drag and drop, thanks!

You need to turn on UAC or windows will run everything as admin. Due to Windows limitations Files can not enabled drag and drop when running as admin

@xwghua can you confirm if following these steps helped?

Yes! Thank you so much!
After I changed the UAC settings in the "Control Panel" from "never notify" to the recommend/default setting, and restarted my PC, it just work perfectly.

Ditto, changing UAC worked.  Thank you!
On Sat, Nov 11, 2023 at 7:04 PM Xuanwen (Shawn) @.***>
wrote:

Yes! Thank you so much!
After I changed the UAC settings in the "Control Panel" from "never
notify" to the recommend/default setting, and restarted my PC, it just work
perfectly.
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/13799#issuecomment-1806948852,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKNYNJSVRPI4ZBC3BNALK63YEAG73AVCNFSM6AAAAAA7GMYPHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWHE2DQOBVGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


text:
Make a way to use files as the default file explorer for windows please

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
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. Ex: What device type/UI layout and app version?

https://github.com/files-community/Files/wiki/Replacing-File-Explorer-with-Files-(Unsupported)


text:
Freeze when opening Context menu

Describe the bug
Most the time, when I right click a folder to open the context menu, it will freeze the app completely.
To Reproduce
Steps to reproduce the behavior:

Go to 'D drive,'
right click on any folder on any directory.
The app will freeze completely.

Expected behavior
I expect the program to not freeze, so I can access the context menu with no problems.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS Version: Windows 10 Pro 1909 - 18363.1440
App version: 1.3.0.0

Additional context
Sometimes it works correctly, but pretty much 90% of the time it freezes when doing that.
Log file
Please upload the log file here so that we can understand your issue better. You can access it from Settings->About->Open log location. You can also find this file by going to %localappdata%\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState, you should see a file in this directory called debug.txt or/and debug_fulltrust.txt.
debug.txt
debug_fulltrust.txt

Thanks for this report. Merging with #3855


text:
Open folder location is delayed when Files is set as the default file manager

Description
when i open the folder location from a file i downloaded on MS Edge browser, files v2 delay about 5 to 8 seconds to open the folder location. I know it's still experimental but, maybe this feedback can help fixing this.
Steps To Reproduce

download file on MS Edge
klik downloads files (showing all downloaded files)
klick icon open folder location for downloaded files
4. waiting/delay 5 to 8 seconds
files v2 open directory of my downloaded files

Expected behavior

download file on MS Edge
klik downloads files (showing all downloaded files)
klick icon open folder location for downloaded files
instantly files v2 open directory of my downloaded files

Files Version
Version: 2.1.15.0 OS Version: 10.0.19044.1586
Windows Version
Edition	Windows 10 Pro Version	21H2 Installed on	24/01/22 OS build	19044.1586 Experience	Windows Feature Experience Pack 120.2212.4170.0
Relevant Assets/Logs
debug.log
debug_fulltrust.log

Is this still an issue in the preview version? https://files.community/download/preview

YES.

Is this still an issue in the preview version? https://files.community/download/preview

In the preview build, how much of a difference is there between "open file location" and a standard launch?

I'm going to test it more, but using edge to open file location from the download drop menu, it takes more than 8 seconds. It is so slow.

TBH, this deal breaker bug is holding me back from using the Files as default.

Any progress on this bug? @yaichenbaum

Did you get a chance to test the difference between a standard launch and "open file location"?
I also recommend removing the stable version before installing the preview version and making it the default.

Yes, I did that. But nothing helped. It takes so much time to open file location from edge download section.

Did you time the difference between the different versions?

I'm sorry I didn't track the time difference between previous versions.
But what I can tell that it is as slow as before.

The latest prerelease version takes about 11 seconds to open the file location, but it sometimes opens in 4.5 seconds.

@alishtamimi we made some improvements in v2.3.57 to improve startup speed and we'll continue doing what we could with #4180. The biggest boost will happen when Microsoft adds Native AOT support to WinAppSdk but that's not something we have control over.

authors: alishtamimi arytapermana yaichenbaum


text:
Fix: Fixed issues with opening certain file formats

Resolved / Related Issues
To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Closes #12950
Closes #15164

Steps used to test these changes
Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

Created a zip file named "a.zip"
Created a text file named "a.zip.txt"
Set default text editor to VS Code and confirmed that the file opened correctly
Confirmed the python script @Josh65-2201 created outputs the correct folder

The drawback of this change is that it will eliminate the functionality for cycling through photos. However, since this feature is currently not working as intended, we will need to rewrite the code regardless. See issue #15409.


text:
Georgian Translation

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #issue...
Related #issue...

Details of Changes
Add details of changes here.

Added...
Fixed...
Added Georgian Translation

Validation
How did you test these changes?

[ ] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)
Add screenshots here.

Hello thanks for this contribution. Are you planning to translate the rest of the strings in this PR?

Yes, I translated 500 lines and when I will finish it translation, I'll
send it ;)
On Sat, Jul 17, 2021, 19:48 Marco Gavelli @.***> wrote:

Hello thanks for this contribution. Are you planning to translate the rest
of the strings in this PR?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/pull/5437#issuecomment-881917752,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXZ2DROLKPKPAWZMSBTFDTYGQ4HANCNFSM5AQIAWMQ
.

What do you mean by that?
ხუთ, 29 ივლ. 2021, 00:19-ში Vladyslav Tsvietkov-მა @.***>
დაწერა:

@.**** commented on this pull request.
In Files.Package/Files.Package.wapproj
https://github.com/files-community/Files/pull/5437#discussion_r678623614
:

@@ -55,7 +55,7 @@
False
True
Scale|DXFeatureLevel

Language=en-US;ar;de-DE;es-ES;es-419;fr-FR;he-IL;hi-IN;hu-HU;id-ID;it-IT;ja-JP;ko-KR;lv-LV;nl-NL;or-IN;pl-PL;pt-BR;pt-PT;ru-RU;sv-SE;cs-CZ;ta;tr-TR;uk-UA;zh-Hans;zh-Hant;da;da-DK

Language=en-US;ar;de-DE;es-ES;es-419;fr-FR;he-IL;hi-IN;hu-HU;id-ID;it-IT;ja-JP;ka;ko-KR;lv-LV;nl-NL;or-IN;pl-PL;pt-BR;pt-PT;ru-RU;sv-SE;cs-CZ;ta;tr-TR;uk-UA;zh-Hans;zh-Hant;da;da-DK

Same change should be done in
https://github.com/files-community/Files/blob/main/Files/Files.csproj#L14
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/pull/5437#pullrequestreview-717428946,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXZ2DNN67QMSHWV55ZESTT2BQ5LANCNFSM5AQIAWMQ
.


text:
STL Thumbnails

Stl file thumbnails will not display the file with MS 3d viewer. When in normal file explorer it displays perfectly.

Hello, this repo is for Files' website. Please open this issue again on the app's repo.

authors: HALFxAxHEART TheOnlyTails

repo: files-community/Website


text:
Conventions for Option Keys

As part of listing the differences between menu items, configuration items, and user settings, I realized that another tool in the tool box is Option keys when invoking the script. When Jari, Tobias, and I originally started our plugin projects, almost every plugin had a (modal) dialog box. We early on agreed on a convention that invoking a plugin with Option or Shift key should suppress the dialog box and use defaults or most recent settings. I subsequently added the ability to reverse that, which I see as the preferable choice in many cases (especially modal dialogs).
I did not resist @cv-on-hub's choice of creating extra menu items to suppress dialog boxes, because that's easier for a new user, but it would make for much less cluttered menus if we could adopt this convention of option key invoking (or suppressing) the dialog. Once users are trained on this it becomes automatic. In a user interface, "intuitive" equals "what the interface trains users to do" and if we could agree on consistent behavior of the option keys, they would be more useful.
I would propose the following conventions:

If a dialog box is modeless and if the user is likely to be changing the settings for each invocation of the script, then the default should be to open the dialog and option/shift key should suppress the dialog and use the last settings. An example of this case is transposition dialogs.
If a dialog box is modal or if the user is unlikely to be changing the settings for each invocation of the script, the default should be to suppress the dialog and use the last settings and option/shift should open the dialog. An example of this case is the Patterson Beams plugin (though it doesn't actually behave that way by default because reasons.)
In either case, if the dialog box has never been opened by the user it might open the first time regardless of option/shift state, unless there is a sensible default. Persistent user settings could potentially obviate the need ever to open it again.

FWIW: the current transpose_* scripts have already implemented case 1. above, and it is embodied in the FCXCustomLuaWindow:RunModeless method. So if you use RunModeless you get it automatically by default. (RunModeless forces the dialog to open if finenv.RetainLuaState is false, but it could be enhanced to use user settings as well.)
A concern is whether Keyboard Maestro can access a menu option with option key pressed.
@jwink75 @ThistleSifter

This use of modifier keys to replace duplicate menu items would be great if Keyboard Maestro can be shown to pass on modifier information while invoking Finale menus. (Tried for 3 days without success, but that doesn't prove impossibility). I don't think I've selected a Finale menu by mouse for years.

I found this post that might help (replace the Return key with the menu invokation in the solution script.)
https://forum.keyboardmaestro.com/t/simulate-keystroke-not-respecting-option-key/18182/8

That looked promising, and I'm sure works on keystrokes, but I can't get it to work on Finale menu selection. Even tried (again) replacing KM hold-modifier with AppleScript actions without success. (I had tried various combinations of "delay" action before). In a related topic response PeterNLewis says:
...  it is possible your target application is looking at the keyboard modifiers directly, rather than the keystroke events (this would generally be bad behaviour, which you would expect only from a cross platform/Java/etc application of some sort).

Finale, on Mac at least, is looking at the current event to get the modifier keys. (I know because I wrote the code that does it.) For menu selection, the current evenr is the current menu command. If you want to try relaying this to the Keyboard Maestro folks, specifically, the code is this:
uint32_t _cocoalink_GetCurrentModifierKeys()
{
    const NSUInteger flags = [[NSApp currentEvent] modifierFlags];
    const FLAG_32 shiftkey = (flags & NSEventModifierFlagShift) ? __FCUserWindow::CMDMODKEY_SHIFT : 0;
    const FLAG_32 fnkey = (flags & NSEventModifierFlagFunction) ? __FCUserWindow::CMDMODKEY_FUNCTION : 0;
    const FLAG_32 altkey = (flags & NSEventModifierFlagOption) ? __FCUserWindow::CMDMODKEY_ALT : 0;
    const FLAG_32 ctrlkey = (flags & NSEventModifierFlagControl) ? __FCUserWindow::CMDMODKEY_CTRL : 0;
    const FLAG_32 cmdkey = (flags & NSEventModifierFlagCommand) ? __FCUserWindow::CMDMODKEY_COMMAND : 0;

    return shiftkey | fnkey | altkey | ctrlkey | cmdkey;
}

Got a response from PeterLewis himself today (KM creator) but no joy unfortunately:
https://forum.keyboardmaestro.com/t/still-failing-to-select-a-menu-in-finale-with-modifier-keys/28323/2?u=cv186

To be clear, it isn't Finale that using option-select, it's third party plugins. But there are plenty of Mac apps that use Option-menu item to do things differently. Like the Finder.
I'm looking at some old code of mine and realizing that the code would probably work better with macro problems if in fact it did look at the direct real-time shift state. You'd probably be able to get it to work then. It appears that I had a similar problem with yKey (an older keyboard macro program for macOS that I still use because inertia).

PeterNLewis responds amazingly to user comments and may yet add something to KM offering an alternative mechanism. For now is this a tolerable exception case to allow a second menu item without a modifier-key menu?

I mean, I merged the PRs that had them, so I suppose the answer is yes. I just hate to see it proliferate. For example, if KM is operating the computer, why do you even care if the db appears? Does the no-db option speed it up that significantly?

Good point - saves just one enter keystroke., so will omit this from future iterations. I just checked and only my cross_staff_offset script offers a NO DIALOG menu option. All others with extra menu options offer substantively different operation. (I could also save one menu count by merging my midi_velocity and midi_duration scripts into a single midi_values script - still greatly simpler than Finale's built-in version).

The option-menu-selection issue for Keyboard Maestro is now solved, and the solution is described here: http://carlvine.com/km_option/
Meanwhile I've noticed with mixin modeless dialogs that OkButtonCanClose() is only respected when the option key is held down. @ThistleSifter confirms that this is intentional, and I understand that there may be a logical reason, but this remains strangely prescriptive behaviour in a process that should make no (or at least few) assumptions about how the user will use it. @rpatters1?

The idea is that there are two modes of operation for a modeless dialog. One where it stays open on the desktop and one where you set the value and then never open it again (by opening it with the option key always.)
For the second mode, you don't want to have it stay open when you hit okay. You're only opening it at all because it has no settings yet.
That said, I'm not married to the idea. While personally I am very used to it, it's definitely not a standard behavior. Also, there's nothing stopping you from setting OkButtonCanClose yourself in the script. In fact, if you want that behavior all the time, I think it should be in the script.

The problem, from my perspective, is that OkButtonCanClose has no effect anywhere within the calling script except AFTER RunModeless(). (I've tried every other conceivable configuration).
Also, for me, I hate dialogs hanging around after they've done their job. I might use a dozen in half an hour and don't want the windows lingering, or to have to explicitly close them all. I want modeless because modal don't remember their positions!

That suggests we may need to change mixin only to set it true. (Never to set it false.) Then you could set it before calling RunModeless.

However, let me push back just slightly. If you are driving your dialog boxes with KM, do you really care where they open or whether they close automatically? In general, modeless dialogs are supposed to stay open. That's the whole point of them. I use a 3-monitor setup, and the monitors to right and left usually have my most used dialog boxes open.
I am wondering if the better solution here isn't to enhance modal dialogs so that they can be repositioned.

As a followup, I have successfully gotten RestorePosition working with ExecuteModal for RGP Lua 0.64. Let me know if you want a pre-release copy.

So to give my 2 cents…
"Simplicity is about subtracting the obvious and adding the meaningful"
— John Maeda: The Laws of Simplicity

For context, I use a one-monitor setup with every app in full-screen mode. I've tried other setups, but always come back to this one because of the simplicity and focus it allows me to achieve. Likewise, aside from speed that's one of the reasons I like Keyboard Maestro—it makes things simple. Nothing is ever on the screen that I don't need.
I'm a huge fan of simplicity. As such, I'll often go to extreme lengths to make things more simple.
For instance, back when JetStream was smaller I extracted many of my most-used functions into individual scripts just to prevent the dialog from appearing on the screen (as a side effect, it was also faster).

If a dialog box is modeless and if the user is likely to be changing the settings for each invocation of the script, then the default should be to open the dialog and option/shift key should suppress the dialog and use the last settings. An example of this case is transposition dialogs.
If a dialog box is modal or if the user is unlikely to be changing the settings for each invocation of the script, the default should be to suppress the dialog and use the last settings and option/shift should open the dialog. An example of this case is the Patterson Beams plugin (though it doesn't actually behave that way by default because reasons.)

So going back to the initial discussion, I do think these two suggestions are the right idea. Whatever we choose for these, they should be solved at the library level. Developers shouldn't have to remember the rules every time. To me, it doesn't matter if they're solved with mixins or standard library functions. But I'd want to just import something then get the desired behavior.

If you are driving your dialog boxes with KM, do you really care where they open or whether they close automatically?

Yes, I very much do care where they open. Unless I specifically want to look at that dialog, I want it to open in the bottom corner of the screen so I don't see it. This can be solved by just having it remember where it was previously located, which it sounds like is already planed for RGP Lua v0.64.
I don't care as much about whether they close automatically since that's really easy to do in KM. However, it would be nice if I didn't have to do this in KM. Potentially some global setting or configuration for this?

Also, for me, I hate dialogs hanging around after they've done their job.

I second. To me, this is likely more extreme. For me, dialogs never hang around. I always close them immediately after they're invoked.

Summing up, I think…

using the option or some other modifier is the right choice,
some users like modeless dialogs and others don't so this should be an option, and
this should be solved at the library level to ensure consistency amongst scripts.

Summing up, I think…

Summing up I agree. RestorePosition working with ExecuteModal   in 0.64 is a great strength. I'll happily accept a beta version for testing if that will help. Modeless in mixin or anywhere else should be consistent and user-configurable.

authors: Nick-Mazuk cv-on-hub rpatters1

repo: finale-lua/lua-scripts


text:
Matmul and reduce in lazy mode fails with ArgumentError

Hi @willow-ahrens,
I implemented triangle counting (SpA @ SpA * SpA), it runs for eager mode but decorating with @sparse.compiled to run lazy mode fails with:
ERROR: ArgumentError: Please supply initial value for reduction of Any with +.
Stacktrace:
 [1] initial_value(op::Function, T::Type)
   @ Finch ~/JuliaProjects/Finch.jl/src/interface/lazy.jl:114
 [2] reduce(op::Function, arg::Finch.LazyTensor{Any, 2})
   @ Finch ~/JuliaProjects/Finch.jl/src/interface/lazy.jl:127
 [3] sum(arr::Finch.LazyTensor{Any, 2})
   @ Finch ~/JuliaProjects/Finch.jl/src/interface/lazy.jl:74
 [4] top-level scope
   @ REPL[5]:1

Here's a code snippet to reproduce it:
using Finch

A = Tensor(Dense(Dense(Element(0.0))), 10, 10)
res = sum(tensordot(A, A, ((1,), (2,))))

A_lazy = Finch.LazyTensor(A)
res = sum(tensordot(A_lazy, A_lazy, ((1,), (2,))))  # fails

this looks like a type inference failure. somehow tensordot lost the types of things.

authors: mtsokol willow-ahrens


text:
Apply platform schema

1st commit (only refactoring, no semantic changes):

Common practices:

Remove all example properties for particular fields, since they are deprecated (We keep using examples for the whole schemas).
Move required before properties.
Move description after type.
Reorder all properties (in components and examples) as they actually come from in API responses.

Components:

Decompose ProductsResponse into Products + bunch of Product... types for each product.
Decompose WebhookVisit into Webhook + bunch of Webhook… types for each product (expect for Identification and BotD, since they’re embedded).
Decompose IPInfo, IPBlocklist, VPN and others having inner objects.
Combine all Error… types into ErrorResponse + ErrorPlainResponse (legacy error format only for /visitors).

Paths:

Generalize example names and descriptions.
Move all shared ErrorResponse examples to errors directory.
Keep specific /visitors ErrorPlainResponse examples in paths as get_visitors_4xx_<...>.json.
Fix products.identification.error.message in get_event_200_<...>.json examples.
Replace 3 irrelevant TooManyRequests examples with a single get_event_200_too_many_requests_error.json.

2nd commit (semantic changes):

Botd

Add missing meta

BrowserDetails

Remove botProbability

EventsResponse

Remove error

GeolocationCity

Make name required

GeolocationSubdivision

Make isoCode and name required

HighActivity, WebhookHighActivity

Update type format of dailyRequests type from number to int64

Confidence:

Change type format of score to double
Add missing comment

IPInfoASN

Make name required

IPInfoDatacenter

Make name required

RawDeviceAttributeError

Make name and message optional

Tampering, WebhookTampering

Specify type format of anomalyScore as double

VPN

Make originCountry required

Webhook

Make all Identification fields (visitorId, visitorFound, …) optional

@ilfa @JuroUhlar

Rebased branch on the newest main.
Added changesets for each commit.
Fixed more descriptions in the 3rd commit.


text:
Updates the create_release action

This workflow will now create a new branch with the given release name, and create a commit in which it updates the bundle.yaml file to have the Legend Engine, SDLC, Studio charms point towards the given release channel. The workflow will then publish the new bundle in Charmhub under $release/edge.

Depends On: https://github.com/finos/legend-juju-bundle/pull/9

repo: finos/legend-juju-bundle


text:
Add mention and description of shared instance on docs site

I think there should be a mention of the shared instance and how to get an account on the docs site, perhaps in the get-involved section and/or in the installation page (as a "in the meantime" or "alternatively" option)

@aitana16 can we close this out? We mention the shared instance in our contribute section https://legend.finos.org/docs/getting-started/contribute-to-legend

@aitana16 can we close this out? We mention the shared instance in our contribute section https://legend.finos.org/docs/getting-started/contribute-to-legend

authors: beekemarie brooklynrob

repo: finos/legend


text:
latex export generates uncompilable tex file when tags contain special characters

When exporting to the latex format with
{{{
smt list -l -f latex > my_project.tex
}}}
and if some tags contain special characters such 13-04-25_nobel-prize, these generate problems as they get inserted as section names
these should indeed be escaped to 13-04-25_nobel-prize
Imported from Bitbucket issue 174,  created by meduz on 05-05-2013 at 14:08, last modified: 06-01-2013 at 12:57

Should be fixed in r755.
Trac comment by apdavison on 06-01-2013 at 12:57

repo: fipymigrate/sumatra


text:
example.css has moved.

Before: https://rawgit.com/firebase/examples/master/Drawing/index.html (color palette invisible).
After: https://rawgit.com/cben/examples/master/Drawing/index.html
ditto for other examples.
Found the new URL via https://www.firebase.com/tutorial/#example/drawing
Consider adding example.css to this repo so it's self-contained.

Closing as out of date and already fixed.
https://www.firebase.com/tutorial/#example/drawing works.
The code from this repo: https://rawgit.com/firebase/examples/master/drawing/index.html
also has css link fixed but there is an unrelated problem — trying to draw spews errors like:
FIREBASE WARNING: set at /drawing/23:46 failed: permission_denied  3firebase.js:19

repo: firebase/examples


text:
Update failed Resize Images and Trigger Email from Firestore

Tried updating the Resize images and trigger email to the latest version and both failed with different error messages:
Email:
failed to determine location for cloud function "processQueue": resource "processQueue" location must be a nonempty string: resource "processQueue" location must be a nonempty string
Images:
resource "backfillResizedImages" location must be a nonempty string
Without uninstalling the extension I can't seem to get the install to run again so can see about fixing the above errors.

Thanks @ian-sayles
We are looking into this. Although not ideal, a current working around appears to involve trying the try reinstalling twice.

The first will cause the error.
Try reinstall will fail the first time.
It will install on a second attempt.

Closing as we believe this to be resolved. If this reoccurs then I am happy to reopen and investigate further.

authors: cabljac dackers86 ian-sayles

repo: firebase/extensions


text:
[auth-mailchimp-sync] Import existing users

This feature request is for extension: auth-mailchimp-sync
What feature would you like to see?
After installing the extension, I would like to have an option to import all existing users on Firebase to my Mailchimp audience.
How would you use it?
Either on the firebase console or as a cloud function to syncAllExistingUsers()

@desoukya fyi

Closing in favour of https://github.com/mailchimp/Firebase/issues/25


text:
macOS code signing error

I am completely puzzled as to why I get a code signing error AFTER my binary is uploaded to the Mac App Store.
I have the following pods attachec to my macOS app:
pod 'FirebaseCore'
    pod 'FirebaseAuth'
    pod 'FirebaseFirestore'
    pod 'FirebaseFunctions'

after I upload my binary I receive the following error in an email:
Dear Developer,

We identified one or more issues with a recent delivery for your app, "Driving Theory Test 2019 (UK)". Please correct the following issues, then upload again.

Invalid Signature - The main app bundle Driving Theory Test 2019 (UK) at path Driving Theory Test 2019 (UK).app has following signing error(s): --prepared:/Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/GoogleUtilities.framework/Versions/Current/. --validated:/Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/GoogleUtilities.framework/Versions/Current/. --prepared:/Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework/Versions/Current/. --validated:/Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework/Versions/Current/. /Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app: embedded framework contains modified or invalid version In subcomponent: /Volumes/data01/app_data/dstr/mz_2944365260435506569dir/mz_252358220600660519dir/MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.

Invalid Signature - The nested app bundle grpc at path Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework has following signing error(s): bundle format unrecognized, invalid, or unsuitable . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.

Invalid Signature - The nested app bundle grpcpp at path Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpcpp.framework has following signing error(s): bundle format unrecognized, invalid, or unsuitable . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.

Invalid Signature - The nested app bundle openssl_grpc at path Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework has following signing error(s): bundle format unrecognized, invalid, or unsuitable . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.

Unable to Sign - This package doesn't meet the current code signing requirements. For more information, see the Code Signing and Application Sandboxing Guide and Technical Note 2206.

Specifically, codesign generated the following error:

        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework/Versions/src: bundle format unrecognized, invalid, or unsuitable
        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpcpp.framework/Versions/src: bundle format unrecognized, invalid, or unsuitable
        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework/Versions/crypto: bundle format unrecognized, invalid, or unsuitable
        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework/Versions/ssl: bundle format unrecognized, invalid, or unsuitable
        MY_BUNDLE.pkg/Payload/Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework/Versions/third_party: bundle format unrecognized, invalid, or unsuitable
Malformed Framework - The framework bundle grpc (Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpc.framework) Info.plist for Versions/src is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Malformed Framework - The framework bundle grpcpp (Driving Theory Test 2019 (UK).app/Contents/Frameworks/grpcpp.framework) Info.plist for Versions/src is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Malformed Framework - The framework bundle openssl_grpc (Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework) Info.plist for Versions/crypto is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Malformed Framework - The framework bundle openssl_grpc (Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework) Info.plist for Versions/ssl is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Malformed Framework - The framework bundle openssl_grpc (Driving Theory Test 2019 (UK).app/Contents/Frameworks/openssl_grpc.framework) Info.plist for Versions/third_party is either missing or malformed. Please provide a valid Info.plist. Refer to the Anatomy of Framework Bundles for more information.

Best regards,

The App Store Team

I am not surre if this is a right place to post my issue, but I hope that someone will be able to assist me or redirect me to the right place.

Looks like an issue related to dynamic frameworks. If it's possible for you, removing use_frameworks! from the Podfile might be a workaround.

@paulb777 thank you very much for your suggestion. I am now getting an error

Separately though it appears that you're getting portions of the gRPC source tree mixed into the output framework. grpc.framework/Versions/src isn't supposed to be there. I can see this in my local build intermediates as well.
While removing use_frameworks! could alleviate the problem by statically linking your binary, the root cause is that gRPC's pod is creating an invalid Framework.

The CocoaPods-generated project appears to be broken (at least in my case). There's a section for copying public headers:
                D1BA65AC4BB74572A3CB5B695CD48A42 /* Copy ../../src/core/ext/filters/client_channel Public Headers */ = {
                        isa = PBXCopyFilesBuildPhase;
                        buildActionMask = 2147483647;
                        dstPath = "$(PUBLIC_HEADERS_FOLDER_PATH)/../../src/core/ext/filters/client_channel";
                        dstSubfolderSpec = 16;
                        files = (
                            ...

In my build for gRPC-Core-macOS, PUBLIC_HEADERS_FOLDER_PATH resolves to grpc.framework/Versions/A/Headers which is right, but copying into ../../ would be wrong and would generate this result.
Looking through the gRPC-Core.podspec there's no mention of ../.., so I suspect that this is a bug in CocoaPods.

Does the version of CocoaPods make a difference?  pod --version

I'm on 1.6.1.

I have upgraded to 1.6.1 but now pod update gets stuck during "Resolving dependencies" step. I thought that maybe newer version would fix the issue :(

I was having this issue on 1.5.x version.

@paulb777 @wilhuff so should I open this as an issue on CocoaPods GitHub page?

@AndriyGo It can't hurt to open a CocoaPods issue, although you should check if it's fixed in the CocoaPods 1.7.0 beta first.
Either way I'll try to take a deeper look in the next few days.

Tracked, discussed and workaround at https://github.com/CocoaPods/CocoaPods/issues/7788

Resolved in https://github.com/CocoaPods/CocoaPods/issues/8719 and continued tracking in CocoaPods/CocoaPods#7788

authors: AndriyGo paulb777 wilhuff

repo: firebase/firebase-ios-sdk


text:
[AppCheck] Fix 'public_headers_dir' in 'FirebaseAppCheckInterop.podspec'

I'm not sure why the CI in #11860 didn't surface this.
I locally tried to stage the FirebaseAppCheckInterop.podspec after merging #11860 and saw:
Validating spec
 -> FirebaseAppCheckInterop (10.17.0)
    - NOTE  | url: The URL (https://twitter.com/Firebase) is not reachable.
🔥    - WARN  | file patterns: The `public_header_files` pattern did not match any file.
    - NOTE  | xcodebuild:  note: Using codesigning identity override: -
    - NOTE  | xcodebuild:  note: Building targets in dependency order
    - NOTE  | [iOS] xcodebuild:  /var/folders/hz/7v68p4h95sb2ypb614xp20jc00r7sc/T/CocoaPods-Lint-20231011-82337-1s67496-FirebaseAppCheckInterop/App.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.1.99. (in target 'App' from project 'App')
    - NOTE  | [iOS] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.1.99. (in target 'FirebaseAppCheckInterop' from project 'Pods')
    - NOTE  | [iOS] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.1.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | xcodebuild:  note: Using codesigning identity override:

[!] The `FirebaseAppCheckInterop.podspec` specification does not validate.

#no-changelog

@paulb777, nope– it never had a chance. I ran into it when I tried to manually stage the pod after it merged to master. Let me see if it would have though...

Looks like we're missing pod lib lint CI for the interop podspecs

Will open a PR to add linting for the interop pods.
And, the client app caught it (log).


text:
Post-release 7.0 merge to master

Post-release 7.0 merge to master
Only #6806 is left to merge back
#no-changelog

@paulb777 and team, congrats on the release.


text:
Lifecycle aware JobService

I'm using JobService where I want to use my ViewModel from the Android Architecture Components library. That means the JobService needs to be LifecycleOwner.
I hoping to have an LifecycleJobService or how can one write their own?

FJD is for background jobs.
It won't provide Lifecycle.

I understand the reason for not providing Lifecycle in FJD. Then how should I get my ViewModel in FJD?
There is https://stackoverflow.com/questions/44708202/observe-livedata-from-foreground-service answer for using ViewModel in Service .
Hence I thought maybe is some way for FJD

authors: AkshayChordiya unEgor

repo: firebase/firebase-jobdispatcher-android


text:
My console gets spammed with Firestore Debug messages on IOS

Bug report
Describe the bug
My console always gets spammed with Firestore messages logging EVERYTHING, making it impossible to debug. Here is an example Message: 10.3.0 - [FirebaseFirestore][I-FST000001] WatchStream (10df86d38) headers (allowlisted): date: Wed, 15 Mar 2023 22:07:37 GMT.
Steps to reproduce
Steps to reproduce the behavior:
The problem was suddenly there, and I can't remember doing anything that caused the issue.
What I tried so far
In my AppDelegate.swift file, I tested the lines
Firestore.enableLogging(false)
FirebaseConfiguration.shared.setLoggerLevel(.min)

both of them didn't work.
I also edited the Scheme of the xcodeworkspace and added the Argument -FIRDebugDisabled, cleaned the project etc and started it again. Didn't work.
I also went back to a commit that didn't have the problem, but it was still there. So it has anything to do with my Mac I suppose.

Flutter doctor
Click To Expand
[✓] Flutter (Channel stable, 3.7.3, on macOS 13.1 22C65 darwin-arm64, locale en-DE)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.76.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Flutter dependencies
Click To Expand
Dart SDK 2.19.2
Flutter SDK 3.7.3
zaap 0.0.3+22

dependencies:
- apple_maps_flutter 1.2.1 [flutter]
- badges 3.0.2 [flutter]
- camera 0.10.3+2 [camera_android camera_avfoundation camera_platform_interface camera_web flutter flutter_plugin_android_lifecycle quiver]
- clear_all_notifications 0.0.3 [flutter]
- cloud_firestore 4.4.3 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 4.0.11 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- country_codes 2.2.0 [flutter]
- cupertino_icons 1.0.5
- curved_gradient 0.2.2 [flutter]
- custom_refresh_indicator 2.0.1 [flutter]
- event_listener 0.2.0
- firebase_analytics 10.1.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_app_check 0.1.1+12 [firebase_app_check_platform_interface firebase_app_check_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 4.2.9 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_cached_image 0.4.2 [firebase_core firebase_storage flutter path path_provider sqflite uuid]
- firebase_core 2.7.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_dynamic_links 5.0.15 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_messaging 14.2.5 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_remote_config 3.0.13 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter]
- firebase_storage 11.0.14 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- flutter_animate 4.1.0 [flutter]
- flutter_contacts 1.1.6 [flutter]
- flutter_image_compress 1.1.3 [flutter]
- flutter_keyboard_visibility 5.4.0 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter]
- flutter_launcher_icons 0.10.0 [args checked_yaml cli_util image json_annotation path yaml]
- flutter_localizations 0.0.0 [flutter intl characters clock collection js material_color_utilities meta path vector_math]
- flutter_map 3.1.0 [async collection flutter http latlong2 meta polylabel positioned_tap_detector_2 proj4dart tuple vector_math]
- flutter_native_splash 2.2.16 [args flutter flutter_web_plugins js html image meta path universal_io xml yaml]
- flutter_processing 0.2.0 [flutter fast_noise image path]
- flutter_riverpod 2.3.0 [collection flutter meta riverpod state_notifier]
- font_awesome_flutter 10.4.0 [flutter]
- geocoding 2.0.5 [flutter geocoding_platform_interface]
- geolocator 9.0.2 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web geolocator_windows]
- get 4.6.5 [flutter]
- http 0.13.5 [async http_parser meta path]
- i18n_extension 5.0.1 [sprintf args analyzer gettext_parser equatable intl flutter]
- icon_shadow 1.0.1 [flutter meta]
- image_cropper 3.0.1 [flutter image_cropper_platform_interface image_cropper_for_web]
- image_picker 0.8.6+4 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface]
- image_size_getter 2.1.2 [collection hashcodes]
- linked_scroll_controller 0.2.0 [flutter]
- local_auth 2.1.6 [flutter local_auth_android local_auth_ios local_auth_platform_interface local_auth_windows]
- marquee 2.2.3 [fading_edge_scrollview flutter]
- mobile_scanner 2.1.0 [flutter flutter_web_plugins js]
- overlay_support 2.1.0 [flutter async]
- package_info_plus 3.0.3 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface win32]
- parallax_rain 1.1.0 [flutter]
- path_provider 2.0.13 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- permission_handler 10.2.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_windows permission_handler_platform_interface]
- pinput 2.2.31 [flutter smart_auth universal_platform]
- privacy_screen 0.0.6 [flutter plugin_platform_interface]
- provider 6.0.5 [collection flutter nested]
- pull_to_refresh 2.0.0 [flutter]
- qr_flutter 4.1.0 [flutter qr]
- share_extend 2.0.0 [meta flutter]
- shared_preferences 2.0.18 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shimmer 2.0.0 [flutter]
- sliding_up_panel 2.0.0+1 [flutter]
- tflite_flutter 0.9.2 [flutter path quiver ffi]
- tflite_flutter_helper 0.3.1 [flutter meta quiver path_provider tflite_flutter tuple camera ffi image]
- url_launcher 6.1.10 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 3.0.7 [crypto]
- video_player 2.6.0 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

dependency overrides:
- intl 0.18.0 [clock meta path]

transitive dependencies:
- _fe_analyzer_shared 47.0.0 [meta]
- _flutterfire_internals 1.0.16 [collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 4.7.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.3.6 [crypto path pointycastle]
- args 2.4.0
- async 2.10.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- camera_android 0.10.4+1 [camera_platform_interface flutter flutter_plugin_android_lifecycle stream_transform]
- camera_avfoundation 0.9.12 [camera_platform_interface flutter stream_transform]
- camera_platform_interface 2.4.1 [cross_file flutter plugin_platform_interface stream_transform]
- camera_web 0.3.1+2 [camera_platform_interface flutter flutter_web_plugins stream_transform]
- characters 1.2.1
- checked_yaml 2.0.2 [json_annotation source_span yaml]
- cli_util 0.3.5 [meta path]
- clock 1.1.1
- cloud_firestore_platform_interface 5.11.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.3.3 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.1.30 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.3.19 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.17.0
- convert 3.1.1 [typed_data]
- cross_file 0.3.3+4 [js meta]
- crypto 3.0.2 [typed_data]
- csslib 0.17.2 [source_span]
- equatable 2.0.5 [collection meta]
- fading_edge_scrollview 3.0.0 [flutter]
- fake_async 1.3.1 [clock collection]
- fast_noise 1.0.1 [fixnum]
- ffi 2.0.1
- file 6.1.4 [meta path]
- firebase_analytics_platform_interface 3.3.21 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.5.1+12 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_app_check_platform_interface 0.0.5+15 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_app_check_web 0.0.7+15 [_flutterfire_internals firebase_app_check_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 6.11.11 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.2.8 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.5.3 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.2.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_dynamic_links_platform_interface 0.2.3+30 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.2.14 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.2.15 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_remote_config_platform_interface 1.1.33 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_remote_config_web 1.1.22 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins js]
- firebase_storage_platform_interface 4.1.30 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.3.23 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.1.0
- flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_plugin_android_lifecycle 2.0.9 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- geocoding_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- geolocator_android 4.1.7 [flutter geolocator_platform_interface]
- geolocator_apple 2.2.5 [flutter geolocator_platform_interface]
- geolocator_platform_interface 4.0.7 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.1.6 [flutter flutter_web_plugins geolocator_platform_interface]
- geolocator_windows 0.1.1 [flutter geolocator_platform_interface]
- gettext_parser 0.2.0
- glob 2.1.1 [async collection file path string_scanner]
- hashcodes 2.0.0
- html 0.15.2 [csslib source_span]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- image 3.3.0 [archive meta xml]
- image_cropper_for_web 1.0.3 [flutter flutter_web_plugins image_cropper_platform_interface js]
- image_cropper_platform_interface 3.0.3 [flutter plugin_platform_interface http]
- image_picker_android 0.8.5+9 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.1.11 [flutter flutter_web_plugins image_picker_platform_interface]
- image_picker_ios 0.8.7 [flutter image_picker_platform_interface]
- image_picker_platform_interface 2.6.3 [cross_file flutter http plugin_platform_interface]
- js 0.6.5 [meta]
- json_annotation 4.8.0 [meta]
- latlong2 0.8.1 [intl]
- lints 2.0.1
- lists 1.0.1 [meta]
- local_auth_android 1.0.20 [flutter flutter_plugin_android_lifecycle intl local_auth_platform_interface]
- local_auth_ios 1.1.0 [flutter intl local_auth_platform_interface]
- local_auth_platform_interface 1.0.7 [flutter plugin_platform_interface]
- local_auth_windows 1.0.6 [flutter local_auth_platform_interface]
- matcher 0.12.13 [meta stack_trace]
- material_color_utilities 0.2.0
- meta 1.8.0
- mgrs_dart 2.0.0 [unicode]
- nested 1.0.0 [flutter]
- package_config 2.1.0 [path]
- package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- path 1.8.2
- path_provider_android 2.0.23 [flutter path_provider_platform_interface]
- path_provider_foundation 2.1.2 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.9 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.0.6 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.4 [ffi flutter path path_provider_platform_interface win32]
- permission_handler_android 10.2.0 [flutter permission_handler_platform_interface]
- permission_handler_apple 9.0.7 [flutter permission_handler_platform_interface]
- permission_handler_platform_interface 3.9.0 [flutter meta plugin_platform_interface]
- permission_handler_windows 0.1.2 [flutter permission_handler_platform_interface]
- petitparser 5.1.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.4 [meta]
- pointycastle 3.6.2 [collection convert js]
- polylabel 1.0.1 [collection]
- positioned_tap_detector_2 1.0.4 [flutter]
- process 4.2.4 [file path platform]
- proj4dart 2.1.0 [mgrs_dart wkt_parser meta]
- pub_semver 2.1.3 [collection meta]
- qr 3.0.1 [meta]
- quiver 3.2.1 [matcher]
- riverpod 2.3.0 [collection meta stack_trace state_notifier]
- shared_preferences_android 2.0.16 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.1.4 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.4 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.1.1 [flutter plugin_platform_interface]
- shared_preferences_web 2.0.5 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.4 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- smart_auth 1.0.8 [flutter flutter_web_plugins]
- source_span 1.9.1 [collection path term_glyph]
- sprintf 6.0.2
- sqflite 2.2.5 [flutter sqflite_common path]
- sqflite_common 2.4.2+2 [synchronized path meta]
- stack_trace 1.11.0 [path]
- state_notifier 0.7.2+1 [meta]
- stream_channel 2.1.1 [async]
- stream_transform 2.1.0
- string_scanner 1.2.0 [source_span]
- synchronized 3.0.1
- term_glyph 1.2.1
- test_api 0.4.16 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- tuple 2.0.1
- typed_data 1.3.1 [collection]
- unicode 0.3.1 [lists]
- universal_io 2.2.0 [collection meta typed_data]
- universal_platform 1.0.0+1
- url_launcher_android 6.0.25 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.1.2 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.4 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.4 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.2 [flutter plugin_platform_interface]
- url_launcher_web 2.0.16 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.5 [flutter url_launcher_platform_interface]
- vector_math 2.1.4
- video_player_android 2.3.11 [flutter video_player_platform_interface]
- video_player_avfoundation 2.4.0 [flutter video_player_platform_interface]
- video_player_platform_interface 6.0.2 [flutter plugin_platform_interface]
- video_player_web 2.0.14 [flutter flutter_web_plugins video_player_platform_interface]
- watcher 1.0.2 [async path]
- win32 3.1.3 [ffi]
- wkt_parser 2.0.0
- xdg_directories 1.0.0 [meta path process]
- xml 6.2.2 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

@timurbutt5053
I am unable to replicate this behavior using the cloud_firestore plugin example running on iOS. If you have specifics / concrete steps to replicate, please provide the same to make this issue actionable.
Do you get any error or they are just warnings ?

@timurbutt5053 I am unable to replicate this behavior using the cloud_firestore plugin example running on iOS. If you have specifics / concrete steps to replicate, please provide the same to make this issue actionable.
Do you get any error or they are just warnings ?

There are no warnings and errors whatsoever. There are only messages documenting each single step what the firestore does. I don't have a single Idea how to replicate this. My friend who is working on the same project doesn't have the problem either.

I have the same problem. When debugging with my iPhone I'm getting the same messages as mentioned by @timurbutt5053. Because of this it's really hard to debug my code. Is there a fix?

@timurbutt5053 @dereinefinn
I am assuming this is happening on your current existing / working project, so in order to narrow it down to only cloud_firestore plugin related issue, is there a way for you to trim down or just create a barebone project with only required ff plugins like core and cloud_firestore and run to see if you still get the same behavior or not ?

I solved the problem with the help of this issue: https://github.com/firebase/firebase-ios-sdk/issues/2774
So it's indeed a problem with Firebase/Firestore on iOS. Sometimes I need to test things on our production backend. Because we use Appcheck, I need a debug token to do so. So I get my tokens with the help of this guide: https://firebase.google.com/docs/app-check/flutter/debug-provider
The problem is that the mentioned flag -FIRDebugEnabled now enables these spammy debug logs from firestore since one of the last updates.

authors: darshankawar dereinefinn timurbutt5053

repo: firebase/flutterfire


text:
[firebase_messaging]:  FCM Notifications Displayed When App is in Foreground on iOS (Shouldn't Be)

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Messaging
Which platforms are affected?
iOS
Description
Hello,
I am encountering an issue where Firebase Cloud Messaging (FCM) notifications are being displayed even when my iOS app is in the foreground. This behavior is not intended; notifications should only be displayed when the app is in the background or terminated.
The issue is specific to iOS, where notifications are shown as alerts even when the app is active. This is in contrast to the desired behavior, where notifications should be handled programmatically or not displayed when the app is in the foreground.
Steps to Reproduce:
Send an FCM notification while the iOS app is in the foreground.
Observe that the notification is displayed as an alert.
Expected Behavior:
Notifications should not be displayed as alerts when the app is in the foreground. Instead, they should be handled in the app or suppressed from being shown.
Actual Behavior:
Notifications are displayed as alerts when the app is in the foreground, even though the intention is to handle them manually or suppress them.
Reproducing the issue
fcm payload
final Map<String, dynamic> payload = {
      "message": {
        "token": fcmToken,
        "data": {
          "type": notificationTypeString,
          "notification": notification,
          'display_notification': 'false',
        },
        if (title != null || subTitle != null)
          "notification": {
            "title": title,
            "body": subTitle,
          },
      },
    };

import 'dart:async';
@pragma('vm:entry-point')
Future _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
await Firebase.initializeApp();
print("Handling a background message: ${message.messageId}");
print(message.data.toString());
print(message.data['type']);
print(message.data['notification']);
}
final FirebaseMessaging _firebaseMessaging = FirebaseMessaging.instance;
@override
void initState() {
super.initState();
_fetchInitialData();
_initializeFirebaseMessaging();
}
Future _initializeFirebaseMessaging() async {
await _firebaseMessaging.requestPermission();
try {
await _firebaseMessaging.subscribeToTopic('test');
print('subscription suceess');
} catch (e) {
print('subscription error');
print(e);
}
FirebaseMessaging.onMessage.listen((RemoteMessage message) async {
  print("Foreground message: ${message.notification?.body.toString()}");
  print(message.data.toString());
  print(message.data['type']);
  print(message.data['notification']);
  print(message.data['display_notification']);
  bool shouldShowNotification =
      message.data['display_notification'] == 'true' ? true : false;
});

FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);

}
Future _fetchInitialData() async {
await _getToken();
}
Future _getToken() async {
String? fcmToken = await _firebaseMessaging.getToken();
}
Firebase Core version
3.2.0
Flutter Version
3.24.0
Relevant Log Output
No response
Flutter dependencies

Expand Flutter dependencies snippet

dependencies:
  flutter:
    sdk: flutter
  flutter_bloc: ^8.1.4
  get_it: ^7.6.7
  firebase_core: ^3.2.0
  firebase_auth: ^5.1.0
  cloud_firestore: ^5.0.0
  fluttertoast: ^8.2.4
  hive: ^2.2.3
  path_provider: ^2.1.2
  quick_notify: ^0.2.1
  image_picker: ^1.1.1
  uuid: ^4.4.0
  envied: ^0.5.4+1
  universal_io: ^2.2.2
  crypto: ^3.0.3
  http: ^0.13.6
  file_picker: ^8.0.3
  converter: ^0.4.0
  xml: ^6.5.0
  s3_storage: ^1.0.4
  bubble: ^1.2.1
  amazon_cognito_upload: ^0.0.5
  path: ^1.9.0
  intl: ^0.18.1
  dio: ^5.4.3+1
  url_launcher: ^6.2.6
  emoji_picker_flutter: ^2.2.0
  open_file: ^3.3.2
  open_app_file: ^4.0.2
  connectivity_plus: ^6.0.3
  awesome_notifications: ^0.8.2
  get: ^4.6.6
  windows_notification: ^1.2.0
  fast_cached_network_image: ^1.2.9
  shared_preferences: ^2.2.3
  accordion: ^2.6.0
  supabase_flutter: ^2.5.6
  cached_network_image: ^3.3.1
  firebase_messaging: 15.0.3
  googleapis: ^13.1.0
  googleapis_auth: ^1.4.1
  flutter_sound: ^9.6.0
  photo_view: ^0.15.0
  just_audio: ^0.9.39
  in_app_update: ^4.2.3
  flutter_launcher_icons: ^0.13.1
  audio_session: ^0.1.21
  audioplayers: ^6.0.0
  permission_handler: ^11.3.1
  firebase_database: ^11.0.0
  geolocator: ^12.0.0
  dart_ipify: ^1.1.1
  geocoding: ^3.0.0
  hive_ui: ^1.0.14
  timezone: ^0.9.4
  package_info_plus: ^8.0.2

Additional context and comments
No response

Hi @rrakesh28 , this behaviour is indeed not intended. But the default behaviour can be overridden. Can you check if you're not accidentally overriding the default behaviour in code with something like this:
await FirebaseMessaging.instance.setForegroundNotificationPresentationOptions(
    alert: true,
    badge: true,
    sound: true,
  );

No, im not overriding the default behaviour. It is working as expected in android, but not in ios. Is there is any configuration required in app delegate?
import UIKit
import Flutter
import FirebaseCore

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    FirebaseApp.configure()
application.registerForRemoteNotifications()
    GeneratedPluginRegistrant.register(with: self)
    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }

  override func applicationDidBecomeActive(_ application: UIApplication) {
    application.applicationIconBadgeNumber = 0;
  }

}

I don't think you'll have add anything to your app delegate. Can you provide a full sample code reproducing this issue? You can set up a minimal project and share the github link here.

main.dart
import 'package:flutter/material.dart';
import 'package:test_notification/test_page.dart';

import 'firebase_options.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Test Notification',
        debugShowCheckedModeBanner: false,
        initialRoute: '/',
        theme: ThemeData(
          useMaterial3: true,
        ),
        themeMode: ThemeMode.dark,
        routes: {
          "/": (context) {
            return const TestPage();
          },
        });
  }
}
`

test_page.dart
`import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter/material.dart';
import 'package:test_notification/push_notification_service.dart';

@pragma('vm:entry-point')
Future<void> _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
  await Firebase.initializeApp();
  print("Handling a background message: ${message.messageId}");
  print(message.data.toString());
  print(message.data['type']);
  print(message.data['notification']);
}

class TestPage extends StatefulWidget {
  const TestPage({super.key});

  @override
  State<TestPage> createState() => _TestPageState();
}

class _TestPageState extends State<TestPage> with WidgetsBindingObserver {
  final FirebaseMessaging _firebaseMessaging = FirebaseMessaging.instance;

  @override
  void initState() {
    super.initState();
    _initializeFirebaseMessaging();
  }

  Future<void> _initializeFirebaseMessaging() async {
    await _firebaseMessaging.requestPermission();
    await _getToken();

    FirebaseMessaging.onMessage.listen((RemoteMessage message) async {
      print("Foreground message: ${message.notification?.body.toString()}");
      print(message.data.toString());
      print(message.data['type']);
      print(message.data['notification']);
      print(message.data['display_notification']);
    });

    FirebaseMessaging.onMessageOpenedApp.listen((RemoteMessage message) async {
      print("Background message: $message");
    });

    FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
  }

  Future<void> _getToken() async {
    String? fcmToken = await _firebaseMessaging.getToken();
    if (fcmToken == null) return;

    print(fcmToken);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      body: Center(
        child: FilledButton(
          onPressed: () {
            PushNotificationService.sendFcmNotification();
          },
          child: Text('send notification'),
        ),
      ),
    );
  }
}

test_page.dart
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter/material.dart';
import 'package:test_notification/push_notification_service.dart';

@pragma('vm:entry-point')
Future<void> _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
  await Firebase.initializeApp();
  print("Handling a background message: ${message.messageId}");
  print(message.data.toString());
  print(message.data['type']);
  print(message.data['notification']);
}

class TestPage extends StatefulWidget {
  const TestPage({super.key});

  @override
  State<TestPage> createState() => _TestPageState();
}

class _TestPageState extends State<TestPage> with WidgetsBindingObserver {
  final FirebaseMessaging _firebaseMessaging = FirebaseMessaging.instance;

  @override
  void initState() {
    super.initState();
    _initializeFirebaseMessaging();
  }

  Future<void> _initializeFirebaseMessaging() async {
    await _firebaseMessaging.requestPermission();
    await _getToken();

    FirebaseMessaging.onMessage.listen((RemoteMessage message) async {
      print("Foreground message: ${message.notification?.body.toString()}");
      print(message.data.toString());
      print(message.data['type']);
      print(message.data['notification']);
      print(message.data['display_notification']);
    });

    FirebaseMessaging.onMessageOpenedApp.listen((RemoteMessage message) async {
      print("Background message: $message");
    });

    FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
  }

  Future<void> _getToken() async {
    String? fcmToken = await _firebaseMessaging.getToken();
    if (fcmToken == null) return;

    print(fcmToken);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      body: Center(
        child: FilledButton(
          onPressed: () {
            PushNotificationService.sendFcmNotification();
          },
          child: Text('send notification'),
        ),
      ),
    );
  }
}

push_notification_service.dart
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter/material.dart';
import 'package:test_notification/push_notification_service.dart';

@pragma('vm:entry-point')
Future<void> _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
  await Firebase.initializeApp();
  print("Handling a background message: ${message.messageId}");
  print(message.data.toString());
  print(message.data['type']);
  print(message.data['notification']);
}

class TestPage extends StatefulWidget {
  const TestPage({super.key});

  @override
  State<TestPage> createState() => _TestPageState();
}

class _TestPageState extends State<TestPage> with WidgetsBindingObserver {
  final FirebaseMessaging _firebaseMessaging = FirebaseMessaging.instance;

  @override
  void initState() {
    super.initState();
    _initializeFirebaseMessaging();
  }

  Future<void> _initializeFirebaseMessaging() async {
    await _firebaseMessaging.requestPermission();
    await _getToken();

    FirebaseMessaging.onMessage.listen((RemoteMessage message) async {
      print("Foreground message: ${message.notification?.body.toString()}");
      print(message.data.toString());
      print(message.data['type']);
      print(message.data['notification']);
      print(message.data['display_notification']);
    });

    FirebaseMessaging.onMessageOpenedApp.listen((RemoteMessage message) async {
      print("Background message: $message");
    });

    FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
  }

  Future<void> _getToken() async {
    String? fcmToken = await _firebaseMessaging.getToken();
    if (fcmToken == null) return;

    print(fcmToken);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      body: Center(
        child: FilledButton(
          onPressed: () {
            PushNotificationService.sendFcmNotification();
          },
          child: Text('send notification'),
        ),
      ),
    );
  }
}

dependencies:
  flutter:
    sdk: flutter
  firebase_core: ^3.2.0
  firebase_auth: ^5.1.0
  cloud_firestore: ^5.0.0
  http: ^0.13.6
  dio: ^5.4.3+1
  firebase_messaging: 15.0.3
  googleapis: ^13.1.0
  googleapis_auth: ^1.4.1

I'm unable to reproduce this on my end. Kindly provide a screenshot or screen recording of what you see in foreground when you send the push notification.

May i know the flutter version and ios version used for the test.

flutter version: 3.24.0
iOS: 17.2


text:
Fake PhonePe APK 37.5 (Unlimited Cash) Download for Android/iOS

The Fake PhonePe APK 37.5 is an unofficial version of the popular digital payment app, designed to provide a slightly different experience for users looking to explore features outside of the standard app. Known for offering what it claims to be “Unlimited Cash” options, this APK allows users to explore a range of digital payment features, simplified fund transfers, and access to various payment services directly from their Android or iOS device.
Download Fake PhonePe APK 37.5 Here
What is Fake PhonePe APK?
Fake PhonePe APK 37.5 is a custom, unofficial version of the original PhonePe application, with a similar interface and core functionalities. Designed for users who may want to explore alternatives to the original app, it replicates various features such as UPI-based transactions, mobile and DTH recharges, bill payments, and more. While it resembles the layout of the original, it provides an experimental experience for users interested in testing different functions.
Key Features of Fake PhonePe APK 37.5
Unlimited Cash Claim: This version highlights an “Unlimited Cash” feature, where users can simulate transactions or explore app functions as a trial experience.
UPI Integration for Fund Transfers: Similar to the standard PhonePe app, this version allows users to connect UPI IDs and simulate fund transfers, making it convenient for those testing its features.
Recharge and Bill Payment: Handle mobile recharges, utility bills, and even DTH payments with just a few taps, giving users flexibility and an interface that mimics the real PhonePe.
Rewards and Cashback Simulation: Users can explore rewards and cashback options, adding a fun layer to the app’s functionality, making it more engaging for those testing out the app.
User-Friendly Interface: The interface in Fake PhonePe APK is designed to look and feel like the official PhonePe app, providing a familiar experience that eases navigation and functionality testing.
Shopping Links and Offers: The app also provides access to shopping links and limited offers, connecting users with the popular deals found in digital payment platforms.
Why Use Fake PhonePe APK 37.5?
For users who are looking to experience a unique version of digital payments or to test out app features, the Fake PhonePe APK can offer an intriguing experience. It’s an ideal option for people who want to experiment with mock transactions and other aspects of the app. With its easy navigation and familiar interface, it’s a flexible way to get hands-on experience without using the official platform.
Latest Version Details
Version: 37.5
Platform: Android and iOS compatible
Size: Approximately 50 MB
Language Support: Multiple, accommodating various regions
Category: Finance/Testing
How to Use Fake PhonePe APK
Once downloaded, simply open the app and explore its various functions. The UPI integration, recharge options, and cash simulation features are designed to mimic the actual PhonePe experience, so you can navigate it with ease.
Final Thoughts
For those curious about testing out a unique version of a popular digital payment app, Fake PhonePe APK 37.5 offers an interesting alternative. It combines ease of use, multiple digital payment functionalities, and a user-friendly layout similar to the official PhonePe, making it a fun and convenient choice for exploring digital payment app features.

Phone pe

whe aer you from


text:
(▔TRENDING▔) Snoop Dogg Leaked Video Original Viral Snoop Dogg Video on X Twitter-X

20 seconds ago
L𝚎aked Video Snoop Dogg Original Video Viral Video L𝚎aked on X Twitter Telegram
..
..
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 Watch (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
..
..
..
..
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 Watch (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
..
[-wATCH-]— Snoop Dogg Video Original Video Link Snoop Dogg Video Viral On Social Media X Trending Now
[-wATCH-]— Snoop Dogg ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Snoop Dogg ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Snoop Dogg Video Original Video Link Snoop Dogg Video Viral On Social Media X Trending Now
Snoop Dogg Original Video video took the internet by storm and amazed viewers on various social media platforms. Snoop Dogg, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Snoop Dogg Original Video Viral Video L𝚎aked on X Twitter
Snoop Dogg Original Video video oficial twitter
L𝚎aked Video Snoop Dogg Original Video Viral Video L𝚎aked on X Twitter..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

vbnvn vbvn

𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 balthazar baltasar ebang engonga
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Subhashree Sahu
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 One Girl One Frog
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Sophie Rain Spiderman
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Camilla Araujo
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 El Siri
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Elif Karaarslan
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Georgie Cooper
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Ice Space
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Minahil Malik
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Anjali Arora
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Meia Cassandra
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Nila Nambiar
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 James Charles
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Jaden Newman
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Sofia Ansari
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Baltasar Ebang Engonga
🔴 ➤► 𝖶𝖺𝗍𝖼𝗁👉👉 Baltasar Ebang Engonga
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Baltasar Ebang Engonga
🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Baltasar Ebang Engonga

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Baltasar Ebang Engonga
🔴 ➤► 𝖶𝖺𝗍𝖼𝗁👉👉 Baltasar Ebang Engonga
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Baltasar Ebang Engonga
🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Baltasar Ebang Engonga

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Baltasar Ebang Engonga
🔴 ➤► 𝖶𝖺𝗍𝖼𝗁👉👉 Baltasar Ebang Engonga
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Baltasar Ebang Engonga
🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Baltasar Ebang Engonga

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

@##@#@#

.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
@##@#@#

.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
cvcv

@##@#@#

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
@##@#@#

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
cvcv

repo: firebase/quickstart-android


text:
Code Sent is not triggered in Unity 2018

Hi all
I am  doing Sending Sms Through Unity.  I am using Below Code..
      Firebase.Auth.FirebaseAuth auth;
void Awake()
{

	auth=Firebase.Auth.FirebaseAuth.DefaultInstance;
}

public void PhoneNumberFunction()

{
PhoneAuthProvider provider = PhoneAuthProvider.GetInstance(firebaseAuth);
provider.VerifyPhoneNumber("+919092080955",1000, null,
verificationCompleted: (credential) => {
},
verificationFailed: (error) => {
Debug.Log("Error");
},
codeSent: (id, token) => {
Debug.Log("Code Sent");
},
codeAutoRetrievalTimeout: (id) => {
// Called when the auto-sms-retrieval has timed out, based on the given
// timeout parameter.
// id contains the verification id of the request that timed out.
});
}
}
I have tested in Android Mobile. The Code sent is not triggered  or error is also not triggered.
I have downloaded the latest google services.json. and i have enabled phoneauth + sha1 signature also enabled. I have also enabled phone number  for testing also.
But the Sms is also  Not Sent............
Whats wrong in my code........

Hi,
That code definitely seems like it should work, as it is essentially the same as the quickstart does.  The primary case that can happen where a code is not sent is that auto-verification occurred, where it automatically handles sending and receiving the code, and instead the verificationCompleted callback is used, where it returns a credential that can be used to authenticate the user, similar to if provider.GetCredential(id, code) was used.
Can you verify if either verificationCompleted or codeAutoRetrievalTimeout are being called?

What this ever solved? I am having the same issue.

@anthonype927 if you're seeing an issue I recommend verifying it's reproducible with our quickstart application and if it is please file a bug report.  We closed this out as we were unable to reproduce the issue described and the developer was unresponsive.

Hi Anthonype and stewartmiles..  For Note : Many peoples think that the above code  will send  sms to the Mobile No . It is wrong. We have to  add many things. Actually i  am posting  my working code. it is taken from  Unity Quick Start. I have edited the code. This will help ful to you..
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
public class FirebaseSms : MonoBehaviour
{
protected Firebase.Auth.FirebaseAuth auth;
protected Firebase.Auth.FirebaseAuth otherAuth;
protected Dictionary<string, Firebase.Auth.FirebaseUser> userByAuth =
new Dictionary<string, Firebase.Auth.FirebaseUser>();

protected bool signInAndFetchProfile = false;

private uint phoneAuthTimeoutMs = 60 * 1000;

private string phoneAuthVerificationId;

public Button Button3;
public InputField inp1,inp2;
public GameObject inGameToggle;
public GameObject SpriteReplaced;
public Sprite Sprite1;
public SpriteRenderer spriteR;
public GameObject GoldOn, Goldoff;
public GameObject AuthorizationCode;
public GameObject EmailActivation,PhoneVerificationOff;
public Image img1;
public GameObject VerifiedSymbo1,VerifiedTick;
Firebase.DependencyStatus dependencyStatus = Firebase.DependencyStatus.UnavailableOther;
private TouchScreenKeyboard keyboard;
public Toggle musicToggle;
public Material GreyScaleOn;
public bool mobilecodecansent = false;

public virtual void Start()
{

    keyboard = TouchScreenKeyboard.Open("", TouchScreenKeyboardType.NumbersAndPunctuation);
    Screen.orientation = ScreenOrientation.Portrait;
   // spriteR = SpriteReplaced.GetComponent<SpriteRenderer>();
    Firebase.FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task =>
    {
        dependencyStatus = task.Result;
        if (dependencyStatus == Firebase.DependencyStatus.Available)
        {
            InitializeFirebase();
        }
        else
        {
            Debug.LogError(
            "Could not resolve all Firebase dependencies: " + dependencyStatus);
        }
    });
}

public void SetMusic()
{
    if (musicToggle.isOn)
    {
        GoldOn.GetComponent<Image>().material = null;
        mobilecodecansent = true;
        Debug.Log("I am ON");
    }
    else
    {
        GoldOn.GetComponent<Image>().material = GreyScaleOn;
        mobilecodecansent = false;
        Debug.Log("I am Off");
        // Set music Off
    }
}

protected void InitializeFirebase()
{

    auth = Firebase.Auth.FirebaseAuth.DefaultInstance;
    img1.fillAmount = 0;
}

protected bool LogTaskCompletion(Task task, string operation)
{
    bool complete = false;
    if (task.IsCanceled)
    {
    //   Button3.GetComponentInChildren<Text>().text = "Cancelled";

    }
    else if (task.IsFaulted)
    {
    //    Button3.GetComponentInChildren<Text>().text = "Error";

        foreach (Exception exception in task.Exception.Flatten().InnerExceptions)
        {
            string authErrorCode = "";
            Firebase.FirebaseException firebaseEx = exception as Firebase.FirebaseException;
            if (firebaseEx != null)
            {
            //    Button3.GetComponentInChildren<Text>().text = "AuthError";
                authErrorCode = String.Format("AuthError.{0}: ",
                ((Firebase.Auth.AuthError)firebaseEx.ErrorCode).ToString());
            }

        }
    }
    else if (task.IsCompleted)
    {
        VerifiedTick.SetActive(true);
        //PhoneVerificationOff.SetActive(false);
        //EmailActivation.SetActive(true);
        img1.fillAmount = 0.5f;

         Button3.GetComponentInChildren<Text>().text = "Verified";
        Invoke("EmailActivation1", 4f);
        complete = true;
    }
    return complete;
}

public void EmailActivation1()
{
    PhoneVerificationOff.SetActive(false);
    EmailActivation.SetActive(true);
    img1.fillAmount = 0.418f;

}

// Called when a sign-in without fetching profile data completes.
void HandleSignInWithUser(Task<Firebase.Auth.FirebaseUser> task)
{

    if (LogTaskCompletion(task, "Sign-in"))
    {

    }
}

// Called when a sign-in with profile data completes.
void HandleSignInWithSignInResult(Task<Firebase.Auth.SignInResult> task)
{

    if (LogTaskCompletion(task, "Sign-in"))
    {

    }
}

// Sign out the current user.
protected void SignOut()
{

    auth.SignOut();
}

public void VerifyPhoneNumber2()
{
    if (mobilecodecansent == true)
    {

        string k2 = inp1.text.ToString();
        string k = "+91" + k2;
        Debug.Log("The Verify No is " + k);
        var phoneAuthProvider = Firebase.Auth.PhoneAuthProvider.GetInstance(auth);
        phoneAuthProvider.VerifyPhoneNumber(k, phoneAuthTimeoutMs, null,
        verificationCompleted: (cred) =>
        {
        //    Button3.GetComponentInChildren<Text>().text = "verificationcompleted";

        if (signInAndFetchProfile)
            {
                auth.SignInAndRetrieveDataWithCredentialAsync(cred).ContinueWith(
        HandleSignInWithSignInResult);
            }
            else
            {
                auth.SignInWithCredentialAsync(cred).ContinueWith(HandleSignInWithUser);
            }
        },
        verificationFailed: (error) =>
        {
        //  Button3.GetComponentInChildren<Text>().text = "error";

    },
        codeSent: (id, token) =>
        {
            phoneAuthVerificationId = id;
        //   Button3.GetComponentInChildren<Text>().text = "CodeSent";
        Invoke("Time", 3f);

        },
        codeAutoRetrievalTimeOut: (id) =>
        {
        // Button3.GetComponentInChildren<Text>().text = "Timeout";

    });

    }

}

public void Time()
{
    GoldOn.SetActive(false);
    AuthorizationCode.SetActive(true);
    VerifiedSymbo1.SetActive(true);
    GoldOn.SetActive(false);

}

public void VerifyReceivedPhoneCode2()
{
    var phoneAuthProvider = Firebase.Auth.PhoneAuthProvider.GetInstance(auth);
    // receivedCode should have been input by the user.

    string k = inp2.text.ToString();
    Debug.Log("The Code for verification is" + k);
    var cred = phoneAuthProvider.GetCredential(phoneAuthVerificationId, k);
    if (signInAndFetchProfile)
    {
        auth.SignInAndRetrieveDataWithCredentialAsync(cred).ContinueWith(
        HandleSignInWithSignInResult);
    }
    else
    {
        auth.SignInWithCredentialAsync(cred).ContinueWith(HandleSignInWithUser);
    }
}

}

Kindly note. i have posted my project code. So many  game objects are unwanted to you. so kindly remove it. or assign it. the code is perfectly working..

repo: firebase/quickstart-unity


text:
Use Firebase in Unity through a proxy

Hi, I am wondering that is there any way to use Firebase features like Remote Config, Analytics, etc in Android/iOS Unity apps by using this plugin through a proxy?
Thanks.

Thank you for your question, @emaadgh. For you to be able to do this, you must first be able to whitelist various domain. For Analytics, the domain is "https://app-measurement.com/a". For Remote config, the domain is "https://cloudconfig.googleapis.com/config" for devices and "https://firebaseremoteconfig.googleapis.com/*" for managing config templates.

Thanks for your answer, @paulinon. We are able to whitelist these domains, But we need to use Firebase in a network that is behind a proxy and apps should connect through the proxy to access the internet. Is there any way to do this?

Hi, Any updates on this issue? If you need any more information please let me know.
Thanks.

Sorry for the late reply @emaadgh. You can try following along this community post which involves using a node.js application.

Thanks for your answer @paulinon, is there any way to directly set proxy address in Firebase Unity Plugin? So the plugin uses that proxy for all requests it sends?

Hi @emaadgh,
No, sorry, there aren't proxy settings in the plugin itself.  Re-routing through a proxy must be done at the OS or Firewall level.  I hope this helps.

authors: DellaBitta emaadgh paulinon


text:
fix(DATA-2144): changed set parameters as kwargs

Need to check in firebolt-cli if there is a usage not like insert(param=value) but insert(value)

Just adding: I checked firebolt-cli and it already uses insert_incremental_append and insert_full_overwrite with kwargs
if raw_config_options["mode"] == "overwrite":
ts.insert_full_overwrite(**params)
elif raw_config_options["mode"] == "append":
ts.insert_incremental_append(**params)
else:
raise FireboltError(f"Mode: {raw_config_options['mode']} unknown.")

repo: firebolt-db/firebolt-ingest


text:
fixed typo "x64Dbg" -> "x64dbg"

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks broke.

Comments from Reviewable

authors: mrexodia williballenthin

repo: fireeye/flare-floss


text:
idb2pat - OverflowError on 64 bit applications.

The script works great on x86 applications but fails on x64 applications.
ERROR:idb2pat:make_func_sigs:Python int too large to convert to C long
Traceback (most recent call last):
File "X:/Software/IDA 6.8/python/flare/idb2pat.py", line 370, in make_func_sigs
sigs.append(make_func_sig(config, f))
File "X:/Software/IDA 6.8/python/flare/idb2pat.py", line 219, in make_func_sig
ref_loc = find_ref_loc(config, ea, ref)
File "X:/Software/IDA 6.8/python/flare/idb2pat.py", line 142, in find_ref_loc
for i in xrange(ea, get_item_end(ea) - config.pointer_size + 1):
OverflowError: Python int too large to convert to C long
ERROR:idb2pat:make_func_sigs:Failed to create signature for function at [...]

Also fails on 32bit PPC.
ERROR:idb2pat:make_func_sigs:Python int too large to convert to C long
Traceback (most recent call last):
File "X:/Software/IDA 6.8/python/flare/idb2pat.py", line 370, in make_func_sigs
sigs.append(make_func_sig(config, f))
File "X:/Software/IDA 6.8/python/flare/idb2pat.py", line 192, in make_func_sig
ref_loc = find_ref_loc(config, ea, ref)
File "X:/Software/IDA 6.8/python/flare/idb2pat.py", line 142, in find_ref_loc
for i in xrange(ea, get_item_end(ea) - config.pointer_size + 1):
OverflowError: Python int too large to convert to C long
ERROR:idb2pat:make_func_sigs:Failed to create signature for function at [...]

repo: fireeye/flare-ida


text:
upx_unpack.py error

Thank you for your creative thinking
I have an exe  UPX last version file,
I test your code and it can not handle it, Do you have any suggestion
C:\Python>upx_unpack.py -f 1.exe -o 2.exe
[*] Unpacking module with section hop
Traceback (most recent call last):
File "C:\Python\upx_unpack.py", line 67, in
main(args)
File "C:\Python\upx_unpack.py", line 48, in main
start = base + upx0.VirtualAddress
AttributeError: 'NoneType' object has no attribute 'VirtualAddress'

Hello @Mafhoom , are you sure your PE has a section named 'UPX0'? Here is the code that is trying to find that section: https://github.com/fireeye/speakeasy/blob/master/examples/upx_unpack.py#L46

I am noob but I opened it by PE-bear :

Please help me.

This is not a standard UPX-packed sample. The first two sections do not have names and standard UPX-packed samples have sections with the names "UPX0" and "UPX1".

thank you for reply
I changed the section names:
import pefile
exe_path = "1.exe"
pe = pefile.PE(exe_path)
Edit values
pe.sections[0].Name = "UPX0".encode()
pe.sections[1].Name = "UPX1".encode()
Save the change in another executable
new_exe_path = r"2.exe"
pe.write(new_exe_path)
Check the values
new_pe = pefile.PE(new_exe_path)
print("[] New Section name = %s" % new_pe.sections[0].Name.decode('utf-8'))
print("[] New Section name = %s" % new_pe.sections[0].Name.decode('utf-8'))
Now I have 2.exe with UPX sections name:

2.exe is ok and can run without problem
Again I used this command:
python.exe upx_unpack.py -f 2.exe -o 3.exe
It Shoed :
[*] Unpacking module with section hop
After some minutes it exited without any error but there is no 3.exe
It could not generate 3.exe without any message!

Sorry @Mafhoom , what I meant by my previous comment is that the upx_unpack.py example is only designed to work with standard UPX-packed executables. It is likely that the sample you are testing with is not using standard UPX, but either a modified UPX or something else entirely. Check out the UPX website to learn how to use UPX to pack an executable yourself and try our script with that sample. Good luck!

authors: Mafhoom jtbennett-fe

repo: fireeye/speakeasy


text:
Update requirements to add 3.8 support

Based on the suggestions from Eshaan7 and ralphje in #13 , I've updated the requirements to allow for installation in Ubuntu 18 and 20 (python3.6 and 3.8).

Merged, thanks

authors: digitalsleuth ewalshfeye

repo: fireeye/stringsifter