Browser notifications not working in Firefox Add-on - notifications

I am using Windows 7 and developing a Firefox add-on that needs to display notifications, but none are being displayed. I have confirmed that the command browser.notifications.create is being executed in the background script and the returned promise fulfilled with an ID.
I ran a regression on Firefox builds using Mozilla's mozregression tool along with their notifications example at https://github.com/mdn/webextensions-examples/tree/master/notify-link-clicks-i18n. I found that the last known good build was on 2018-09-25, and the next day's build was bad. The tool gave me a response of "Unable to find enough data to bisect"
I searched Bugzilla but found nothing, which seemed strange since apparently this issue is over 2 years old. So before I submit a bug report, does anyone have any ideas what the issue might be?
Edit: As requested, here's the code
browser.notifications.create({
"type": "basic",
"iconUrl": browser.extension.getURL("icons/link-48.png"),
"title": title,
"message": content
});

Related

Pptxgenjs appears to not work in IE11 even with jszip#3.1.5

Having read the previous versions of this question from 2020 this issue appears to have reared it's head again. I have tried these demos with my current jszip#3.7.0 and with jszip 3.1.5 using it as my application jszip and overwriting the jszip within pptxgenjs.
When using pptxgenjs in IE11 (Windows 10) it appears to work in that no errors are reported, what does happen is the browser alerts the user that: "You'll need a new app to open this blob link". The only option that is available at this point is then to go to "Look for an app in the Microsoft Store" of which no apps are available.
What this says to me is that pptxgenjs has done its job and has passed the blob link to the browser and the browser has said I have no clue you'll need to find something to open this.
I've attempted to run the demos in the same Windows 10/IE11 setup and they seem to do worse. the live demo doesn't error or offer the ability to download an app to support opening the blob link. The react demo errors to the console: SCRIPT438: Object doesn't support property or method 'endsWith'. The Basic Demo in the complete library of demos fails like the live demo not returning an error or acknowledging anything.
Is this a known issue? Is there another step to help IE11 with the blob link? Can anyone else get the demos to work and I should be looking at something else? Any thoughts would be appreciated.
Edit:
Apologies if this wasn't clear, but the demos I was referring to were the pptxgenjs demos found here: https://gitbrent.github.io/PptxGenJS/demos/ so focusing on the initial demo named 'Live Demo' the code that is being run is here: https://gist.github.com/gitbrent/84acbcaab54be0eba83f5206ef6ddd95#file-pptxgenjs_demo-js
Running this with all other key browsers such as edge, firefox and chrome all 'download' the generated file whereas running the same demo in IE11 fails silently.

Cannot select latest uploaded version to add to testflight

I cannot select the latest version I have uploaded to seed to beta in external testing. First of all whenever I upload a build two version appearing, that have upload time difference of 5 to 15 minutes between them. One of them gets changed from processing to normal available state, but other does not. But now selecting the available build also selects the processing one and my selection is blocked and I cannot select the OK button because probably my selection is blocked by the processing one. I think it is UI frontend issue at itunesconnect side but it could be something I am doing wrong. Please help me if anyone has been able to tackle this issue if they faced. Please see checkout the attached image.
Update:
I Included <key>ITSAppUsesNonExemptEncryption</key><false/> in my subsequent builds that I uploaded according to the new Export compliance message on the iTunes Connect home page. I am still facing the issue. I have contacted Apple Dev support, will keep you updated if I find a solution.
The issue has been mysteriously solved by uploading the application from Application Loader with Aspera turned off instead of using Xcode's organizer window as suggested by Apple Developer support. Make sure you add: <key>ITSAppUsesNonExemptEncryption</key><false/> in your info.plist file before archiving the build. Although mysteriously my previously uploaded builds have also become available for external testing.
Body of email that helped solve the issue:
After further research, it looks like their may be an issue from your
end with your network while trying to upload to this app record in
iTunes Connect.
First, for the best upload experience make sure that all ports and IP
addresses are accessible. Additionally, it’s important to make sure
the internet connection is very good, and that there are no firewalls
blocking the uploads. More information can be found here:
http://help.apple.com/itc/apploader/#/itc8e7ec5a60
Second, it may be beneficial to try using the latest version of
Application Loader. Please note that you can export your project from
Xcode to upload through Application Loader. As a temporary workaround,
once you have Application Loader open, you can go to the File menus
and select the following:
Application Loader > Preferences
Then, select Advanced, and as a temporary workaround you can try
deselecting Aspera and upload the build again. You can follow the
steps below to use the latest version of Application Loader.
Download the latest version of Xcode from the Mac App Store:
-http://help.apple.com/itc/apploader/#/itc8e7ec5a60
Open the latest version of Xcode
Go to the File menu and select Xcode > Open Developer Tool > Application Loader
Lastly, try uploading again to see if the issue persists.
Hello my dear friend there,
I am also having your issue yesterday, I have this similar screen with yours:
The build is duplicated which one of them are processing forever until today.
My personal problem solving was:
Increase my build number in Xcode so that I can reupload my build
Rearchive the build then export for iOS App Store Deployment in Xcode Organizer
Reupload the build using Application Loader
Then try to reconfigure the build in iTunes Connect. For a while it is processing like usual, but it will not take forever, after one hour, the build will be available for testing.
Hope my personal troubleshooting can be applied to your issue too.

Upload binary does not show on Itunes Connect

I'm trying to upload a new version of my app to the apple store, but itunes connect looks to be bugged.
I already uploaded the binary 3 times with success, and so far, it didn't show up on the "Build" section. I'm using Xcode 6.2 and Application Loader 3.0. So I met all requirements.
The "+" button does not show on the build section also.
Looking for solutions I found some complaints even from 2014 but no perfect solution that will work for everyone.
Have you any ideal about what can I do?
My last binary upload was about 8 hours ago and nothing happened yet.
Status is as "Prepare for Submission".
I got it. I found all my uploaded binaries in another App.
This happened because I was using a wildcard provisioning profile. This caused the file not to be shown on the right app.
I had the some problem, and waited for more than 8 hours without any result. Then I saw a new (tax-agreement) contract that I had not signed. I signed it, waited for a few more minutes, and then the plus-sign showed up!

IE10 WebResource.axd does not download. Causes Error "'WebForm_DoPostBackWithOptions' is undefined"

It seems that in our case link buttons get this error in IE 10 only. In the couple hours of research I've done this appears to be a IE 10 bug.
Bug and Fix: ASP.NET fails to detect IE10 causing _doPostBack is undefined JavaScript error or maintain FF5 scrollbar position
I tried to download the KB hot fix and cannot, I get a page not found message. I also tried downloading the browser files in the blog post, the fix did not work.
This issue only occurs on our win server 2008 IIS 7 servers
iis 6 win server 2003 work fine.
Anyone else run into this and have a fix for it?
So you've walked through the steps Hanselman outlined here?
http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx
We had this same problem, got the hotfix files, applied them to the server and all is well for us.
The hot fix in Hanselman's blog fixed my issue.
http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx
I tried every patch that I've seen listed on the internet, including the ones listed in the referenced blog. The only thing that actually seemed to work was installing the .NET 4.5 Framework on the server.
Get it here: http://www.microsoft.com/en-us/download/details.aspx?id=30653
Hope this saves someone a few of the hours I've lost on this one.

Splunk Sideview Editor throws 404

I installed latest sideview utils app in my spunk 4.2.2 installation and ran straight away into a problem. Evertime I try to launch sideview editor it throws 404 errors.
Any pointers would help
This just means that you have not restarted Splunk after installing the app.
Splunk should give you a notification after installing the app through the Manager section, that a restart is required. I think that notification system in Splunk may not be working on all Splunk's supported platforms, because we seem to be getting this problem reported with some regularity, where something or other doesn't work properly and ends up being just because the server hasn't been restarted.
By the way, you'll find a ton of questions and answers about this app over on answers.splunk.com rather than here on stackoverflow.