JSX with es6 and commonjs modules

I'm using the lastest version of typescript with jsx support and there seems to be an issue when using jsx with the react flag along side es6 modules and commonjs. I've written the below which simply imports the Main component and points react router at it. Main gets imported but JSX references to main does not get converted to the module name main_1. Please let me know if I'm doing something wrong but it seems like the module name should be used here rather than an undefined 'Main' variable.
Orginal code
import Home from 'dist/app/components/home';
import Main from 'dist/app/components/main';
import * as Router from 'react-router';

var DefaultRoute = Router.DefaultRoute;
var Route = Router.Route;

var routes = (
    <Route name="app" path="/" handler={Main}></Route>
);
export default routes;

Converts to
var main_1 = require('dist/app/components/main');
var Router = require('react-router');
var DefaultRoute = Router.DefaultRoute;
var Route = Router.Route;
var routes = (React.createElement(Route, {"name": "app", "path": "/", "handler": Main}));
exports["default"] = routes;
//# sourceMappingURL=routes.js.map

Should be
var main_1 = require('dist/app/components/main');
var Router = require('react-router');
var DefaultRoute = Router.DefaultRoute;
var Route = Router.Route;
var routes = (React.createElement(Route, {"name": "app", "path": "/", "handler": main_1['default']}));
exports["default"] = routes;
//# sourceMappingURL=routes.js.map

Queuing up a fix now


Re-arrange Contributor Summit to be self-archiving

How it is now:
Currently the contributor-summit section of the website looks like this:
events/
  kseu/
past events/
  2021/
    kseu/
    ksna/
  2020/

... this means that we have to go through a process of "archiving" each Summit, which not incidentally breaks any links anyone made to the original summit pages.
What we should have is something like this
events/
  summits/
     2022/
       eu/
       na/
     2021/
     2020/
  other/
    2022/
    2021/

events/_index.md would have a list of upcoming events (manually updated, unless we have a way to automate it)
summits/_index.md that would redirect people to the current Summit.
events/other is for any "other" contributor events.  Currently we don't have pages for anything else, but we might in the future.
@mrbobbytables @Atharva-Shinde

/kind feature
looking into it 👀

    2022
      eu/kcs
      na/empty

I don't think we need to have a subdir below 2022/eu/ here.  There's only going to be one summit per region per year.
Agreed that we do need subdirs for "others" though.

IMO - we can probably simplify things with
events
  2022
    kcseu
    kcsna
  2021
    kcsna
    kcc
  2020
    kcc

we then move community meeting to the community section, we can remove office hours and MoC as they are essentially not happening anymore.

Should we preserve links to existing events? People may be referring to them as permalinks, for example, a link from social media to the Contributor Awards page.

I don't think it's worth the effort to preserve the links.  These are, well, events, and people generally stop caring about them after the event is over.

So, modifying Bob's tree and adding files:
events/
  _index.md --> listing of current and recent events
  summit.md --> landing page for whatever the current summit is, mostly redirects
  2022/
    kcseu/
      contents of current events/kcseu/
    kcsna/
      new folder, blank templates
  2021
    kcsna
      contents of events/past-events/2021/kcsna
    kcc
      contents of events/past-events/2021/kcc2021
  2020
    kcc
      contents of events/past-events/2020/kcc2020

summit.md isn't needed, the most current summit just needs summit listed as an alias in its frontmatter to work 👍

changed.

/assign


Add IBAN Type to Types

I would like to pick this issue

Hi, can't take this issue. Sorry😅

Hey @yezz123,
On validating the IBAN, do we intend to bring external libs such as schwifty to perform the validation or we want to implement it by ourselves ? I am asking because if that is the scenario, simply using this we would be validating the IBAN, right ?

can I give it a shot ?

can I give it a shot ?

Yes for sure ❤

Thanks! as it will be my first open-source contribution, I'll eventually need help. Gonna keep you folks up to date 😄

Thanks! as it will be my first open-source contribution, I'll eventually need help. Gonna keep you, folks, up to date 😄

Yes will be here for support in case you open the pull request and if its miss any thing around

Hey @yezz123 , I started to do it on this PR. Do you mind taking a fast look ?
I started thinking about using heritage with the class schwifty.IBAN, but I am not sure this is adequate here since a lot of methods may collapse and you did not use that anywhere, so I decided to follow the same pattern you folks are using. It's still missing:

Proper testing
Add the remaining properties.

Hey @yezz123 , I started to do it on this PR. Do you mind taking a fast look ?
I started thinking about using heritage with the class schwifty.IBAN, but I am not sure this is adequate here since a lot of methods may collapse and you did not use that anywhere, so I decided to follow the same pattern you folks are using. It's still missing:

Proper testing
Add the remaining properties.

I was wondering, is there a way to basically to inherit all the properties from schwifty.IBAN without writing explicitly ?

Great i will review it by today 🙏🏻

Thanks! I'll be waiting, as soon as I have a green flag on the path I am following I'll keep going 😄

Since version 2023.10.0 schwifty has native support for Pydantic. Can this issue be closed then?


currency-taka (Currency of Bangladesh)

Thank you for the new refreshed icon set.
currency-taka (Currency of Bangladesh) was available in V1 (currency-bangladeshi).
It would be really nice to have it on v2 as well.

Hey!
Sorry I missed this one. We just pushed an update that now includes this icon 👍🏻


[BUG] toThrow

If you traverse a toThrow matcher you will see that a closure will be called twice. It's a real bug, at my opinion.

All matchers return a boolean on ::match(). However if the expectation fail, the reporter need some details about the failure, so the ::description() method run the expectation to build a detailled report of the failure.

Why you can't save an exception in state?

Behavior modified in https://github.com/crysalead/kahlan/commit/d3dea7f3e25730628d4c9d3024b94bbf7290cf5e

:+1:


0.90.2

Fix ps4 no creds with additional device (@ktnrg45 - #22300)
Prefer TCP for RTSP streams (@hunterjm - #22338)
Update hass-nabucasa & fix state (@pvizeli - #22385)
Enable hass.io panel without ping (@pvizeli - #22388)
reset unsub to None on timeout (@hunterjm - #22404)

@balloob Any chance to still include opentherm fixes (hanging whole HA while reconnection fail) which already are in 'dev' and working? #21973 #22106 #22112 #22121


Camera not working on Pixel 5a after September update

My wife's Google Pixel 5a camera stopped working completely after getting last month's update.  I asked her to wait until this month's release and it "should " be fixed.
Well, it does not function at all.
I tried the Open Camera but it says the camera is not available.

This is a hardware issue, not an issue caused by an update.

The camera not being available means the hardware isn't working. It's a symptom that's seen after drop damage. It often means that there's a loose connection and it's fairly easily fixable. There's no way an issue like this would have made it past the Alpha and Beta channels. It's not something caused by an update and won't ever be fixed by an update. You need the phone repaired, which can probably be done without returning it for repair by a phone repair shop. Doing it yourself is possible but it's tricky to open up the devices without damaging them.

Thanks for the reply, I wasn't sure, I just wanted to verify.

Thanks for the update. Whatever you did in last week's update. My wife's cameras (both of them) started working as expected.

Nothing.

That's weird, neither of her cameras were working for the last few months and as soon as the update completed and she rebooted both cameras are working great again.
Very weird.


Switch the application to ASP.NET Core MVC

Consider during conversion:

https://andrewlock.net/url-culture-provider-using-middleware-as-mvc-filter-in-asp-net-core-1-1-0/

@petrsvihlik This task is interesting. Are you expecting a single pull request? And also do you have a separate GitHub branch for this?

@charithsoori let me please check with my colleagues what the exact expectations are. i'll get back to you soon.

Good news @charithsoori ! You can start working on it :)
Regarding the workflow:

I gave you write permissions to the repository which means that you can create own branch next to master and start pushing the code there.
We won't merge it to master until it's done and thoroughly tested. The code reviews and testing will be done by @JanLenoch who will also provide you with guidance and/or assistance if needed. (Just mention him in a comment and he'll get back to you asap.)
Before we merge the changes, we'll backup the original code in a separate branch. (Will be done by @JanLenoch )
I've also committed the appveyor.yml file to the repository in case you need to adjust the build procedure (eg. remove vs 2015 builds as vs 2015 doesn't support asp.net core 2.0)

Some technical details regarding referenced NuGet packages:

microsoft.* and system.* should be fine (they should have their .net standard alternative)
anglesharp supports netstandard = ok
kenticocloud.* supports netstandard = ok
jquery&bootstrap are not dependent on clr = ok
antlr is used by webgrease which is used by Microsoft.AspNet.Web.Optimization (for js/css bundling)...we can replace it with an analogical asp.net core package...see the docs

Target ASP.NET Core version should be: 2.0
I expect the biggest changes to be in the configuration.
Also there may be some places where we can make use of the view components and some other new ASP.NET Core functionality. Feel free to refactor the code to use the latest standards.
We should also take advantage of Dependency Injection to inject services like DeliveryClient into controllers.

Indeed a great news @petrsvihlik .

The git-flow you suggested is very clean and ill send pull requests to migration branch from my fork.
The initial technical spec is very clear.
Ill work start work on this.

Hi @charithsoori ,
How is it going with the conversion? I was wondering if there's anything I could help you with. If so, just let me know.
Jan

Hi @janlenoch
Bit  away for a vacation these days and haven’t started the task yet . I’ll update you soon when I start the task.

Cool, no pressure. If there's anything I can help with, just let me know.

moved to: https://github.com/Kentico/delivery-sdk-net/issues/158


Implement loading indicators more consistently throughout UI screens

Cards and tables in some cases have the loading indicators setup differently. This request is to bring uniformity to the way that they're setup.

I would +1 this, the loading indicator should probably be shown immediately whenever an operation is selected. In some cases there is a palpable delay between clicking an operation and an indication that the operation has begun or was acknowledged.


Flutter Blue broadcast message read for authentication.

I am sending a broadcast message from Esp32 when i connect to the Esp32 from flutter application using flutter blue i can't read the broadcast message ? is this feature implemented ?
From Esp32 side i am sending 2 broadcast packets alternatively but on the application side its read one packet in single scan
Is ther a possible way to read both of packet in single scan ? please explain this

Hi, I'm working on a GATT Profile and using Flutter_Blue I had no specific issue.  How can you read a single message in a single scan? I'm not able to reproduce, can you share your code? Of course, you can omit the business logic parts.

actually when i read manufacturer data it gives me wrong packet . i am sending specific packet from BLE device and sometime it can read the packet and sometime it can't and get the wrong packet.


Remove creationTimestamp: null for sealedSecrets

Hi all,
Right now metadata.creationTimestamp and spec.template.metadata.creationTimestamp is always created after seal a secret in the web-ui.

Compared to older versions (for example 2.8.0), these fields have not been set.

We always remove these fields. Is there a possibility to remove these fields by default? Both values are set on the cluster when resources are applied.
p.s. By the way, I really like your project! The UI saves a lot of time when we need to seal secrets 👍

Hi @husira
Thank you very much for the niche feedback. Much appreciated.
This application is using the default types form kubernetes and sealed-secrets and is also the default serialization.
The difference between v 2.8 and 3.x is that this application now uses the sealed secrets API and not it's cli binary any more.
This could explain the difference.

One option could be to do the cleanup in JavaScript on the client side.


Setting collectd::plugin::nginx params does not work for booleans

Setting the nginx plugin parameters via hiera:
collectd::plugin::nginx:
  url:        "https://%{::fqdn}/nginx_status"
  verifypeer: 'false'
  verifyhost: 'false'

Doesn't work because the template
<% if @verifypeer -%>
  VerifyPeer <%= @verifypeer %>
<% end -%>

parses the value as a bool and never actually writes out the stanza. I'm not sure what the best way to fix this is except maybe use negative or an unless conditional?

FWIW, the way I handle "tri-state bools" (true/false/undef) is like so:
define foo (
  $foo = undef
) {
  if (defined('$foo)) {
    $foo_bool = str2bool($foo)
  }
}

and then in template code:
<% if<EMAIL_ADDRESS>%>
  foo = <%= @foo ? 'true' : 'false' %>
<% end %>

this has the added benefit of normalizing boolean values on input to what the output should be. str2bool is from puppetlabs/stdlib, but that's ok since it's already used by this module :)

I edited the last comment, sorry about that. I had typed up my old approach and realized that it was my old approach :)


Add metadata to pull_json

#632  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Unable to pull the file using docker

Unable to install zwave-js-ui on my aarch64 platform board.
I am trying to use zwave-js-ui for my aarch64 board, but the issue is that its too complex and difficult to install docker in my board. I have searched everywhere to find an easier method but to no avail. My board does not have the necessary packages to install docker and seems to be incompatible with it.
If there is any other way to install zwave-js-ui for the aarch64 platform board, please let me know. Also please share the steps you have taken to install docker in your aarch64 board. I have my board configuration below.
Operating System: Ubuntu 18.04.6 LTS
Kernel: Linux 3.10.65
Architecture: arm64
Using the command <uname -m> prints aarch64 on the console
Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

This is not a general Docker container, but an Home Assistant add-on. You can't use add-ons in regular container installation methods.
../Frenck

Hi Frenck,
Thanks for you reply.
I would like to know if there is still another method to download zwave-js-ui/aarch64 without using the pull feature from docker. I know it's an add-on but I still think I might be able to run the application in my hardware board and use it to control some of my zwave devices.


Firewall rules scanner doesn't work when a range of ports is entered in the ports field

Firewall rules scanner works only when a specific ports number or all is entered in the ports field.
- rule_id: 'TestRuleId'
    description: TestDesc
    mode: blacklist
    match_policies:
      - direction: ingress
        allowed: ['*']
        sourceRanges: ['X.X.X.X/X']
    verify_policies:
      - allowed:
        - IPProtocol: 'tcp'
          ports:
            - '5400-5500'

Is this the python scanner or config validator firewalls scanner?
If Python can you research if this is also a consideration with the Config Validator firewall scanner. If so we should file an issue to address that vs the python firewall scanner.

I checked the code. This doesn't seem to be an issue with the Config Validator firewall scanner.

Can we close this issue by recommending he Config Validator Firewall rule then?

I advised user to use Config Validator scanner instead. Closing this issue as CV scanner resolves this.


Sync latest distutils

Rely on pytest as found in pytest-dev/pytest#11155. Fixes pypa/distutils#186.
Clean up docstrings and remove crufty comments. Replace integer literals with booleans.
"Refactor to newer_group to utilize higher level constructs ("any"), re-use _newer logic, and avoid complexity in branching."
Prefer os.path.getmtime
Inline check for target presence.
Add test for newer_pairwise, bringing coverage in dep_util to 100%.
Replace for/append loop with a filter function (newer_pair).
Replace explicit list check with zip(strict=True). Allows inputs to be iterables.
Extract a 'starfilter', similar to itertools.starmap, to generalize the concept of filtering results over a sequence of tuples.
Replace '_starfilter' with 'jaraco.functools.splat'.
Move dep_util to _modified and mark dep_util as deprecated.
Extend tests for newer_pairwise and fix failed expectation when no files are newer.
Add newer_pairwise_group (inspired by setuptools.dep_util).
Added tests for newer_pairwise_group().
Modernize test_newer_pairwise_group by using tmp_path and a SimpleNamespace.
Remove latent references in docs.
Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
Replace git version with released version. Ref #186.
Disable cygwin tests for now. Ref pypa/setuptools#3921
Disable integration test due to known breakage from deprecation warnings.
Allow diffcov to fail also, as it requires the tests to pass on the latest Python to succeed.
Remove newsfragment
Copy concurrency setting from setuptools
Rely on distutils._modified and deprecated setuptools.dep_util.
Add news fragment.

Summary of changes

Closes
Pull Request Checklist

[ ] Changes have tests
[ ] News fragment added in newsfragments/.
(See documentation for details)

I don't understand why the pull request tests are failing but the push tests are fine... because they are both based on main so the diff between pull request and push should be zero.

I don't understand why the pull request tests are failing but the push tests are fine... because they are both based on main so the diff between pull request and push should be zero.

There are some differences in setuptools/command/build_clib.py, setuptools/dep_util.py and setuptools/tests/test_dep_util.py, so probably even if the same code paths are executed, a simple thing like changing the total number of lines in a file might mess with the coverage percentiles.

Oh! Good news. The tests that were failing before stopped failing after I closed and re-opened the PR. Now all that's failing is the diffcov tests. I'm happy to ignore those failures.
Thanks for the extra set of eyes!


[BUG] Empty list shown when device has folders containing pictures

Describe the bug
Asset picker shows 'Empty list' even though device has pictures in library
How to reproduce
Called with:
await AssetPicker.pickAssets(
      context,
      pickerConfig: AssetPickerConfig(
        requestType: RequestType.image,
    ),
);

permissions in AndroidManifest:
   <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"  />
Steps to reproduce the behavior:

Open the asset picture
Empty list is dipslayed

Expected behavior
The device files containing images to be displayed.
Screenshots (If contains)

Version information

Device: Google Pixel 6
OS: Android 13
Package Version: 8.1.4
Flutter Version: 3.6.0

Additional context
This package used to work with 7.3.2 but now I checkout this version still this unexpected 'Empty list' behaviour occurs. I couldn't say what changed since then, Android Version? An incompatible image type?

Please verify if the example is working on your phone.

If this messages intended for me? If so, I don't understand what you want me to test

Use the example of the package to test if the issue is reproducible.

Oh okay, I just tried the example and that worked. So I added the filter AssetPickerConfig with only on images, and now this works as well. I don't really understand how to be honest but it works now so thanks for your help.

It worked briefly, but after the next build the same behaviour started appearing...
I tried with the example and still get the same 'Empty List' screen.

Is your Pixel 6 an emulator or a real device? I can't reproduce the issue on my Android 13 device (OnePlus 9 Pro).

I'm also working with a real device with Android 13

I have the same issue on 13 Android. Just empty screen...

I've double-checked the configuration in the example and found no issues. Please help to identify the root cause by following steps:

Update the cloned repo to the latest (e0951d4) and revert all local changes (if any).
Run flutter clean, delete build and example/build folders, and run flutter pub upgrade for the package and the example, make sure the photo_manager is resolved as 2.5.0 in the pubspec.lock.
If the issue persists, open the logcat and filter all logs related to PhotoManager and paste them into a log file, then upload them to this thread.

I'm also working with a real device with Android 13

I have the same issue on 13 Android. Just empty screen...

@ayomessenger @Danzzel Please both provide full device information and an extra screen recording when testing with the example. Thanks.

Also please try to add the android.permission.READ_EXTERNAL_STORAGE permission to the manifest.

https://user-images.githubusercontent.com/75837219/204085799-806f683e-ed3a-
Untitled.docx
4c43-a85e-22090bc2e34b.mp4
I testing on a real device, a Google Pixel 5a
my logs in doc
Thank you for trying to help me.

[]
https://user-images.githubusercontent.com/75837219/204085986-20d20663-d6f9-4598-bb08-073857daac6e.mp4
(url)

video_2022-11-26_13-05-55.mp4

@Danzzel Please provide full device information and an extra screen recording when testing with the example.
Also, please try to add the android.permission.READ_EXTERNAL_STORAGE permission to the manifest.

@AlexV525 I added this permission, you can see it upper on one of my screenshots. And, of course, I can do a new record, but maybe you want to see some specific data or moments?

No. Because when you're involving too many variants of configurations, it'll be hard to figure out what's wrong here.
BTW, the targetSdkVersion and compileSdkVersion matters, upgrade them to 33 if they aren't 33.

@AlexV525 now I have compileSdkVersion = 33 and  targetSdkVersion = 31. I'll try to upgrade targetSdkVersion to 33 and I will write the result with other details

@AlexV525 Your truth, with targetSdkVersion 33 it's working.
Thanks a lot, you cool guy!)))

Just to confirm for me as well. Upgrading the targetSdkVersion to 33 also did the trick, thanks everyone :)

This is now explained in the README since 434ab29.

@AlexV525 is there a way around setting the target device to 33? There is an issue with the camera when set to 33
Issue

@AlexV525 is there a way around setting the target device to 33? There is an issue with the camera when set to 33

No workaround unless you use a fork camera plugin.


Can't create project

when i create a project named abc,then output these message

create. Unable to infer a module name. Try again using the module  name.
For example,
bud create --module=github.com/my/app abc

How to fix?

I have same issue


Project still maintained?

Hello,
Looks like this project is not supported yet.
@Guichaguri @dcvz could you share your thoughts and plans for react-native-track-player? There are plenty open issues and open PRs. Do you plan to add other maintainers with necessary rights for this repo? Also, I'm curious about potential release dates?
Thanks in advance!

Up for this issue. This library seems used by lot of people, sure we can add other maintainers to help.
Thanks!

Likewise. This is a great library, but haven't seen any real updates in a while.

Not currently. I'd love to get back into maintaining the module, but I don't have enough time for it.
Either way, I think we should add new maintainers, the project has got really big, there are a lot of issues open and pull requests not reviewed, and even if all current maintainers were active, it would take months for us to work on all of these.

I think indeed that it would be wise to get some more maintainers, as we have a lot of apps running with this module (which is really great), but most of them see issues when updating the iOS versions etc. Updating the module does not fix it then, so we need to check for alternatives and that is not easy .

Could you simply add a "call for maintainers" at the README? Or add permissions to volunteers?

Please could we have some clarification around the status of this project? I can see an update has been released in the last hour (which is very welcome) by @curiousdustin who earlier in this thread said they don't have any time to spare anymore. I rely on this project for my app but I don't feel I have much confidence in it from this mixed messaging. Thanks!

I understand the concern @gavrichards.
As for today's release, there were quite a few minor updates that had been completed by various people over the past 10 months, but never released. I found enough time to compile those into a release.
Unfortunately, I still will not be able to pay a large amount of attention to this project for the foreseeable future.

Thanks for the clarification @curiousdustin. Would you consider the idea of widening the pool of maintainers or soliciting for help on the readme?

Yes, I believe we would be open to that.
However, this would really be up to @Guichaguri who is the founder of this project. I have only helped out relatively recently, and to a relatively small degree.

That's great to hear. I wish I was more qualified but sadly I know very little about the native code side of things. Hopefully there will be some willing volunteers.

Thanks, @curiousdustin for recent releases, would be great to see more releases soon!

Hello @Guichaguri @curiousdustin, do you mind adding help wanted topic to repository https://github.com/topics/help-wanted, so it will be visible for potential maintainers? Also would be great to have a similar section in readme https://github.com/austinhuang0131/barinsta#we-need-maintainers, along with contributors below?


Upload apk for Android

Current dependencies on/for this PR:

main

PR #70   👈

This stack of pull requests is managed by Graphite.


[0.54] [iOS] Wrong 'Backspace' event fired onKeyPress after clearing TextInput

In IOS, after clearing TextInput value (setting it to empty string) and then pressing any key (e.g. 'a') two onKeyPress events are fired: A, Backspace. First is for the pressed key and second is a Backspace.
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.9.1
Yarn: 1.3.2
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: ^16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: 0.54.2 => 0.54.2
Expected Behavior
Only one event for the pressed key should be fired (e. g. 'A').
Actual Behavior
An additional 'Backspace' event is fired.
Steps to Reproduce

write anythig in the textfield
press clear
press 'a' >>> events 'A' and 'Backspace' will be fired

type Props = {};
type State = {
  text: string,
  keys: string
};
export default class App extends Component<Props, State> {
  state = {text: '', keys: ''}
  render() {
    return (
      <View style={styles.container}>
        <TextInput style={styles.textInput} value={this.state.text} onChangeText={this.onChangeText} onKeyPress={this.onKeyPress}/>
        <Button title="Clear" onPress={this.onClear}/>
        <Text>Text: {this.state.text}</Text>
        <Text>Keys: {this.state.keys}</Text>
      </View>
    );
  }

  onChangeText = (text: string) => {
    this.setState({text})
  }

  onKeyPress = ({ nativeEvent }: Object) => {
    this.setState({keys: this.state.keys + nativeEvent.key + ', '})
  }

  onClear = () => {
    this.setState({text: '', keys: ''})
  }
}

+1, validated this is happening

+1

I also encountered this. It causes<EMAIL_ADDRESS>to not work properly. (Used the example code in the repo for replication) https://github.com/jwohlfert23/react-native-tag-input

+1; I've got the same issue on 0.54.

+1, encountered when using https://github.com/jwohlfert23/react-native-tag-input

I opened a pull request to fix this bug: #18627

+1 to this happening in our app where we are validating a Confirmation Code.
When can we get #18627 merged in?

+1

+1

+1

In the meantime, I fixed this in my confirmation code page by running .clear() on the input before setting the state to "".
this.refs["input"].clear()
this.refs["input"].focus()
this.setState({value:""})

I don't know how it worked, but it did.

Not worked for me!

+1

+1, experience this on 0.55.2 as well

I was able to workaround this bug by adding a check in the onKeyPress callback function,
 onKeyPress(e) {
    if (e.nativeEvent.key === 'Backspace') {
      // Return if duration between previous key press and backspace is less than 20ms
      if (Math.abs(this.lastKeyEventTimestamp - e.timeStamp) < 20) return;

      // Your code here

    } else {
      // Record non-backspace key event time stamp
      this.lastKeyEventTimestamp = e.timeStamp;
    }
  }

I found while debugging that duration between receiving backspace event after key press is less than ~10ms. So I record the non-backspace key event timeStamp and use it to compare with backspace event timeStamp. If the difference between these two is less than 20ms (arbitrary value > 10ms) then I return from the callback.
Hope this helps!

Fixed.

Fix should be in<EMAIL_ADDRESS>

@amarw it's event better to check nativeEvent.eventCount (at least in 0.55.2), they are the same in the two events :)


build features for import/export gqrx bookmarks

rig-remote should be able to import and export bookmarks to/from gqrx file format

done in 3d9863e33684b1978f99c43356631fefd3bb9e38 now in devel branch


FCM Token not updating latest iOS13.5 and Xcode 11.5

Hi Team,
Firebase suddenly stop updating the fcm token. It's always giving a same token, Even i uninstall the app and check it on several times, but it's always giving the same token.
My two iOS apps was working properly but last 1 weeks it's giving the issue. When i am trying to send notification on that token its saying that "NotRegistered"
Response
{"multicast_id":1896555360655138060,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"NotRegistered"}]}.

Step 0: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request please use the Feature Request template.

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.5
Swift Version 5.2 with iOS 13.5
Firebase SDK version: latest version
Firebase Component: Messaging  (Auth, Core, Database, Firestore, Messaging, Storage, etc)
Component version: latest version
Installation method:  CocoaPods            CocoaPods | Carthage | Zip file (select one)

[REQUIRED] Step 2: Describe the problem
      Install the app and allow the notification you will get the token. Now save that token in
      some where else and uninstall the app in device and again install the same app. You will get
      the exact same token as you install app on first time. And you try to send notification on that
      token api give below response. I have done the install and uninstall several times but same
      token coming always.

     {"multicast_id":1896555360655138060,"success":0,"failure":1,"canonical_ids":0,"results":
    [{"error":"NotRegistered"}]}.

Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
########## Create the new project Xcode11.5
download the fcm sample code and integrate the same in newly created app.
Install the app in device. You will get the token, now uninstall the app and install again you will get the same token again. now use that token to send notification it will gives a error.
Relevant Code:
// TODO(you): code here to reproduce the problem

    // Added this on didFinishLaunchingWithOptions function

      Messaging.messaging().delegate = self
      Messaging.messaging().shouldEstablishDirectChannel = false

    UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) {
        (granted, error) in
        //Parse errors and track state
        debugPrint("notification=\(granted)")
        DispatchQueue.main.async {
            if granted {
                debugPrint("granted")
            }
        }
    }

    application.registerForRemoteNotifications()

  //FCM Delegate method
   func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String) {
          print("Firebase registration token: \(fcmToken)")
   }

@vinod1988 Which sender API do you use and what does your payload look like?

@chliangGoogle   I am using Firebase sender api. https://fcm.googleapis.com/fcm/send

Can you share the debug log. you can enable "debugLog" by adding -FIRDebugEnabled flag on your xcode scheme: more details here https://firebase.google.com/docs/analytics/debugview
Another thing is can you try call FIRInstanceID.deleteID to see if that resolves the issue temporarily?

@chliangGoogle

@maksymmalyhin Do you have any idea if client can get the same FID/token even after app uninstall?

@chliangGoogle I am not aware of a valid case when the client can get the same FID/token even after app uninstall, if it does, it's a bug.
FID, FIS token and FCM token are stored in the keychain which preserves the data between between app installations, but FID and FIS stored in the keychain are ignored if there is no are corresponding flag in a User Defaults (see the logic here). The User Defaults are supposed to be deleted with the app which means that after the app uninstall and reinstall a new FID and FIS token should be generated that will replace old ones.
FCM token stored in keychain should be updated after uninstall based on the updated FID (implemented in #4096)
@vinod1988 To help us narrow down the scope of the issue could you please check the following things:

Double check that you uninstall and install the app after it was removed? Installing a new version of the app on the top of old one will not reset the token.
Print IID variable from at this line. If it matches the prefix of the Firebase Messaging token?
Do you configure Keychain Access Group by setting FirebaseOptions. appGroupID property? User Default in the shared container are used in this case which, I suspect, may lead to an issue.

@maksymmalyhin thanks for reply
But this is bug. Let me know when this resolved.
I will try to add your suggested points and let me know. and will share you the debugLog same as well.

@maksymmalyhin  and @chliangGoogle  sorry for the late reply. I was busy with other task.
Today i have investigated the bug again and found that Token refresh bug resoled.
But found another interesting bug.  Scenario
1] Uninstall the app from device and install the fresh app.
2] After allow the notification you will get the fcm token.
3] Now restart the app every time you will get the different token.
Note: What is the time limit of token expiration. But this kind of behaviour is not coming in android. I tested on android its working properly. Its not refreshing the fcm token on every time user start and close the app. Its happening only on ios.
Let me know when this bug resolved.
###======= Here is device log ============
2020-06-24 15:53:24.817934+0530 Frats[1447:472009]  - [I-ACS036001] Analytics screen reporting is disabled. UIViewController transitions will not be logged.
2020-06-24 15:53:24.962042+0530 Frats[1447:472004] 6.25.0 - [Firebase/Core][I-COR000001] Configuring the default app.
2020-06-24 15:53:24.962354+0530 Frats[1447:472004] 6.25.0 - [Firebase/Core][I-COR000033] Data Collection flag is not set.
2020-06-24 15:53:24.980325+0530 Frats[1447:472009] 6.25.0 - [Firebase/Analytics][I-ACS024000] Debug mode is on
2020-06-24 15:53:24.981973+0530 Frats[1447:472009] 6.25.0 - [Firebase/Analytics][I-ACS005000] The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
"notification=true"
"granted"
Remote instance ID token: fvUEcvuCakJQpV0kaytuD3:APA91bEogFOLdGiQHkLIaPsGpsUysvV4gi3CqVfEf3CI3Rk0gD56VWJd062LAgFfC8fAJmkRRLZcTpdNjJTePEiBsiuRCJdNTnzDOmikkxQq_eiCHmN0AqfxddhHKuCE36jm5OvPM-3N
Firebase registration token: fvUEcvuCakJQpV0kaytuD3:APA91bEogFOLdGiQHkLIaPsGpsUysvV4gi3CqVfEf3CI3Rk0gD56VWJd062LAgFfC8fAJmkRRLZcTpdNjJTePEiBsiuRCJdNTnzDOmikkxQq_eiCHmN0AqfxddhHKuCE36jm5OvPM-3N
nil
Remote instance ID token: fvUEcvuCakJQpV0kaytuD3:APA91bEogFOLdGiQHkLIaPsGpsUysvV4gi3CqVfEf3CI3Rk0gD56VWJd062LAgFfC8fAJmkRRLZcTpdNjJTePEiBsiuRCJdNTnzDOmikkxQq_eiCHmN0AqfxddhHKuCE36jm5OvPM-3N
"Remote InstanceID token: fvUEcvuCakJQpV0kaytuD3:APA91bEogFOLdGiQHkLIaPsGpsUysvV4gi3CqVfEf3CI3Rk0gD56VWJd062LAgFfC8fAJmkRRLZcTpdNjJTePEiBsiuRCJdNTnzDOmikkxQq_eiCHmN0AqfxddhHKuCE36jm5OvPM-3N"
APNs token retrieved: 32 bytes
49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632
APNs token retrieved: SdcSXXAZCQ/3DHoKYKarhvZIw1kEr6vx2lVfJ2bFNjI=
2020-06-24 15:53:25.177949+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.178279+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.178450+0530 Frats[1447:472009] 6.25.0 - [Firebase/Messaging][I-FCM002000] FIRMessaging library version 4.4.1
2020-06-24 15:53:25.178612+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:25.178742+0530 Frats[1447:472009] 6.25.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-06-24 15:53:25.179346+0530 Frats[1447:472009] 6.25.0 - [GoogleUtilities/AppDelegateSwizzler][I-SWZ001008] Successfully created App Delegate Proxy automatically. To disable the proxy, set the flag GoogleUtilitiesAppDelegateProxyEnabled to NO (Boolean) in the Info.plist
2020-06-24 15:53:25.179701+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:25.179822+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:25.179867+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.180001+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.180158+0530 Frats[1447:472009] 6.25.0 - [Firebase/InstanceID][I-IID003012] Provisioning profile has specifically provisioned devices, most likely a Dev profile.
2020-06-24 15:53:25.180295+0530 Frats[1447:472009] 6.25.0 - [Firebase/InstanceID][I-IID003013] APNS Environment in profile: development
2020-06-24 15:53:25.180330+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:3, status:Connected
2020-06-24 15:53:25.180392+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2020-06-24 15:53:25.180465+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.180529+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.180565+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:3, status:Connected
2020-06-24 15:53:25.180634+0530 Frats[1447:472009] 6.25.0 - [Firebase/InstanceID][I-IID021000] Unregister request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4666267842348930640&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&delete=true&iid-operation=delete&sender=&appid=fvUEcvuCakJQpV0kaytuD3
2020-06-24 15:53:25.184445+0530 Frats[1447:472008] 6.25.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60501000 started
2020-06-24 15:53:25.184912+0530 Frats[1447:472008] 6.25.0 - [Firebase/Analytics][I-ACS023008] To disable debug logging set the following application argument: -noFIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-06-24 15:53:25.185281+0530 Frats[1447:472008] 6.25.0 - [Firebase/Analytics][I-ACS023009] Debug logging enabled
2020-06-24 15:53:25.185460+0530 Frats[1447:472008] 6.25.0 - [Firebase/Analytics][I-ACS023207] To enable verbose logging set the following application argument: -FIRAnalyticsVerboseLoggingEnabled (see http://goo.gl/RfcP7r)
2020-06-24 15:53:25.186915+0530 Frats[1447:472009] 6.25.0 - [Firebase/Analytics][I-ACS002002] APMExperimentAlarm scheduled to fire in approx. (s): 13629.57499814034
2020-06-24 15:53:25.210281+0530 Frats[1447:472011] 6.25.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-06-24 15:53:25.210605+0530 Frats[1447:472011] 6.25.0 - [Firebase/Analytics][I-ACS029014] Successfully parsed a configuration. Version:<PHONE_NUMBER>226288
2020-06-24 15:53:25.210763+0530 Frats[1447:472011] 6.25.0 - [Firebase/Analytics][I-ACS023016] Analytics is ready to receive events
2020-06-24 15:53:25.211046+0530 Frats[1447:472011] 6.25.0 - [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.
2020-06-24 15:53:25.213120+0530 Frats[1447:472010] 6.25.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2020-06-24 15:53:25.213151+0530 Frats[1447:472010] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-06-24 15:53:25.213432+0530 Frats[1447:472010] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-06-24 15:53:26.158290+0530 Frats[1447:472010] [] nw_resolver_start_query_timer_block_invoke Query fired: did not receive both families in time for www.google.com:0
Firebase registration token:
2020-06-24 15:53:26.373592+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002002] -[FIRInstallationsIDController createDeleteInstallationPromise], appName: __FIRAPP_DEFAULT
nil
2020-06-24 15:53:26.386210+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.386756+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: _FIRAPP_DEFAULT
2020-06-24 15:53:26.387686+0530 Frats[1447:472011] 6.25.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid-tokens";
"m_Limit" = "m_LimitAll";
"r_Attributes" = 1;
"r_Data" = 1;
svce = "624030538768:";
}
2020-06-24 15:53:26.392372+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.392918+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.393557+0530 Frats[1447:472011] 6.25.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity:<PHONE_NUMBER>68, scope: *
2020-06-24 15:53:26.395535+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.396225+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.411777+0530 Frats[1447:472011] 6.25.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4666267842348930640&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&sender=624030538768&X-subtype=624030538768&appid=fvUEcvuCakJQpV0kaytuD3&apns_token=s_49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632&gmp_app_id=1:624030538768:ios:8bde254c46c72738a57e95
2020-06-24 15:53:26.416218+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS001001] Sending request: <NSMutableURLRequest: 0x2827e8770> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/fvUEcvuCakJQpV0kaytuD3/ }, body:{}, headers: {
Authorization = "FIS_v2 2_4j179UeXteTG0md9A-hL0OBS2UVZgHQIV8p_mZr58jK1KcRg9EKnHoMUAHJg85S";
"Content-Type" = "application/json";
"X-Goog-Api-Key" = AIzaSyCjcmAKdYjYk8qClusEcWGkFgsMtyDwLr8;
"X-Ios-Bundle-Identifier" = "app.frats.ios";
"X-firebase-client" = "apple-platform/ios apple-sdk/17F65 fire-analytics/6.5.1 fire-db/6.2.1 fire-fcm/4.4.1 fire-fst/1.14.0 fire-iid/4.3.4 fire-install/1.2.0 fire-ios/6.7.1 swift/true xcode/11E608c";
"X-firebase-client-log-type" = 0;
}.
Remote instance ID token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2
"Remote InstanceID token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2"
Firebase registration token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2
nil
Remote instance ID token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2
"Remote InstanceID token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2"
["domain": "nid", "sub_domain": "in", "device_token": "fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "user_id": "5ea959d28ba9282cac24bf21"]
"["domain": "nid", "sub_domain": "in", "device_token": "fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "user_id": "5ea959d28ba9282cac24bf21"]"
2020-06-24 15:53:26.769906+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid-tokens";
svce = "624030538768:";
}
2020-06-24 15:53:26.770719+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2, authorizedEntity:<PHONE_NUMBER>68, scope:
2020-06-24 15:53:26.771579+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-06-24 15:53:26.771744+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID003008] Got default token fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2
2020-06-24 15:53:26.771998+0530 Frats[1447:472018] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.772166+0530 Frats[1447:472018] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
"autoUpdatePushToken=["message": This device details Already Exist, push token updated, "status": 200]"
2020-06-24 15:53:27.249866+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS001003] Request response received: <NSMutableURLRequest: 0x2827e8770> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/fvUEcvuCakJQpV0kaytuD3/ }, error: (null), body: {
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}
.
2020-06-24 15:53:27.256429+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS001004] Unexpected API response: <NSHTTPURLResponse: 0x2825b4ca0> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/fvUEcvuCakJQpV0kaytuD3/ } { Status Code: 404, Headers {
"Cache-Control" =     (
private
);
"Content-Encoding" =     (
gzip
);
"Content-Length" =     (
115
);
"Content-Type" =     (
"application/json; charset=UTF-8"
);
Date =     (
"Wed, 24 Jun 2020 10:23:27 GMT"
);
Server =     (
ESF
);
Vary =     (
Origin,
"X-Origin",
Referer
);
"alt-svc" =     (
"h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43""
);
"x-content-type-options" =     (
nosniff
);
"x-frame-options" =     (
SAMEORIGIN
);
"x-xss-protection" =     (
0
);
} }, body: {
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}
.
2020-06-24 15:53:27.259149+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
nil
2020-06-24 15:53:27.267500+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID008009] Deleted checkin plist file.
2020-06-24 15:53:27.269835+0530 Frats[1447:472018] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:27.286742+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS001001] Sending request: <NSMutableURLRequest: 0x2827eaa00> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/ }, body:{"appId":"1:624030538768:ios:8bde254c46c72738a57e95","fid":"ewmAMZcAE0Lmvb5YY0f2yM","authVersion":"FIS_v2","sdkVersion":"i:1.2.0"}, headers: {
"Content-Type" = "application/json";
"X-Goog-Api-Key" = AIzaSyCjcmAKdYjYk8qClusEcWGkFgsMtyDwLr8;
"X-Ios-Bundle-Identifier" = "app.frats.ios";
"X-firebase-client" = "apple-platform/ios apple-sdk/17F65 fire-analytics/6.5.1 fire-db/6.2.1 fire-fcm/4.4.1 fire-fst/1.14.0 fire-iid/4.3.4 fire-install/1.2.0 fire-ios/6.7.1 swift/true xcode/11E608c";
"X-firebase-client-log-type" = 0;
}.
2020-06-24 15:53:27.426087+0530 Frats[1447:472018] [] nw_resolver_start_query_timer_block_invoke [C11] Query fired: did not receive both families in time for firebaseinstallations.googleapis.com:443
2020-06-24 15:53:27.778247+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID007006] Checkin parameters: {
checkin =     {
iosbuild =         {
model = "iPhone9,3";
"os_version" = "IOS_13.5";
};
"last_checkin_msec" = 0;
type = 2;
"user_number" = 0;
};
digest = "";
fragment = 0;
id = 0;
locale = "en_IN";
"security_token" = 0;
"time_zone" = "Asia/Kolkata";
"user_serial_number" = 0;
version = 2;
}
2020-06-24 15:53:28.169829+0530 Frats[1447:472033] 6.25.0 - [Firebase/Installations][I-FIS001003] Request response received: <NSMutableURLRequest: 0x2827eaa00> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/ }, error: (null), body: {
"name": "projects/624030538768/installations/ewmAMZcAE0Lmvb5YY0f2yM",
"fid": "ewmAMZcAE0Lmvb5YY0f2yM",
"refreshToken": "2_nOxNSXI6RGdPUOL9qNzJncf3qiuTD88tlIOJD76gdYlX0tPlF2PEHtzE0lcs55us",
"authToken": {
"token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJmaWQiOiJld21BTVpjQUUwTG12YjVZWTBmMnlNIiwicHJvamVjdE51bWJlciI6NjI0MDMwNTM4NzY4LCJleHAiOjE1OTM1OTkwMDgsImFwcElkIjoiMTo2MjQwMzA1Mzg3Njg6aW9zOjhiZGUyNTRjNDZjNzI3MzhhNTdlOTUifQ.AB2LPV8wRQIgA7Kvb_3WNXU6dQjqGMMt6ipd4X0kdurZNjO5jR9rbUICIQCP7OTWPsnQVImn-tKxNFTdwZoXBMKIcoWHz3rw_fU6rw",
"expiresIn": "604800s"
}
}
.
2020-06-24 15:53:28.170054+0530 Frats[1447:472033] 6.25.0 - [Firebase/Installations][I-FIS001005] Parsing server response for https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/.
2020-06-24 15:53:28.170098+0530 Frats[1447:472033] 6.25.0 - [Firebase/Installations][I-FIS001007] FIRInstallationsItem parsed successfully.
2020-06-24 15:53:28.661161+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID007002] Invalid last checkin timestamp 2020-06-24 10:23:28 +0000 in future.
2020-06-24 15:53:28.661468+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID007003] Checkin successful with authId:<PHONE_NUMBER>307467606, digest: B31iZWZ68ECzqMNWatHAiA==, lastCheckinTimestamp:<PHONE_NUMBER>000
2020-06-24 15:53:28.661719+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID005004] Successfully got checkin credentials
2020-06-24 15:53:28.661879+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID008010] Checkin plist file is saved
2020-06-24 15:53:28.662168+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid";
svce = "com.google.iid.checkin";
}
2020-06-24 15:53:28.662379+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:28.662505+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:28.662698+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity:<PHONE_NUMBER>68, scope: *
2020-06-24 15:53:28.662803+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:28.662998+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:28.663161+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4936311995307467606&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&sender=624030538768&X-subtype=624030538768&appid=ewmAMZcAE0Lmvb5YY0f2yM&apns_token=s_49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632&gmp_app_id=1:624030538768:ios:8bde254c46c72738a57e95
2020-06-24 15:53:28.793116+0530 Frats[1447:472010] [] nw_resolver_start_query_timer_block_invoke [C12] Query fired: did not receive both families in time for device-provisioning.googleapis.com:443
Firebase registration token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
nil
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
"Remote InstanceID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6"
["device_token": "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6", "user_id": "5ea959d28ba9282cac24bf21", "domain": "nid", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "sub_domain": "in"]
"["device_token": "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6", "user_id": "5ea959d28ba9282cac24bf21", "domain": "nid", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "sub_domain": "in"]"
2020-06-24 15:53:29.009688+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6, authorizedEntity:<PHONE_NUMBER>68, scope:
2020-06-24 15:53:29.010055+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-06-24 15:53:29.010160+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID003008] Got default token ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
2020-06-24 15:53:29.010330+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:29.010438+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
======= Second time app restart log ========
2020-06-24 15:53:51.839827+0530 Frats[1451:472413]  - [I-ACS036001] Analytics screen reporting is disabled. UIViewController transitions will not be logged.
2020-06-24 15:53:51.978822+0530 Frats[1451:472409] 6.25.0 - [Firebase/Core][I-COR000001] Configuring the default app.
2020-06-24 15:53:51.979126+0530 Frats[1451:472409] 6.25.0 - [Firebase/Core][I-COR000033] Data Collection flag is not set.
"notification=true"
"granted"
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
Firebase registration token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
nil
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
"Remote InstanceID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6"
APNs token retrieved: 32 bytes
49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632
APNs token retrieved: SdcSXXAZCQ/3DHoKYKarhvZIw1kEr6vx2lVfJ2bFNjI=
["user_id": "5ea959d28ba9282cac24bf21", "device_details": {
"app_version" = "0.9.8";
"device_brand" = Apple;
"device_id" = "014C3393-261D-4169-84B8-A7137276FD15";
"device_lng" = en;
"device_manufacturer" = Apple;
"device_model" = iPhone;
"device_name" = iOS;
"device_os" = iOS;
"device_release_os" = "13.5";
"device_timestamp" =<PHONE_NUMBER>;
"device_ver" = "13.5";
"last_access_at" = "24/06/2020 15:53:52";
"package_id" = "app.frats.ios";
platform = ios;
token = "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6";
}, "domain": "nid", "sub_domain": "in"]
"http://<IP_ADDRESS>:5008/api/v0/update-device-details"
"["user_id": "5ea959d28ba9282cac24bf21", "device_details": {\n    "app_version" = "0.9.8";\n    "device_brand" = Apple;\n    "device_id" = "014C3393-261D-4169-84B8-A7137276FD15";\n    "device_lng" = en;\n    "device_manufacturer" = Apple;\n    "device_model" = iPhone;\n    "device_name" = iOS;\n    "device_os" = iOS;\n    "device_release_os" = "13.5";\n    "device_timestamp" =<PHONE_NUMBER>;\n    "device_ver" = "13.5";\n    "last_access_at" = "24/06/2020 15:53:52";\n    "package_id" = "app.frats.ios";\n    platform = ios;\n    token = "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6";\n}, "domain": "nid", "sub_domain": "in"]"
["domain": "nid", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "device_token": "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6", "user_id": "5ea959d28ba9282cac24bf21", "sub_domain": "in"]
"["domain": "nid", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "device_token": "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6", "user_id": "5ea959d28ba9282cac24bf21", "sub_domain": "in"]"
2020-06-24 15:53:52.183392+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.184045+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.185300+0530 Frats[1451:472425] 6.25.0 - [Firebase/Messaging][I-FCM002000] FIRMessaging library version 4.4.1
2020-06-24 15:53:52.185363+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:52.185461+0530 Frats[1451:472425] 6.25.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-06-24 15:53:52.185999+0530 Frats[1451:472425] 6.25.0 - [GoogleUtilities/AppDelegateSwizzler][I-SWZ001008] Successfully created App Delegate Proxy automatically. To disable the proxy, set the flag GoogleUtilitiesAppDelegateProxyEnabled to NO (Boolean) in the Info.plist
2020-06-24 15:53:52.186247+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.186392+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.186435+0530 Frats[1451:472425] 6.25.0 - [Firebase/InstanceID][I-IID003012] Provisioning profile has specifically provisioned devices, most likely a Dev profile.
2020-06-24 15:53:52.186480+0530 Frats[1451:472425] 6.25.0 - [Firebase/InstanceID][I-IID003013] APNS Environment in profile: development
2020-06-24 15:53:52.186551+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:3, status:Connected
2020-06-24 15:53:52.186597+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.186631+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.186711+0530 Frats[1451:472425] 6.25.0 - [Firebase/InstanceID][I-IID021000] Unregister request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4936311995307467606&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&delete=true&iid-operation=delete&sender=&appid=ewmAMZcAE0Lmvb5YY0f2yM
2020-06-24 15:53:52.186860+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:52.186942+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:52.186975+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2020-06-24 15:53:52.187005+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:3, status:Connected
2020-06-24 15:53:52.192636+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS024000] Debug mode is on
2020-06-24 15:53:52.192856+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS005000] The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
2020-06-24 15:53:52.193048+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60501000 started
2020-06-24 15:53:52.193156+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS023008] To disable debug logging set the following application argument: -noFIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-06-24 15:53:52.193775+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS023009] Debug logging enabled
2020-06-24 15:53:52.193942+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS023207] To enable verbose logging set the following application argument: -FIRAnalyticsVerboseLoggingEnabled (see http://goo.gl/RfcP7r)
2020-06-24 15:53:52.194190+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS002002] APMExperimentAlarm scheduled to fire in approx. (s): 13602.56989908218
2020-06-24 15:53:52.200792+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-06-24 15:53:52.201056+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS029014] Successfully parsed a configuration. Version:<PHONE_NUMBER>226288
2020-06-24 15:53:52.201119+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS023016] Analytics is ready to receive events
2020-06-24 15:53:52.204664+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.
2020-06-24 15:53:52.207207+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2020-06-24 15:53:52.207352+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-06-24 15:53:52.208175+0530 Frats[1451:472414] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-06-24 15:53:53.471735+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.472590+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.473133+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity:<PHONE_NUMBER>68, scope: *
2020-06-24 15:53:53.473652+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.475768+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.490021+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4936311995307467606&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&sender=624030538768&X-subtype=624030538768&appid=ewmAMZcAE0Lmvb5YY0f2yM&apns_token=s_49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632&gmp_app_id=1:624030538768:ios:8bde254c46c72738a57e95
2020-06-24 15:53:53.496313+0530 Frats[1451:472430] 6.25.0 - [Firebase/Installations][I-FIS001001] Sending request: <NSMutableURLRequest: 0x282f18870> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/ewmAMZcAE0Lmvb5YY0f2yM/ }, body:{}, headers: {
Authorization = "FIS_v2 2_nOxNSXI6RGdPUOL9qNzJncf3qiuTD88tlIOJD76gdYlX0tPlF2PEHtzE0lcs55us";
"Content-Type" = "application/json";
"X-Goog-Api-Key" = AIzaSyCjcmAKdYjYk8qClusEcWGkFgsMtyDwLr8;
"X-Ios-Bundle-Identifier" = "app.frats.ios";
"X-firebase-client" = "apple-platform/ios apple-sdk/17F65 fire-analytics/6.5.1 fire-db/6.2.1 fire-fcm/4.4.1 fire-fst/1.14.0 fire-iid/4.3.4 fire-install/1.2.0 fire-ios/6.7.1 swift/true xcode/11E608c";
"X-firebase-client-log-type" = 0;
}.
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA
"Remote InstanceID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA"
Firebase registration token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA
nil
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA
"Remote InstanceID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA"
["sub_domain": "in", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "device_token": "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA", "domain": "nid", "user_id": "5ea959d28ba9282cac24bf21"]
"["sub_domain": "in", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "device_token": "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA", "domain": "nid", "user_id": "5ea959d28ba9282cac24bf21"]"
2020-06-24 15:53:53.829115+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid-tokens";
svce = "624030538768:";
}
2020-06-24 15:53:53.829331+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA, authorizedEntity:<PHONE_NUMBER>68, scope:*
2020-06-24 15:53:53.829481+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-06-24 15:53:53.829601+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID003008] Got default token ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA
2020-06-24 15:53:53.829923+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.830049+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
"autoUpdatePushToken=["status": 200, "message": This device details Already Exist, push token updated]"
2020-06-24 15:53:54.341357+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS001003] Request response received: <NSMutableURLRequest: 0x282f18870> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/ewmAMZcAE0Lmvb5YY0f2yM/ }, error: (null), body: {
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}
.
2020-06-24 15:53:54.342175+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS001004] Unexpected API response: <NSHTTPURLResponse: 0x282d653c0> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/ewmAMZcAE0Lmvb5YY0f2yM/ } { Status Code: 404, Headers {
"Cache-Control" =     (
private
);
"Content-Encoding" =     (
gzip
);
"Content-Length" =     (
115
);
"Content-Type" =     (
"application/json; charset=UTF-8"
);
Date =     (
"Wed, 24 Jun 2020 10:23:54 GMT"
);
Server =     (
ESF
);
Vary =     (
Origin,
"X-Origin",
Referer
);
"alt-svc" =     (
"h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43""
);
"x-content-type-options" =     (
nosniff
);
"x-frame-options" =     (
SAMEORIGIN
);
"x-xss-protection" =     (
0
);
} }, body: {
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}
.
nil
2020-06-24 15:53:54.353550+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:54.356625+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID008009] Deleted checkin plist file.
2020-06-24 15:53:54.357457+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:54.375030+0530 Frats[1451:472420] 6.25.0 - [Firebase/Installations][I-FIS001001] Sending request: <NSMutableURLRequest: 0x282f18830> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/ }, body:{"appId":"1:624030538768:ios:8bde254c46c72738a57e95","fid":"coy3EavYjE3AlzTVmLZShc","authVersion":"FIS_v2","sdkVersion":"i:1.2.0"}, headers: {
"Content-Type" = "application/json";
"X-Goog-Api-Key" = AIzaSyCjcmAKdYjYk8qClusEcWGkFgsMtyDwLr8;
"X-Ios-Bundle-Identifier" = "app.frats.ios";
"X-firebase-client" = "apple-platform/ios apple-sdk/17F65 fire-analytics/6.5.1 fire-db/6.2.1 fire-fcm/4.4.1 fire-fst/1.14.0 fire-iid/4.3.4 fire-install/1.2.0 fire-ios/6.7.1 swift/true xcode/11E608c";
"X-firebase-client-log-type" = 0;
}.
2020-06-24 15:53:54.856975+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID007006] Checkin parameters: {
checkin =     {
iosbuild =         {
model = "iPhone9,3";
"os_version" = "IOS_13.5";
};
"last_checkin_msec" = 0;
type = 2;
"user_number" = 0;
};
digest = "";
fragment = 0;
id = 0;
locale = "en_IN";
"security_token" = 0;
"time_zone" = "Asia/Kolkata";
"user_serial_number" = 0;
version = 2;
}
2020-06-24 15:53:55.250322+0530 Frats[1451:472435] 6.25.0 - [Firebase/Installations][I-FIS001003] Request response received: <NSMutableURLRequest: 0x282f18830> { URL: https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/ }, error: (null), body: {
"name": "projects/624030538768/installations/coy3EavYjE3AlzTVmLZShc",
"fid": "coy3EavYjE3AlzTVmLZShc",
"refreshToken": "2_ApQXLr3FoV0vS-yiOsGo1R4MsUGWiM7Z3afXJHZwrxyoYz2MlaPFWQdm-6kY7y7V",
"authToken": {
"token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJmaWQiOiJjb3kzRWF2WWpFM0FselRWbUxaU2hjIiwicHJvamVjdE51bWJlciI6NjI0MDMwNTM4NzY4LCJleHAiOjE1OTM1OTkwMzUsImFwcElkIjoiMTo2MjQwMzA1Mzg3Njg6aW9zOjhiZGUyNTRjNDZjNzI3MzhhNTdlOTUifQ.AB2LPV8wRAIgXcgOXqXFzWctEjwQNvtTNgTypJu01rCDpcfBq5bqGQsCIGqUdpOEVC2WewtsOs3ofcrPxHK3-EEeFvRDNNGjKooc",
"expiresIn": "604800s"
}
}
.
2020-06-24 15:53:55.250460+0530 Frats[1451:472435] 6.25.0 - [Firebase/Installations][I-FIS001005] Parsing server response for https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/.
2020-06-24 15:53:55.251636+0530 Frats[1451:472435] 6.25.0 - [Firebase/Installations][I-FIS001007] FIRInstallationsItem parsed successfully.
2020-06-24 15:53:55.629357+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID007002] Invalid last checkin timestamp 2020-06-24 10:23:55 +0000 in future.
2020-06-24 15:53:55.629660+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID007003] Checkin successful with authId:<PHONE_NUMBER>561588552, digest: jg5/yBnZN8j+Oj9VzGOfoQ==, lastCheckinTimestamp:<PHONE_NUMBER>000
2020-06-24 15:53:55.629868+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID005004] Successfully got checkin credentials
2020-06-24 15:53:55.629997+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID008010] Checkin plist file is saved
2020-06-24 15:53:55.630108+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid";
svce = "com.google.iid.checkin";
}
2020-06-24 15:53:55.630275+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:55.630393+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:55.630544+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity:<PHONE_NUMBER>68, scope: *
2020-06-24 15:53:55.630643+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:55.630783+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:55.630889+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=5017561175561588552&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&sender=624030538768&X-subtype=624030538768&appid=coy3EavYjE3AlzTVmLZShc&apns_token=s_49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632&gmp_app_id=1:624030538768:ios:8bde254c46c72738a57e95
Firebase registration token: coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz
nil
Remote instance ID token: coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz
"Remote InstanceID token: coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz"
["user_id": "5ea959d28ba9282cac24bf21", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "domain": "nid", "device_token": "coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz", "sub_domain": "in"]
"["user_id": "5ea959d28ba9282cac24bf21", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "domain": "nid", "device_token": "coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz", "sub_domain": "in"]"
2020-06-24 15:53:56.009431+0530 Frats[1451:472426] 6.25.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz, authorizedEntity:<PHONE_NUMBER>68, scope:
2020-06-24 15:53:56.009773+0530 Frats[1451:472426] 6.25.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-06-24 15:53:56.009881+0530 Frats[1451:472426] 6.25.0 - [Firebase/InstanceID][I-IID003008] Got default token coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz
2020-06-24 15:53:56.010142+0530 Frats[1451:472426] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:56.010250+0530 Frats[1451:472426] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
"autoUpdatePushToken=["message": This device details Already Exist, push token updated, "status": 200]"
2020-06-24 15:54:27.038986+0530 Frats[1451:472394] [BackgroundTask] Background Task 1 ("Called by Frats, from $s5Frats17MyPointsViewModelC14startTimerTaskyyF"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.

@vinod1988 Thank you for the provided log.
@chliangGoogle I can see IID unregister requests in the log that most likely lead to invalidation of FID on the server, so FIS SDK receives 404 response on an attempt to update the Installation auth token and resets FID (see log entries with 6.25.0 - [Firebase/InstanceID][I-IID021000] Unregister request to...). I'll try to understand why the unregister requests are sent.

@vinod1988 It looks like the method -[FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:] may be called by the application some time after Firebase configuration. I think so because I cannot find traces (log entries and corresponding request parameters) in the logs, but I may miss something.
Could you please confirm if your app is calling -[FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:] method?

@chliangGoogle Another potentially wrong thing I can see is that FIS should not be deleted when scope="" which is a potential server issue.

@maksymmalyhin I think we trigger the token deletion at the beginning when detect it's a fresh install but old checkin preferences exist, so we will send request to delete checkin and tokens: https://github.com/firebase/firebase-ios-sdk/blob/master/Firebase/InstanceID/FIRInstanceIDStore.m#L168
But this should only happen during app fresh install which is fine. There should not happen during second app open ( I can't reproduce this).
Then I notice this error: [Firebase/InstanceID][I-IID008009] Deleted checkin plist file.
Meaninig at some point we delete checkin file, which explain why we reset tokens during second app open.
Now i'm trying to figure out why checkin plist file is deleted (basically some where trigger deleteIdentity call in InstanceID).
@maksymmalyhin I noticed installations has as Requested entity was not found. error before that, would something like that trigger identity deletion?
@vinod1988 Looks like you got an "Requested entity was not found" error, can you double check your GoogleService-Info.plist file is up to date? Are you using an invalid plist file whose project is already deleted on the console?

@maksymmalyhin and @chliangGoogle Thanks for your response.
I will implement the -[FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:] in my application and will test it. If i found the bug again i will share the log same as well. If i am not wrong this method will be handle by the firebase SDK itself. Why we give this method call to end user application.
Also what is the time limit of FCM token expiration?

@vinod1988 I think what @maksymmalyhin asks is if you have already called  -[FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:] method in your code.
We are not sure if it's handled by SDK itself because we do not see "@"App reset detected. Will delete server registrations." log in your debug log. Can you also double check that?

@chliangGoogle and @maksymmalyhin
I have just cross check my code and found already the delete token and register new token methods added.
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

let instance = InstanceID.instanceID()
      instance.deleteID { (error) in
          print(error.debugDescription)
      }

InstanceID.instanceID().instanceID { (result, error) in
        if let error = error {
            print("Error fetching remote instange ID: \(error)")
         } else if let result = result {
            print("Remote instance ID token: \(result.token)")
        }
    }

}

@vinod1988 It's great you found it. instance.deleteID {...} is the method that triggers FCM token deletion. If you remove it, FCM token should stay the same between app launches. Could you please remove  the call instance.deleteID {...} and test again? Please let us know the results.

@maksymmalyhin Thanks for your suggestion. Now its working as expected. I removed instance.deleteID {...} this in app now the same token is coming on every app restart.
Let test it few days more if this work we will close this. If any bug we will continue the discussion here.

Going to close this since there hasn't been any activity in the last few days, but please re-open if you're still seeing issues. Thanks!


update to param names in implicit methods

All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[ ] Include updated management metadata.
[ ] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.

If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.

Note: We have recently updated the PSH module called by generate.ps1 to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:
  `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

API changes have been detected in Azure.Core. You can review API changes here
API changes
-         public static implicit operator AzureLocation(string other);
-         public static implicit operator string(AzureLocation other);
+         public static implicit operator AzureLocation(string location);
+         public static implicit operator string(AzureLocation location);
-         public static implicit operator ResourceType(string other);
-         public static implicit operator string(ResourceType other);
+         public static implicit operator ResourceType(string resourceType);
+         public static implicit operator string(ResourceType resourceType);


As a marketing analyst, I want to know All the capital cities in the world organised by largest population to smallest to to consider global outreach.

Identify the relevant tables and columns from the world database.
Create and run the SQL query to get all capital cities, their population, and the country they belong to, organized by population in descending order
Review and validate the results.

completed


Create Regex from String to prevent crash in replace #185

This seems to fix #185 for me. I haven't done much Ruby programming recently and am not familiar with the shopify_theme codebase, so it definitely needs review.

+1


scipy.signal.stft (and istft)

STFT plays a vital role in audio/ speech signal processing, and it would be nice to have jax-version of scipy.signal.stft function.
As Jax already has auto-differentiable FFT and conv1d, it can be basically a utility function that combines those two.
It would be nice if we can have SciPy-compatible STFT function in Jax.

Hey you can use some old audio prepro i created (librosa compatible) https://github.com/machineko/jaxaudio/blob/7320a4ecd8f267e206c36be3551f919faa08d3b0/jax_audio/utils/audio_utils.py#L128
To be compatible with scipy you could just need to implemented scaling (i think its only difference outside method arguments that can be renamed) Feel free to use it or if u have time to reimplement it into core jax repo

Hi machineko,
Thanks for the pointer.
Yes, as you showed in the example, implementation of STFT shouldn't be that complicated.
So, my the request here is more about asking whether Jax team is comfortable with having STFT implementation in the repo.
It's nice to have a standard place where we can merge our efforts, especially because STFT is a part of scipy.signal.

I don't know of any work on this, but I think the JAX team would be happy to accept a contribution of a wrapper for scipy.signal.stft within jax.scipy.signal

@jakevdp Are jax functions should mimic scipy fully?
Or can we make some more modern approach for that (and dont follow full scipy convention for example change convention of outputs/inputs?)

If JAX functions are named like jax.scipy.XYZ they should try to mimic the scipy API. If they diverge, then that's fine, but they should be called something else.

I was looking to implement api compatible with both librosa and scipy (with some mode parameter and limited functionality) but with more "librosa like" input and output convention (not creating freq and time https://github.com/scipy/scipy/blob/47bb6febaa10658c72962b9615d5d5aa2513fa3a/scipy/signal/spectral.py#L1852 )
also using auto-calculate padding with base reflect mode (in scipy this is manual with boundary mode)
But i can agree it shouldn't be call scipy.sftf as it wouldn't mimic all of the scipy functions, so maybe just jax.sftf?

Hi @machineko, and @hawkinsp,
I think having the extra outputs in "scipy.stft" is not significan because JIT can effectively omit computation of those if we just didn't use those outputs.
And, "reflect"-paddings in librosa are implemented in scipy.stft too when boundary="even" is provided.
So, overall, I prefer strictly maintaining scipy.stft interface if we are to put the code in Jax repo.
Here's a proposal PR.
https://github.com/google/jax/pull/9422
Any feedbacks are welcome!

Any chance we also get scipy.signal.istft?  Or I'd be happy to receive pointers on how one can make a jitable implementation. The output array is dependent on the function parameters so the usual approaches result in a TracerIntegerConversionError. For the stft you get around this by using jax.lax.conv_general_dilated_patches, but I'm not sure what the equivalent function would be for an istft implementation.

I looked into this.
It might be less computationally efficient, but overlap-sum can be done with dilated convolution and a kernel that represents time-shift.
I wrote a (not-working-yet) initial version using this strategy: https://github.com/yotarok/jax/blob/istft/jax/_src/scipy/signal.py#L580
Hopefully, I can fix the current glitches, and create a PR containing this, soon.

Sent the PR.
I found that the method I proposed above (with dilated convolution) was not scalable to realistic sizes of input signals.
Instead, I used a for-loop that will be iterated depending on the overlap ratio.
While this also has an inefficiency when overlap ratio is very high, I believe this is okay for common use cases.

I haven't thought about this in any detail, but the TF implementation has another implementation that may be worth looking at also:
https://github.com/tensorflow/tensorflow/blob/87462bfac761435a46641ff2f10ad0b6e5414a4b/tensorflow/python/ops/signal/spectral_ops.py#L157
and
https://github.com/tensorflow/tensorflow/blob/87462bfac761435a46641ff2f10ad0b6e5414a4b/tensorflow/python/ops/signal/reconstruction_ops.py#L28

Thanks Peter, TF's implementation looks better than the for-loop-based one.
I implemented the utility function following this way, and updated the PR.


brew instruction to install launchd service is wrong

Thank you for adding socket_vmnet to brew, I just tried installing it and seems to be installed but the instructions to add launchd service is wrong (when I run with sudo it dosnt work) I think it needs to be run without sudo
==> Caveats
To install an optional launchd service, run the following command (sudo is necessary):
sudo brew services start socket_vmnet

socket_vmnet is keg-only, which means it was not symlinked into /opt/homebrew,
because /opt/homebrew/bin is often writable by a non-admin user.

If you need to have socket_vmnet first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/socket_vmnet/bin:$PATH"' >> /Users/medya/.bash_profile

To restart socket_vmnet after an upgrade:
  brew services restart socket_vmnet

here is when I try to it with an without sudo
$ sudo brew services start socket_vmnet
sudo: brew: command not found

$ brew services start socket_vmnet
==> Tapping homebrew/services
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-services'...
remote: Enumerating objects: 2233, done.
remote: Counting objects: 100% (167/167), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 2233 (delta 120), reused 112 (delta 105), pack-reused 2066
Receiving objects: 100% (2233/2233), 614.54 KiB | 1.84 MiB/s, done.
Resolving deltas: 100% (1000/1000), done.
Tapped 1 command (45 files, 773KB).
==> Successfully started `socket_vmnet` (label: homebrew.mxcl.socket_vmnet)
10:45:20 medya/workspace/minikube

sudo: brew: command not found

PATH has to be set, obviously

brew services start socket_vmnet

I guess the daemon is dying immediately, or at least is it not functional when sudo is omitted?


[jvm-packages] fix compatibility problem of spark version

I found that VectorAssembler. setHandleInvalid,  which used in MissingValueHandlingSuite.scala,
is newly added in spark_2.4.
So, I tried to replaceVectorAssembler by creating DenseVector directly.

I don't think I would agree with the changes here

first of all, we officially only support Spark 2.4+ now,

second, when we write tests, we should simulate user's behavior with the best effort. With this principle, we should not skip vector assembler

skip vector assembler is risky to bring hard-to-notice inconsistency, e.g.https://github.com/dmlc/xgboost/pull/4411/files#diff-76870d19095de7c9de6d6c703efe2346R56, if you produce this vector with vector assembler, it cannot be a dense one

I don't think I would agree with the changes here

first of all, we officially only support Spark 2.4+ now,
second, when we write tests, we should simulate user's behavior with the best effort. With this principle, we should not skip vector assembler
skip vector assembler is risky to bring hard-to-notice inconsistency, e.g.https://github.com/dmlc/xgboost/pull/4411/files#diff-76870d19095de7c9de6d6c703efe2346R56, if you produce this vector with vector assembler, it cannot be a dense one

So, I reverted the  vectorAssembler. And call setHandleInvalid by runtime reflection only when spark >= 2.4, so as to keep this Suite compatible with earlier version.

merged, thanks