primordic/IssueDupesLite huggingface dataset:
Repository: zerotier/ZeroTierOne

Issue #1068: Tray Icon disappears after reboot (Windows 10, 1903)
Created: 2019-10-27T14:01:17Z
Describe the bug
I installed ZeroTier One (1.4.6) on my Windows 10 machine (1903) and joined my network.
I also set the "start with windows" option in the preferences. Directly after the installation the tray icon worked just as expected.
After rebooting the system, the tray icon appeared for a few seconds and then vanished. When manually starting "ZeroTier One.exe", the tray icon also appears for a few moments just to disappear again.
When manually killing "zerotier-one_x64.exe" via task manager and restarting ZeroTier One, the tray icon appeared again, but it did neither show the node ID nor my network. The task icon also disappears/crashes when trying to open the preferences. This issue seems to be related to the stopped ZeroTierOneService, which is stopped when killing the application but is not restarted again when restarting "ZeroTier One.exe". After starting the ZeroTierOneService again the same issue as described above reappeared.
To Reproduce
Steps to reproduce the behavior:

Install zerotier-one
Join network and set start with windows (not sure, whether this is necessary)
Reboot system
See disappearing/missing tray icon

Expected behavior
After rebooting the system I expect the ZeroTier One tray icon to be available just like after the fresh install to manage all the zero-tier related settings.
Screenshots
The cli works just fine, but there is no tray icon:

After I killed ZeroTier via task manager and restart it, the tray icon is basically broken - no node ID and an empty list of networks. This is propably due to the Service not being restarted properly as mentioned earlier:

Here is a short clip of what happens, when I try to manually start ZeroTier One (with the service running):

Desktop (please complete the following information):

OS: Windows
OS/Distribution Version: 10, Update 1903
ZeroTier Version: 1.4.6
Hardware: Ryzen 5 3600, MSI B450 Gaming Pro Carbon AC

Duplicate issue #1037: ZeroTierOne 1.4.6 not opening
Created: 2019-09-15T11:56:54Z
im at windows 7 and it dont open,it shows in windows+r taskmgr but it dont opens

Closing comment (2019-12-17T18:59:16Z): Duplicate of #1068
Repository: zerotier/ZeroTierOne

Issue #526: Improve ability to measure and audit direct connectivity and efficiency on a network
Created: 2017-06-14T17:12:01Z
Just food for thought as I have noticed as the network grows, it starts getting harder and harder to make sure that all the nodes are connected correctly (direct).
I was thinking that if you had a flag or even set it as the default to do reverse DNS checks on the IP's and any which does have rDNS (most/all should if your good) then it should display these instead.
The reasoning behind my thinking is that most people set the reverse to the machines fqdn so you will know what machine or network has a problem.  I found after you get quite a few machines (about 20+ or so servers), it starts getting confusing whether X IP is one of your servers and what server it is or if its one of yours.  If its yours then it means its likely gone via relay which IMO are very unreliable as they either work good with no loss and fairly decent speeds or really bad where massive packet loss to the point that your whole network then becomes unusable.  I will be fixing mine soon by adding more and more moons which should help the finding of the nodes and after that I plan to add my own controller/relay then PL etc will be a thinking of the past.
This change is minor but would save heaps of time when diagnosing connections.
Or you could just add it to the output to show both IP and rDNS but I suspect that may break other scripts/things so maybe a new flag would be the better route.
Just my two cents.
Regards,
Simon

Duplicate issue #924: peer discovery status
Created: 2019-03-02T11:25:04Z
Is your feature request related to a problem? Please describe.
I'm always frustrated when I am unsure if all the peers are ready (and reachable). This will be of immense help to fix problems of nodes.
Describe the solution you'd like
When running zerotier-cli status it can output:
15 out of 40 peers online
10 out of 40 peers are direct

When running zerotier-cli listplanets it can output:
5 out of 15 reachable
Describe alternatives you've considered
May be parse the json output from #919
Additional context
Alternatively, a new commandline switch:
$ zerotier-cli status 'another nodeID'
200 listpeers e3b0e3e4ee 1.2.12 DIRECT 147.75.38.119/9993


$ zerotier-cli status 'another nodeID'
200 listpeers e3b0e3e4ee 1.2.12 RELAY   147.75.38.119/9993

Closing comment (2019-08-14T20:08:33Z): Marking as dupe of #526
Repository: zerotier/ZeroTierOne

Issue #308: High CPU usage on Windows 64 bit with Hyper-V enabled
Created: 2016-02-21T20:37:56Z
Not sure if related to #277, but on my desktop, installing ZeroTier One caused the system process (not ZeroTier itself) to use 30%~ CPU constantly and slowed things to a crawl. Uninstalling ZeroTier One resolves this. Strangely enough, on my laptop this doesn't happen.
The main difference between the two machines is I have Hyper-V enabled on my desktop but not my laptop. Maybe try reproducing with Hyper-V and a few Virtual Switches set up? Seems like that might have a chance to conflict with ZeroTier's networking stack.
Let me know if you need any more information.

Duplicate issue #387: Windows sleep causes crash, can't uninstall
Created: 2016-09-13T13:29:25Z
Ongoing issues from a prior attempt to bridge connections in Windows which I reported here:
https://www.zerotier.com/community/topic/54/bridging-zerotier-and-ethernet-causes-persistent-failure/10
I've left ZeroTier uninstalled since then, but had to reinstall for some remote management purposes yesterday. Here are the resulting problems:

Trying to sleep shuts down the machine entirely, it doesn't enter sleep mode.
Can't uninstall ZeroTier in normal windows mode, it just hangs right at the start. I had to reboot into safe mode, manually start the windows installer service, then uninstall ZeroTier. Computer now properly sleeps.

If there is any data you need from my machine to analyze this issue, please let me know. I've tried the bridging described in that forum post on Windows 7 and Windows 10 on the same hardware, and both of them failed and caused problems on the machine afterwards. Windows 7 got borked which is why I upgraded to Windows 10 at the time, only to have the issue recur.

Closing comment (2016-09-13T22:30:44Z): Was there any other network-related or virtualization software installed? HyperV, Parallels, OpenVPN, Hamachi, etc.?
I wonder if this is in any way related to #308 or #357 -- neither of which we have been able to reproduce here. :(
Repository: zerotier/ZeroTierOne

Issue #982: high cpu usage after the version 1.4.0 update
Created: 2019-07-31T03:12:16Z
On raspberry pi running raspbian,
uname -a 
Linux raspberrypi 4.19.58-v7l+ #1245 SMP Fri Jul 12 17:31:45 BST 2019 armv7l GNU/Linux

Before, the zerotier-one process hardly uses more than 5% cpu; after the 1.4.0 update, the cpu usage is almost always around 10% (even after zerotier-cli  leave <id> so that there's no connection). Anything changed that may be a cause for this, and is there something I can do to reduce the cpu usage? Thanks!

Duplicate issue #991: Short sleep due to typo in FileDB.cpp causes 100% CPU on virtual host
Created: 2019-08-03T15:22:48Z
Describe the bug
In controller/FileDB.cpp there is a hot loop with 100 microseconds of sleep. When running a controller in a QEMU based virtual machine, the short sleep causes high system load due to context switching.
controller/FileDB.cpp:75
    _onlineUpdateThread = std::thread([this]() {
            unsigned int cnt = 0;
            while (this->_running) {
                    std::this_thread::sleep_for(std::chrono::microseconds(100));
                    if ((++cnt % 20) == 0) { // 5 seconds

Judging by the "5 seconds" comment, this should be chrono::milliseconds(100) instead of chrono::microseconds(100). Replacing the interval with std::chrono::milliseconds(100) solves the problem.

Closing comment (2019-08-03T20:31:36Z): Seems to be a duplicate of #982 . Closing.
Repository: zerotier/ZeroTierOne

Issue #379: install.zerotier.com script / packages will not install on Linux Mint
Created: 2016-08-18T17:54:43Z
Or at least some versions...
Technically this is an install.zerotier.com / packaging problem, not a bug in the code at all.

Duplicate issue #400: Cannot install 1.1.14 on elementaryOS Freya (Ubuntu 14.04 LTS-based)
Created: 2016-10-10T07:12:17Z
I currently have 1.1.4 installed which was installed pre-quick-installer. I have now installed the new repo via the quick installer but the new version it's trying to pull in (1.1.14) has unmet dependencies:
# aptitude install -V zerotier-one
The following NEW packages will be installed:
  liblz4-1{a} [0.0~r114-2ubuntu1]  libnatpmp1{a} [20110808-3ubuntu2]  
The following packages will be upgraded:
  zerotier-one{b} [1.1.4 -> 1.1.14]  
1 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 277 kB of archives. After unpacking 66,6 kB will be freed.
The following packages have unmet dependencies:
 zerotier-one : Depends: libstdc++6 (>= 4.9) but 4.8.4-2ubuntu1~14.04.3 is installed.
                Depends: init-system-helpers (>= 1.18~) but 1.14 is installed.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     zerotier-one                

Accept this solution? [Y/n/q/?]

# lsb_release -a -u
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04 LTS
Release:    14.04
Codename:   trusty

# cat /etc/apt/sources.list.d/zerotier.list 
deb http://download.zerotier.com/debian/jessie jessie main

The current version of init-system-helpers in trusty is 1.14, see http://packages.ubuntu.com/trusty/init-system-helpers.
Is Ubuntu 14.04 no longer supported?

Closing comment (2016-11-29T18:44:51Z): In which case this is a dupe of #379 ? (or 379 is a dupe of this)

This is an issue with https://github.com/zerotier/install.zerotier.com rather than this repo.
Repository: zitadel/zitadel

Issue #2943: Virtual Instance per customer
Created: 2022-01-07T07:29:33Z
We want to enable our customers to get a full ZITADEL instance for themself. Also they should be able to configure their own domains, smtp, sms gateway, etc..
Implementation in ZITADEL Backend

 #3056
 #3214
 #3057
 #3058
 #3059
 #3060
 #3063
 #3181
 #3223
 #3224
 #3225
 #3222
 #3146
 #3061
 #3062
 #3331
 #3332
 #2415



 #2986
 #2987
 #2988
 #3335

Duplicate issue #2984: Additional layer above the current system
Created: 2022-01-12T09:41:35Z
To be able to handle a virtual ZITADEL instance for each customer, we need a level above the admin api, where we can manage more than one ZITADEL instance.

 #3061
 #3062

Closing comment (2022-03-23T14:51:24Z): tracked in #2943
Repository: zitadel/zitadel

Issue #2293: E2E: Remove flakiness and activate implemented tests
Created: 2021-09-01T08:01:08Z
Critical white spots should be implemented with e2e tests

Duplicate issue #4131: Unskip e2e tests
Created: 2022-08-05T14:43:07Z
Improve e2e coverage by not skipping tests and make them pass.
Acceptance criteria

 There are no skipped tests
 Test runs are successful
 Test results are deterministic

Closing comment (2022-08-23T13:31:31Z): Duplicate of #2293
Repository: zitadel/zitadel

Issue #4373: SAML Groups/Roles
Created: 2022-09-14T17:56:02Z
On Discord I asked for having Roles in the SAML IDP implementation.
"I've tried to setup Zitadel as IDP for Rancher as SP by using it's Keycloak SAML implementation, seems Rancher requires a Groups field, the SamlResponse from Zitadel doesn't include that: zitadel/saml/.../attributes.go:59 are there plans to add a "Roles/Groups" Field? "
As discussed in a call with @stebenz I'll provide a SamlResponse that includes them.

Duplicate issue #2485: [Docs]: Concept of claim mapping
Created: 2021-10-05T16:37:17Z
We should explain the concept of inbound (external attributes to internal data model) and outbound claim mapping, optimally with a short example. Audience could be Solution Architect.

Closing comment (2023-01-04T13:41:09Z): Maybe related to: #4373
Repository: zitadel/zitadel

Issue #5361: [Bug]: No robots.txt
Created: 2023-03-05T13:24:43Z
Preflight Checklist

 I could not find a solution in the documentation, the existing issues or discussions
 I have joined the ZITADEL chat

Environment
Self-hosted
Describe the bug
If I look at the Google Search Console, it seems like Google tries to index a lot of auth requests. This is completely unnecessary.
To reproduce
Setup a Zitadel instance, visit the Instance and check if a robots.txt is there: 404 page not found
Screenshots
No response
Expected behavior
A robots.txt which blocks crawler from indexing e.g. auth requests
Version
No response
Operating System
No response
Relevant Configuration
No response
Additional Context
No response

Duplicate issue #5632: [Bug]: Missing robots.txt when using custom domain (cname)
Created: 2023-04-07T09:27:59Z
Preflight Checklist

 I could not find a solution in the documentation, the existing issues or discussions
 I have joined the ZITADEL chat

Environment
ZITADEL Cloud
Describe the bug
We have configured a CNAME for our production environment. Unfortunately due to missing robots.txt, google is indexing our login page, which should not be the case. Attached you will find a screenshot of the google search result.
To reproduce

Create an environment with CNAME configured
Integrate it with a frontend application
Google is indexing your page + login page

Screenshots

Expected behavior
Search engines should not be permitted to index the login page. This can be achieved by configuring the robots.txt file or sending the X-Robots-Tag: noindex header.
Version
Cloud
Operating System
irrelevant
Relevant Configuration
No response
Additional Context
No response

Closing comment (2023-04-13T05:41:18Z): @hifabienne, maybe a duplicate of #5361? You can assign that issue to me if you want. I'll work on it in parallel with my current assignments
Repository: zitadel/zitadel

Issue #5101: [Epic]: Action possibility on each event and api request
Created: 2023-01-25T08:48:30Z
We have created a new issue for this topic. Please have a look here: #7235
As a developer, I want to be able to create an action with custom code on each event and api request that can happen in ZITADEL, so that I am able to implement custom workflows.
Acceptance criteria

 I am able to add an action to an event
 I can define when it should trigger (pre, post event)
 I am able to add an action to an api request
 I can define when the action should trigger on the request (request, response, etc)
 I am able to access the affected object of the event and be able to manipulate it in the action
 I am able to create an action that can be run on multiple events or on aggregates, e.g log to stdout on each event

https://docs.google.com/document/d/1Y4p1lXE6-4NQa7rcz6bF1PQteZ1E50ZXtDEtxowcSVk/edit#heading=h.s5bnox1o985j
Tasks
Phase 1

 #5551
 #5552
 #5553
 #5554
 #5555
 #5556

Phase 2

 Enrich context with more information (caller, command, apicall, ....) (5-10d)
- I want to have more infos on the context, so i have them available in the actions
 Validate metadata of events (e.g. ensure that instance id is never changed, ...) (5d)
- Event fields itself
 field validation of events on push (and first define how to validate proto validations, prepare functions, ...) (20d)
- Validate that they dont fuck up events, fields of event itself
- Body of event
 Document events (15-20d)
- As a dev I need to know what events are, what events zitadel has and what they do and the body, so i am able to write my actions
- How do we want to document? Generate?
 Implement terraform provider new action api and definition (5d)
 change examples for new action api and definition, action repository (5d)
 configure exclusions, define read only events (5d)
- Events that should not be manipulated (e.g change password)
 end2end tests (basic testing of proper working of actions, security, ) (10-15d)
 documentation of concept (5-10d)

Duplicate issue #6212: [Improvement] Post update user hook
Created: 2023-07-16T23:52:40Z
Preflight Checklist

 I could not find a solution in the existing issues, docs, nor discussions
 I have joined the ZITADEL chat

Describe your problem
I would like to access event when i.e. name is changed, email verified, avatar uploaded in action, so that i can do api call to further work with the data.  I dont see any way of doing it right now.
Describe your ideal solution
Pre / post hook to almost everything. In this usecase:
Post update user data, my main interest is avatar, all names
action then can do api call to check profanity in images and names and do replace it with *** and remove avatar + email notifying about profanity.
Version
ghcr.io/zitadel/zitadel:846ddd4ee47545dc87c9620853c11f9900e4fe3a
Environment
Self-hosted
Additional Context
No response

Closing comment (2023-08-24T06:11:20Z): I will close this issue, as it is included in the issue above, to avoid duplicates
--> #5101
Repository: zitadel/zitadel

Issue #8931: Notification Handling
Created: 2024-11-19T13:15:30Z
The current handling of notification follows the same pattern as all other projections:
Created events are handled sequentially (based on "position") by a handler. This leads to back pressure on the projection since the handling of events might take longer than the time before a new event (to be handled) is created.
To parallelize the process of notifications we want to change the following:

  Notifications are created as separate events on a notification aggregate
 Notification workers query for unhandled notifications

 eventstore needs to provide a mechanic for that ("not in")


 Notification workers process the notification event

 workers need to be able to lock their processing rows / events
 Every successful event dual writes success events (user / session event and the notification success event)
 a failure creates a notification failed event


 The current notification handler needs to be changed from sending notifications to creating the corresponding notification events for the workers

Duplicate issue #8932: parallel handling of notifications
Created: 2024-11-19T13:18:03Z
Preflight Checklist

 I could not find a solution in the existing issues, docs, nor discussions
 I have joined the ZITADEL chat

Describe your problem
Notifications currently are sent out sequentially per instance. This can lead to incremental delivery times of notifications if providers take long to acknowledge the send request.
Describe your ideal solution
As a system administrator I would expect that multiple messages can be sent out in parallel so that the delivery times do not pile up.
Version
v2.65
Environment
ZITADEL Cloud
Additional Context
No response

Closing comment (2024-11-19T13:19:45Z): duplicate of #8931
Repository: zitadel/zitadel

Issue #4912: Inform users about password change
Created: 2022-12-21T10:35:14Z
As an end user of ZITADEL I want to get an information mail about a password change, so I find out if anyone else is changing my password.
Acceptance criteria

 I get an email if the password of my users is changed in my users languages
 I want to be able to define the text of the email on an instance and organization level
 I want to be able to enable and disable to send the password change email on an instance or organization level
 If it is enabled user should get an email when password has changed
 If it is disabled user should get no email when password has changed
 I am able to get the email in all the existing languages of ZITADEL

Additional Information
BSI cloud computing compliance (C5) - PSS-05
In the future I want to be able to trigger more emails like on add mfa method, add passkey, etc. Please consider this for the implementation.
#2162 (reply in thread)

Duplicate issue #4653: Inform users about password change
Created: 2022-11-04T09:35:43Z
BSI cloud computing compliance (C5) - PSS-05:
The user is informed about changing or resetting the password
Today, a user is being notified when the password was reset, but not when the password was changed.
Acceptance criteria

 When a password was changed, then the corresponding user receives an email informing about that change

Considerations

Discussion: 2/ Inform users/managers of sensitive actions

Closing comment (2022-12-23T14:20:11Z): As we start with SCRUM in Janaury I have created a user story for this task.
Feel free to track the following issue, as we close this one to avoid duplicates: #4912
Repository: zitadel/zitadel

Issue #4393: Increase maintainability for translations
Created: 2022-09-16T13:50:38Z
Description
We should increase maintainability for translations, which includes checking if unused translations exist in the language files and used translations that don't exist (anymore) in the language files.
Could be solved by using some sort of linter or plugin, maybe check this (provided by @mffap) as well.
Acceptance criteria

 Find unused translations
 Find translation used but not provided
 Maybe a plugin for IDE or similar to check while coding?

Duplicate issue #5072: Clean up translation files
Created: 2023-01-18T11:56:02Z
As a translator of ZITADEL, I want have a correct list of keys I have to translate so that I don't have to figure out which texts are in use and which are already outdated.
Acceptance criteria

 clean files in internal/static/i18n/*
 clean files in internal/api/ui/login/static/i18n/

Closing comment (2023-02-13T08:58:47Z): duplicate of #4393?
Repository: zitadel/zitadel

Issue #6763: add baseUrl for proxy on sub path to zitadel.
Created: 2023-10-20T04:07:49Z
Preflight Checklist

 I could not find a solution in the existing issues, docs, nor discussions
 I have joined the ZITADEL chat

Describe your problem
add baseUrl settings to zitadel to prefix all api paths.
it is very useful feature to have a setting for baseUrl,
all of modern web services have this settings.
Describe your ideal solution
i want to add zitadel in the back of proxy based on path prefix:
mycompany.com/zitadel --> zitadel backend service
but zitadel doesn't  support this feature: #6757 (reply in thread)
Version
No response
Environment
Self-hosted
Additional Context
No response

Duplicate issue #7835: Allow configuration of a relative path for zitadel endpoints
Created: 2024-04-23T13:45:07Z
Preflight Checklist

 I could not find a solution in the existing issues, docs, nor discussions
 I have joined the ZITADEL chat

Describe your problem
Whilst migrating from keycloak to zitadel I noticed that zitadel does not have the possibility to configure a relative path for the zitadel endpoints.
I asked if it was possible to add a prefix on the zitadel discord, and after being told it wasn't I was asked to create this improvement issue.
In my hosting set up for my app I have an nginx reverse proxy which passes certain paths through to certain docker containers.
I.e. /services/backend gets forwarded to http://backend:8080.
In keycloak it was possible to set the following environment keys to configure the relative paths for the keycloak endpoints (too many config vars in my opinion):
KC_HOSTNAME_ADMIN_URL
KC_HOSTNAME_BASEPATH
KC_HOSTNAME_FRONTEND_URL
KC_HOSTNAME_URL
KC_HTTP_RELATIVE_PATH

This meant I could proxy /services/keycloak to http://keycloak:8080 and all of the relative links on the keycloak side would still work.
To get zitadel working in my reverse proxy set up I needed to add multiple location passes, one for each of the desired endpoints. This could be problematic for other users as it means those paths can't be used by other applications.
While it might be possible to configure the reverse proxy to prepend these routes with some prefix, internally zitadel would be using the incorrect routes for things like the reset password email etc.
Describe your ideal solution
In the documentation there is a list of path prefixes for zitadel: https://zitadel.com/docs/apis/introduction#domains
I would like to be able to configure via some sort of config variable (such as ZITADEL_RELATIVE_PATH) which would prepend this relative path to all the zitadel path prefixes.
This config would also prefix any links sent by zitadel, and be returned from the well known endpoint etc.
Version
2.50.1
Environment
Self-hosted
Additional Context
No response

Closing comment (2024-08-16T09:33:26Z): Is this the same as #6763 ?
Repository: zmxv/react-native-sound

Issue #35: Network file playing
Created: 2016-05-12T12:11:12Z
Maybe be inspired by cordova plugins ?
for iOS :
https://github.com/apache/cordova-plugin-media/blob/master/src/ios/CDVSound.m
for Andoid :
https://github.com/apache/cordova-plugin-media/tree/master/src/android
Based on Apple documentation, to implement this feature AVAudioPlayer must be switched to AVPlayer

Duplicate issue #109: any plant for play the network resource?
Created: 2017-02-13T05:22:12Z
hi,
does you has any plant for play the net work resource?
like mp3 file.
thanks.

Closing comment (2017-02-14T02:19:30Z): dup of #35
Repository: zmxv/react-native-sound

Issue #175: Not playing on android
Created: 2017-05-10T08:48:04Z
Im on "react-native-sound": "0.10.1"
Calling play does not produce sound and the callback is invoked with the value false. coming from the onError listener in RNSoundModule.
Happens on both an emulator and a device. sdk 19 and 25.
Before that i was using the version from  TheGhoul21 fork and the sound did play.
The player returns true when I check for IsLoaded() .
and sadly There is no more information i can give. if someone points me in the right direction so I can try editing the js and/or android code to fix the problem.
example file:
https://languagezenstorage.blob.core.windows.net/media0/xgcUXjHhP8.mp3

Duplicate issue #176: Problems playing network files on Android
Created: 2017-05-10T14:24:52Z
Thanks again for a great library. I'm having a bit of trouble loading a file from a network.  I create the new sound with this code:
   const s = new Sound("https://d68dgotn0plsh.cloudfront.net/introductory_meditation/3_placing_the_mind_on_the_breath.m4a", '', (e) => {
      if (e) {
        //handle error
      }
      // Load sound in state
    });

But I get a weird sound object that won't play. I've checked that the url links directly to the file.
{"_filename": "https://d68dgotn0plsh.cloudfront.net/introductory_meditation/3_placing_the_mind_on_the_breath.m4a",
"_loaded":true,
"_key":1,
"_duration":-1427412.9440000001,
"_numberOfChannels":-1,
"_volume":1,
"_pan":0,
"_numberOfLoops":0,
"_speed":1}

Any thoughts on what I'm doing wrong? Thanks!

Closing comment (2017-05-14T18:08:18Z): Duplicate of #175
Repository: zmxv/react-native-sound

Issue #431: Music in any player on IOS stops after playing sounds from react-native-sound
Created: 2018-05-14T13:41:40Z
"react-native": "0.50.4",
"react-native-sound": "^0.9.0",
Platform: iOS
Hi there!
Have you encountered such problem when the music in any player on IOS stops after playing sounds from this library in your react-native app?
Thanks!

Duplicate issue #559: Music stops on initial app startup 
Created: 2019-03-25T16:26:22Z
If I'm playing music from any player and then boot up my app with react-native-sound, the music stops no matter what. However, once the app is open and in the background everything is fine. So it's just on the initial start up of the app. I've noticed on the simulator, it asks my computer for microphone access on startup as well. I'm looking to get rid of that because I think it's related

Closing comment (2019-10-20T06:45:04Z): This is a duplicate of #431, right?
Repository: zmxv/react-native-sound

Issue #550: setAudioStreamType Deprecated since API 26
Created: 2019-02-27T15:51:16Z
react-native-sound/android/src/main/java/com/zmxv/RNSound/RNSoundModule.java
    
    
         Line 96
      in
      c7e933c
    
  
  
    

        
          
           player.setAudioStreamType(category);

Duplicate issue #555: [Android] Uses or overrides a deprecated API
Created: 2019-03-13T11:49:43Z

Closing comment (2019-07-09T16:26:13Z): Same as #550; let’s track there.
Repository: zmxv/react-native-sound

Issue #64: IOS error Object {code: "ENSOSSTATUSERRORDOMAIN2003334207"
Created: 2016-08-28T12:24:17Z
error Object {code: "ENSOSSTATUSERRORDOMAIN2003334207", message: "The operation couldn’t be completed. (OSStatus error 2003334207.)", nativeStackIOS: Array[17], domain: "NSOSStatusErrorDomain"}
It is not work if I using mp3 file in my component folder
Music/
music.js
background1.mp3
playSound() {
var s = new Sound('background2.mp3', Sound.DOCUMENT, (e) => {
if (e) {
console.log('error', e);
} else {
console.log('duration', s.getDuration());
s.play();
}
});
}

Duplicate issue #221: The operation couldn’t be completed. (OSStatus error 2003334207.)
Created: 2017-07-02T21:44:56Z
I occasionally encounter this error and I don't know what causes it. Below is what is printed to the console:
* Object {code: "ENSOSSTATUSERRORDOMAIN2003334207", message: "The operation couldn’t be completed. (OSStatus error 2003334207.)", nativeStackIOS: Array(18), domain: "NSOSStatusErrorDomain", userInfo: Object}
    * code:"ENSOSSTATUSERRORDOMAIN2003334207" domain:"NSOSStatusErrorDomain" message:"The operation couldn’t be completed. (OSStatus error 2003334207.)" nativeStackIOS:Array(18) userInfo:Object __proto__:Object 

Closing comment (2017-08-18T08:08:26Z): Duplicate of #64 (comment) - check out answers in that thread.
Repository: zmxv/react-native-sound

Issue #292: !Dont use this library to stream large files
Created: 2017-10-19T00:59:00Z
This should be a disclaimer on the repo itself. This library uses AVAudioPlayer, and thus it is not suitable for large remote files or streaming. It has to download the file into memory and then play it.
It should have been implemented with AVPlayer.

Duplicate issue #500: Some url sound not playing in IOS
Created: 2018-10-15T17:34:44Z
Versions
React Native Cli: 2.0.1
React Native: 0.55.4
React Native Sound: 0.10.9
X-Code: 9 and 10
Description
Some urls doesn't play in IOS, and the ones that manages to play tends to be slow.
Code
Works
const url = 'https://ec-preview-media.sndcdn.com/preview/0/30/XAGPkjLItbgN.128.mp3?f10880d39085a94a0418a7e162b03d52e21adf826af17a391e1a7411352e94fa09cf19379bc361d4e59dd2e7345f5002a14aa8b66f97e06fb11a5b2b6c53670ccd89695fa398bd1185b325f67f3f297ea0fe';

// Works in Both IOS and Android but slow in IOS
Sound.setCategory('Playback');
this.sound = new Sound(url, null, (error) => {
    if (error) {
        console.log('failed to load the sound', error);
        return;
    }
    this.sound.play();
});
Doesn't Work
const url = 'https://edge2-b.exa.live365.net/a26993';

// Works only on Andriod
Sound.setCategory('Playback');
this.sound = new Sound(url, null, (error) => {
    if (error) {
        console.log('failed to load the sound', error);
        return;
    }
    this.sound.play();
});
Wondering if am doing anything wrong.

Closing comment (2019-07-23T17:31:27Z): Related to #292?
Repository: zmxv/react-native-sound

Issue #245: Can't run unit tests with Jest
Created: 2017-08-17T08:21:28Z
While running a most simple unit test I get TypeError: Cannot read property 'IsAndroid' of undefined as in issue #36 . However, building and running the app works perfectly fine.
Mocking react-native-sound via jest.mock('react-native-sound'); doesn't help.
The test fails in line import myComponentWithANestedSubComponentWhichUsesRNSound from './'; of the following code snippet:
import 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';

jest.mock('react-native-sound');

import myComponentWithANestedSubComponentWhichUsesRNSound from './';

describe('<ListItemVideo />', () => {

  it('renders correctly', () => {
    const tree = renderer.create(<myComponentWithANestedSubComponentWhichUsesRNSound />);
  });
});

Duplicate issue #244: Can't run unit tests with Jest
Created: 2017-08-17T07:52:33Z
While running a most simple unit test I get TypeError: Cannot read property 'IsAndroid' of undefined as in issue #36 . However, building and running the app works perfectly fine.
Mocking react-native-sound via jest.mock('react-native-sound'); doesn't help.
Here's my unit test code:
import 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';

jest.mock('react-native-sound');

import myComponentWithANestedSubComponentWhichUsesRNSound from './';

describe('<ListItemVideo />', () => {

  it('renders correctly', () => {
    const tree = renderer.create(<myComponentWithANestedSubComponentWhichUsesRNSound />);
  });
});

Closing comment (2017-08-24T18:59:13Z): duplicate of #245
Repository: zmxv/react-native-sound

Issue #175: Not playing on android
Created: 2017-05-10T08:48:04Z
Im on "react-native-sound": "0.10.1"
Calling play does not produce sound and the callback is invoked with the value false. coming from the onError listener in RNSoundModule.
Happens on both an emulator and a device. sdk 19 and 25.
Before that i was using the version from  TheGhoul21 fork and the sound did play.
The player returns true when I check for IsLoaded() .
and sadly There is no more information i can give. if someone points me in the right direction so I can try editing the js and/or android code to fix the problem.
example file:
https://languagezenstorage.blob.core.windows.net/media0/xgcUXjHhP8.mp3

Duplicate issue #182: Demo not working using a url...
Created: 2017-05-16T15:48:18Z
I have built the demo and it works.
If I replace the line
const s = new Sound('advertising.mp3', Sound.MAIN_BUNDLE, (e) => {
with
const s = new Sound('https://api.example.com/tracks/test.mp3', '', (e) => {
I get the following error in the Android monitor:
Attempt to call getDuration without a valid mediaplayer
No error message from the demo code.
Should it be possible to use this module with urls anyway? (I read about the underscore things, but I am not using uppercase letters).
The above url is of course not my real one ;-)
Cheers

Closing comment (2017-05-19T16:24:33Z): This looks like a duplicate of #175. Currently it doesn't seem like it's able to play sounds from the network on android. I'm also having this issue and would love to know if it's going to be fixed or if anyone has a workaround.
Repository: zo0r/react-native-push-notification

Issue #730: grey square as icon notification android
Created: 2018-04-30T12:10:40Z
Hi!

my notification works fine on android and ios but in some android devices (motorola) instead of my app icon appear a grey square..
How I can fix it?
Thx

Duplicate issue #2007: Notification small icon always showing gray box in android
Created: 2021-05-14T04:01:20Z
Question
How to change the notification small icon with my app logo? I already added ic_notification in the mipmap folders. But, still showing gray box in the notification

Closing comment (2021-05-21T15:16:06Z): same as #730, please close.
You can find the solution here:
#730 (comment)
Repository: zo0r/react-native-push-notification

Issue #516: Clicking on local notification - onNotification doesn't get called when app is not started (Android)
Created: 2017-08-10T13:56:00Z
"react": "16.0.0-alpha.12",
"react-native": "^0.45.1",
"react-native-push-notification": "^3.0.0"

On application start I have this code:
PushNotification.configure({
    onNotification: function(notification) {
        console.log('onNotification');
        ToastAndroid.show('onNotification', 3000);
    }
});

My background service sends local push notification:
PushNotification.localNotification({
    message: 'Hello World',
    smallIcon: 'ic_launcher'
});

The notification gets delivered. When I click it, onNotification method doesn't get called, then when I receive another notification, it actually gets called. It seems like it works only if app is in memory atm.
Am I doing something wrong?
stackoverflow question here.

Duplicate issue #602: onNotification on local notification does not work on background
Created: 2017-11-29T17:04:26Z
i'm using socket.io as my notification service,
when my socket received a message, it will trigger the local notification
socket.on('message', (message) => {
  if (Platform.OS === 'android' && message.type === 1) {
    PushNotification.localNotification({
      title: message.data.title,
      message: message.data.content,
      foreground: true,
      userInteraction: true,
    });
  }
});

my push notification configure
PushNotification.configure({
  onNotification: (notification) => {
    Actions.notifications();
  },
  popInitialNotification: false,
  requestPermissions: true,
});

when my notification is opened, it will call my notification page (provided by react-native-router-flux)
It works only on foreground.
Is there a way i can get this fixed?
Version
React Native : 0.46.4
Socket.io-client : 2.0.4
React native router flux : 4.0.0.beta22

Closing comment (2017-12-06T04:24:52Z): Related to #516
Repository: zo0r/react-native-push-notification

Issue #1877: Scheduled Local Notification how to trigger event when Notification arrived in Foreground
Created: 2021-02-18T05:29:53Z
How we can trigger some event, for local notification when the notification arrived (before user tap it) because right now i see on onNotification its only   Called when a remote is received or opened, or local notification is opened
is there a way to call the onNotification method when Local Notification is received in Foreground? so i can trigger some UI changes
Thanks
*on rnfirebase this like onMessage event
cc: @Dallas62

Duplicate issue #1879: iOS - Local Scheduled Notification not triggering onNotification in background
Created: 2021-02-19T07:42:39Z
Browsed many of the other issues, but didn't quite see a clear answer / directly relevant case, so I figured I'd ask.
react-native: 0.61.5
react-native-push-notification: 7.2.1
My app has react-native-push-notifications configured and working (mostly) as intended, with my local notifications triggering in the foreground as expected. I have a server that is using node-pushnotifications, and those are working as intended as well.
The remote notifications (from my server) are properly triggering my app (onNotification) in the background, and I'm able to execute some logic as a result. However, this is not the case when using localNotificationSchedule, which is only triggering onNotification when the app is in the foreground, when I need it to also trigger in the background.
Just to be clear, I am getting local notifications in the background, they just aren't triggering the onNotification function. It is possible to use localNotifications to trigger onNotification in the background, right?
I feel like I've read into this a bit too much the past few days, and have over-confused myself. Any advice would be appreciated.
Some code snippets I've tried (using NotifService & Push Notification library). Both triggering onNotification in foreground, but not in background.

Closing comment (2021-02-19T07:57:16Z): Same as #1877
Repository: zo0r/react-native-push-notification

Issue #682: Compatibility with react-native-firebase `Error: more than one library with package name 'com.google.android.gms.license'`
Created: 2018-03-21T03:57:18Z
Hello,
I'm trying to use this library along with react-native-firebase in my project.
But when I try to compile, I'm getting the following error:
:react-native-push-notification:processReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-push-notification:processReleaseResources'.
> Error: more than one library with package name 'com.google.android.gms.license'


I believe your Android dependency  compile 'com.google.android.gms:play-services-gcm:+' needs to support Gradle versioning, kinda like:
https://github.com/rebeccahughes/react-native-device-info/blob/e2c877f461c4181113abb3ff8f6bb8dfe89de0fb/android/build.gradle#L30
so the clients have the option of explicitly setting a version for that dependency.
Other packages seem to be affected as well by this change:
react-native-device-info/react-native-device-info#365

Duplicate issue #927: App crash on startup on Android - 7.1.1, 8, 9
Created: 2018-10-30T13:16:20Z
Steps to reproduce:
In a typeScript enabled project:
yarn add react-native-push-notification && yarn add @types/react-native-push-notification
react-native run-android
What will happen:
The app will crash twice and then give a message like "The app keeps crashing".
I don't think I get any log messages to work with.
Device: Motorola Moto(G6) (Android 8.0.0, API 26)
react-native info
Environment:
  OS: macOS High Sierra 10.13.6
  Node: 10.11.0
  Yarn: 1.10.1
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 10.0 Build version 10A255
  Android Studio: 3.1 AI-173.4907809

Packages: (wanted => installed)
  react: 16.2.0 => 16.2.0
  react-native: 0.53.3 => 0.53.3

Closing comment (2018-10-31T13:28:41Z): It is related to #682,  and I think the solution is this: #682 (comment)