profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/attebury/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

attebury/Eight-Firefox-Start-Page 6

HTML + CSS + jQuery start page for Firefox inspired by Windows 8 screenshots; easy customizable - all settings stored in XML file.

attebury/html5-boilerplate 1

starting html/css template. so much goodness baked in by default

attebury/jquery-GoogleMapV3 1

jQuery plugins for managing Google Maps under the v3 library

attebury/less.js 1

Leaner CSS, in your browser.

attebury/node-tweet 1

Learning Server-Side JavaScript with Node.js

attebury/508-Boilerplate 0

An accessibility boilerplate to demonstrate best practices.

attebury/csv 0

A modern, fast, RFC 4180 compliant parser for JS

fork danjesus/pyWhat

🐸 Identify anything. pyWhat easily lets you identify emails, IP addresses, and more. Feed it a .pcap file or some text and it'll tell you what it is! 🧙‍♀️

fork in 12 minutes

startedbee-san/pyWhat

started time in 14 minutes

release rollup/rollup

v2.52.0

released time in 3 days

release rollup/rollup

v2.51.2

released time in 3 days

pull request commentdpa99c/cordova-diagnostic-plugin

Introduce ACTIVITY_RECOGNITION runtime permission

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

JackMcKew

comment created time in 8 days

pull request commentdpa99c/cordova-diagnostic-plugin

Added missing notification permission statuses, Provisional and Ephemeral

I've updated the docs now. Please let me know if there's anything else you'd like to see in order to get this merged

matt-auckland

comment created time in 9 days

release hakimel/reveal.js

4.1.2

released time in 9 days

issue commentdpa99c/cordova-diagnostic-plugin

Support permission access on Android 11

FYI, I had the exact same issue on Android 11 with cordova.plugins.diagnostic.requestLocationAuthorization() :

cordova.plugins.diagnostic.requestLocationAuthorization(console.info, console.error, cordova.plugins.diagnostic.locationAuthorizationMode.ALWAYS)

On Android 10 (and before) :

  • The call was opening the popup
  • It was asking a question to the user, and was providing the selected status

On Android 11 :

  • The call is not opening any popup (@dpa99c it looks like different than what you were saying in your detailed post)
  • It is always returning DENIED_ALWAYS status
  • Even when I am calling cordova.plugins.diagnostic.requestLocationAuthorization() multiple times, I'm getting DENIED_ALWAYS
biendinh

comment created time in 15 days

startedwithfig/autocomplete

started time in 17 days

fork LeaVerou/browser-compat-data

This repository contains compatibility data for Web technologies as displayed on MDN

https://developer.mozilla.org

fork in 22 days

fork LeaVerou/content

The content behind MDN Web Docs

fork in 22 days

pull request commentdpa99c/cordova-diagnostic-plugin

Added missing notification permission statuses, Provisional and Ephemeral

Hi @dpa99c, I've run into an issue using your plugin where the Provisional status wasn't supported and I was unable to request permission for push notifications when the user was in that status. This is my attempt to remedy the situation, based on my testing it works but, I'm not sure if my approach is correct.

matt-auckland

comment created time in 22 days

PR opened dpa99c/cordova-diagnostic-plugin

Added missing notification permission statuses, Provisional and Ephemeral

PR Type

What kind of change does this PR introduce?

  • [X] Bugfix
  • [X] Feature
  • [X] Documentation changes

PR Checklist

For bug fixes / features, please check if your PR fulfills the following requirements:

  • [ ] Testing has been carried out for the changes have been added
  • [ ] Regression testing has been carried out for existing functionality
  • [ ] Docs have been added / updated

What is the purpose of this PR?

At the moment this plugin doesn't deal with two new Notification Permissions statuses that have been added to iOS in v12 ("Provisional") and v14 ("Ephemeral").

Does this PR introduce a breaking change?

  • [ ] Yes
  • [x] No

What testing has been done on the changes in the PR?

Not done yet

What testing has been done on existing functionality?

Not done yet

Other information

  • Still need to update docs
  • Still need to update notification permission request function
+12 -0

0 comment

3 changed files

pr created time in 22 days

release LeaVerou/parsel

v1.0.2

released time in 22 days

issue closeddpa99c/cordova-diagnostic-plugin

[AND] permission REQUEST_IGNORE_BATTERY_OPTIMIZATIONS

<!-- WARNING: Failure to follow the issue template guidelines below will result in the issue being immediately closed.

Only feature requests should be opened here.

-->

Feature request - REQUEST_IGNORE_BATTERY_OPTIMIZATIONS

<!-- Feature requests should include as much detail as possible:

  • A descriptive title
  • A description of the problem you're trying to solve, including why you think this is a problem
  • An overview of the suggested solution
  • Use case: why should this be implemented?
  • If the feature changes current behavior, reasons why your solution is better
  • Relevant links, e.g.
    • Stack Overflow post illustrating a solution
    • Code within a Github repo that illustrates a solution
    • Native API documentation for proposed feature --> I'm traying to manage the permission "REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" but i can do it with diagnostic plugin.

I have added the permission in the manifest I have tried to require it with this plugin but failed.

With the plugin "cordova-plugin-background-mode" (method "disableBatteryOptimizations") I can request the permission but it's not so elegant because I can't request the permission status and get the user response.

Do I need to do some configuration or is it necessary to add support from the plugin?

Thanks in advance. Regards, Fabricio.

<!-- A POLITE REMINDER

  • This is free, open-source software.
  • Although the author makes every effort to maintain it, no guarantees are made as to the quality or reliability, and reported issues will be addressed if and when the author has time.
  • Help/support will not be given by the author, so forums (e.g. Ionic) or Stack Overflow should be used. Any issues requesting help/support will be closed immediately.
  • If you have urgent need of a bug fix/feature, the author can be engaged for PAID contract work to do so: please contact dave@workingedge.co.uk
  • Rude or abusive comments/issues will not be tolerated, nor will opening multiple issues if those previously closed are deemed unsuitable. Any of the above will result in you being BANNED from ALL of my Github repositories. -->

closed time in a month

fgarcia5

startedjoshbuchea/HEAD

started time in a month

startedinkdropapp/electron-v8snapshots-example

started time in a month

created repositorybinarythistle/mapi

created time in a month

issue closeddpa99c/cordova-diagnostic-plugin

[FEATURE] Add support for WRITE_SETTINGS PERMISSION

My cordova app requires a write_settings permissions how can i do it with this plugin

closed time in a month

mugenyi

issue closeddpa99c/cordova-diagnostic-plugin

Please PLease bump minimist in package.json

I can't feed your explanations why it is not a security issue to our strict security team which sees report in npm audit.

Please bump minimist to 1.2.5 in package.json.

You probably already spent way more time typing why not and closing all these previously opened issues. They will keep coming.

closed time in a month

iva2k

issue closeddpa99c/cordova-diagnostic-plugin

Cold restart() does not relaunch app - Android 10

Bug report

<!-- COMPLETE THIS CHECKLIST --> CHECKLIST

  • [x ] I have read the issue reporting guidelines

  • [ x] I confirm this is a suspected bug or issue that will affect other users <!-- i.e. this is not a request for support in using/integrating the plugin into your specific project -->

  • [ x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue. <!-- necessary information e.g. exact steps, FCM notification message content, test case project repo -->

  • [x ] I have read the documentation thoroughly and it does not help solve my issue. <!-- e.g. if you're having a build issue ensure you've read through the build environment notes -->

  • [ x] I have checked that no similar issues (open or closed) already exist. <!-- Duplicates or near-duplicates will be closed immediately. -->

Current behavior:

Cold restart closes the app but does not reopen the app in Android 10, leaving the viewer on the home screen. Testing on Android 9 and lower cold restart behaves as desired. Warm restart behaves as desired on Android 10.

Expected behavior:

Cold restart is desired to close then reopen app.

Steps to reproduce:

Programatically hit this function cordova.plugins.diagnostic.restart(onError, true);

Environment information


   Ionic CLI                     : 6.11.0
   Ionic Framework               : @ionic/angular 5.3.4
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.3.0

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.0, (and 29 other plugins)

Utility:

   cordova-res (update available: 0.15.2) : 0.8.1
   native-run (update available: 1.3.0)   : 0.3.0

System:

   Android SDK Tools : 26.1.1 
   ios-deploy        : 1.10.0
   ios-sim           : 8.0.2
   NodeJS            : v10.15.1
   npm               : 6.8.0
   OS                : macOS Catalina
  • Plugins & versions installed in project (including this plugin)
call-number 0.0.2 "Cordova Call Number Plugin"
com.telerik.plugins.healthkit 0.7.0 "HealthKit"
cordova-android-support-gradle-release 3.0.1 "cordova-android-support-gradle-release"
cordova-open-native-settings 1.5.2 "Native settings"
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-ble-central 1.2.4 "BLE"
cordova-plugin-bluetooth-serial 0.4.7 "Bluetooth Serial"
cordova-plugin-camera 4.0.3 "Camera"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-enable-multidex 0.2.0 "Enable Multidex"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-file-opener2 2.2.1 "File Opener2"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-globalization 1.11.0 "Globalization"
cordova-plugin-inappbrowser 3.2.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.2.0 "cordova-plugin-ionic-webview"
cordova-plugin-opentok 3.4.3 "OpenTokCordovaPlugin"
cordova-plugin-privacyscreen 0.3.1 "cordova-plugin-privacyscreen"
cordova-plugin-screen-orientation 3.0.2 "Screen Orientation"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-tts 0.2.3 "TTS"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-sqlite-storage 3.3.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
cordova.plugin.zoom-auto-audio-and-video 4.6.21666.0514 "Zoom"
cordova.plugins.diagnostic 6.0.3 "Diagnostic"
es6-promise-plugin 4.1.0 "Promise"
cordova-plugin-fcm-with-dependecy-updated 6.4.3 "Cordova FCM Push Plugin"
cordova-plugin-local-notification 0.9.0-beta.4 "LocalNotification"
cordova-plugin-twilio 3.0.1 "TwilioVoice"
twilio-client-phonegap-plugin 1.1.0 "TwilioClient"
ionic-plugin-deeplinks 1.0.20 "Ionic Deeplink Plugin"
wifiwizard2 3.1.1 "WifiWizard2"
  • Dev machine OS and version, e.g.
    • OSX
      • 10.15.7

Runtime issue

  • Device details
    • Pixel 3a XL
  • OS details -Android 10

Android build issue:

  • Node JS version
    • 10.15.1
  • Gradle version
    • 6.2.2
  • Target Android SDK version
    • 29

Console output

No Output

******** UPDATE Updating this block in doColdRestart resolves the issue for me, works on 7 - 10 (the versions available for me to test on)

protected void doColdRestart() {
        String baseError = “Unable to cold restart application: “;
        try {
           ...
                    if (mStartActivity != null) {
                        mStartActivity.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
                        c.getApplicationContext().startActivity(mStartActivity);  <--------- Replaced PendingIntent and AlarmManager
                        Log.i(TAG,“Killing application for cold restart”);
                        //kill the application
                        System.exit(0);

closed time in a month

ScottWaring

issue closeddpa99c/cordova-diagnostic-plugin

Error listing external SD cards without prior READ storage permission

<!-- IMPORTANT: PLEASE READ

WARNING: Failure to follow the issue template guidelines below will result in the issue being immediately closed. -->

<!-- Fill out the relevant sections below and delete irrelevant sections. -->

Bug report

<!-- COMPLETE THIS CHECKLIST --> CHECKLIST

  • [x] I have read the issue reporting guidelines

  • [x] I confirm this is a suspected bug or issue that will affect other users <!-- i.e. this is not a request for support in using/integrating the plugin into your specific project -->

  • [x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue. <!-- necessary information e.g. exact steps, FCM notification message content, test case project repo -->

  • [x] I have read the documentation thoroughly and it does not help solve my issue. <!-- e.g. if you're having a build issue ensure you've read through the build environment notes -->

  • [x] I have checked that no similar issues (open or closed) already exist. <!-- Duplicates or near-duplicates will be closed immediately. -->

Current behavior:

getExternalSdCardDetails before going on with internal logic first checks READ_EXTERNAL_STORAGE permission and if not set calls requestRuntimePermission for it ; but with following error:

Diagnostic[native]: Exception occurred onRequestPermissionsResult: No context found for request id=1000

Expected behavior: Android code for listing SD cards should run without error whether or not the READ storage permission was set before or not.

Steps to reproduce: <!-- If you are able to illustrate the bug with an example, please provide steps to reproduce. --> Default setup of cordova-diagnostic-plugin-example and then from js or chrome://inspect call cordova.plugins.diagnostic.getExternalSdCardDetails(console.info, console.error).

Screenshots <!-- If applicable, add screenshots to help explain your problem. -->

Environment information <!-- Please supply full details of your development environment including: -->

  • Cordova CLI version
    • cordova -v cordova 10.0
  • Cordova platform version
    • cordova platform ls cordova-android 9.0
  • Plugins & versions installed in project (including this plugin)
    • cordova plugin ls cordova-plugin-androidx-adapter 1.1.3 cordova-plugin-androidx 1.0.2 cordova-plugin-device 2.0.3 cordova-plugin-file 6.0.2 cordova-plugin-geolocation 4.1.0 cordova-plugin-whitelist 1.3.4 cordova.plugins.diagnostic 6.0.2
  • Dev machine OS and version
    • .

Runtime issue

  • Device details
    • Android Emulator
  • OS details
    • Android 11.0

Android build issue:

  • Node JS version
    • node -v 14 LTS
  • Gradle version
    • ls platforms/android/.gradle 6.7.1
  • Target Android SDK version
    • android:targetSdkVersion in AndroidManifest.xml 29
  • Android SDK details
    • sdkmanager --list | sed -e '/Available Packages/q'

iOS build issue:

  • .

Related code:

cordova.plugins.diagnostic.getExternalSdCardDetails(console.info, console.error)

Console output <details> <summary>console output</summary>


Diagnostic[native]: Exception occurred onRequestPermissionsResult: No context found for request id=1000

</details><br/><br/>

Other information:

<!-- List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc. -->

<!-- A POLITE REMINDER

  • This is free, open-source software.
  • Although the author makes every effort to maintain it, no guarantees are made as to the quality or reliability, and reported issues will be addressed if and when the author has time.
  • Help/support will not be given by the author, so forums (e.g. Ionic) or Stack Overflow should be used. Any issues requesting help/support will be closed immediately.
  • If you have urgent need of a bug fix/feature, the author can be engaged for PAID contract work to do so: please contact dave@workingedge.co.uk
  • Rude or abusive comments/issues will not be tolerated, nor will opening multiple issues if those previously closed are deemed unsuitable. Any of the above will result in you being BANNED from ALL of my Github repositories. -->

closed time in a month

ath0mas

issue closeddpa99c/cordova-diagnostic-plugin

iOS - If an app would like to connect to devices on your local network

<!-- WARNING: Failure to follow the issue template guidelines below will result in the issue being immediately closed.

Only feature requests should be opened here.

-->

With iOS 14 some changes have been implemented (of course) when tying to call an IP on the user's network.

Let's say you're trying to configure a device and need to connect to its SSID or by calling the IP directly - IoT devices for example, iOS now gives us an alert about what's going to happen.

Is it possible to check beforehand if the app already gave that permission?

Here's a link to the official documentation, where there's details and images with the alert I'm talking about:

https://support.apple.com/en-mk/HT211870

Feature request

<!-- Feature requests should include as much detail as possible:

  • A descriptive title
  • A description of the problem you're trying to solve, including why you think this is a problem
  • An overview of the suggested solution
  • Use case: why should this be implemented?
  • If the feature changes current behavior, reasons why your solution is better
  • Relevant links, e.g.
    • Stack Overflow post illustrating a solution
    • Code within a Github repo that illustrates a solution
    • Native API documentation for proposed feature -->

<!-- A POLITE REMINDER

  • This is free, open-source software.
  • Although the author makes every effort to maintain it, no guarantees are made as to the quality or reliability, and reported issues will be addressed if and when the author has time.
  • Help/support will not be given by the author, so forums (e.g. Ionic) or Stack Overflow should be used. Any issues requesting help/support will be closed immediately.
  • If you have urgent need of a bug fix/feature, the author can be engaged for PAID contract work to do so: please contact dave@workingedge.co.uk
  • Rude or abusive comments/issues will not be tolerated, nor will opening multiple issues if those previously closed are deemed unsuitable. Any of the above will result in you being BANNED from ALL of my Github repositories. -->

closed time in a month

1x2x3x4x

issue closeddpa99c/cordova-diagnostic-plugin

Security Issue - ios - Private Photo Roll Accessed Without API Verification

** DESCRIPTION** The App requests permission to the user's Photos library without also utilizing APIs to check whether the user has granted the app access to only a limited subset of their library.

Starting with iOS 14, when the App requests access to the user's photos the user has a new option to provide only a subset of their photos to the App, rather than exposing their full Photos library. The App will be unaware that the user has selected this unless it utilizes new APIs to query the access level the user has granted. This behavior is automatically enabled for all apps running on iOS 14, and appears as a new option in the Photos permission dialog.

Apple has provided multiple APIs that allow the App to query the access level the user has granted, such as -PHPhotoLibrary [authorizationStatusForAccessLevel:].

By gaining access to a selected subset of the user's Photos library only, the App would both minimize sensitive data exposure and build user trust. In general, there are few uses cases that necessitate full Photos library access. For use cases which do require full library access, iOS 14 also adds new APIs that allow the app to upgrade their authorization level, such as the -[PHPhotoLibrary requestAuthorizationForAccessLevel:handler:] method.

** RECOMMENDATION** Update the Plugin functionality to work as designed when the user permits access to a subset of their Photos library only. If necessary, utilize the iOS 14 APIs that allow the App to detect which authorization level the user has granted.

closed time in a month

nipuna21018

issue closeddpa99c/cordova-diagnostic-plugin

[FEATURE] Detect mock location

Would be cool to detect if mock location is enabled:

if (Secure.getString(this.cordova.getActivity().getContentResolver(), 
Secure.ALLOW_MOCK_LOCATION).equals("0")) {
	callbackContext.success("false");
		} else {
	callbackContext.success("true");
		}

closed time in a month

kaynz

issue closeddpa99c/cordova-diagnostic-plugin

feat: Capacitor Support

<!-- WARNING: Failure to follow the issue template guidelines below will result in the issue being immediately closed.

Only feature requests should be opened here.

-->

Feature request

<!-- Feature requests should include as much detail as possible:

  • A descriptive title
  • A description of the problem you're trying to solve, including why you think this is a problem
  • An overview of the suggested solution
  • Use case: why should this be implemented?
  • If the feature changes current behavior, reasons why your solution is better
  • Relevant links, e.g.
    • Stack Overflow post illustrating a solution
    • Code within a Github repo that illustrates a solution
    • Native API documentation for proposed feature -->

<!-- A POLITE REMINDER

  • This is free, open-source software.
  • Although the author makes every effort to maintain it, no guarantees are made as to the quality or reliability, and reported issues will be addressed if and when the author has time.
  • Help/support will not be given by the author, so forums (e.g. Ionic) or Stack Overflow should be used. Any issues requesting help/support will be closed immediately.
  • If you have urgent need of a bug fix/feature, the author can be engaged for PAID contract work to do so: please contact dave@workingedge.co.uk
  • Rude or abusive comments/issues will not be tolerated, nor will opening multiple issues if those previously closed are deemed unsuitable. Any of the above will result in you being BANNED from ALL of my Github repositories. -->

I want to switch to Capacitor with my Apps and in nearly every App i used this Plugin. What would be needed to add official Support for Capacitor? I think the main Problem is that the Hooks don't work in Capacitor why the enabling/disabling of Modules doesn't work?

Maybe create a Support Plan to finance your work on this like the official Cordova Google Maps Plugin?

closed time in a month

EinfachHans

issue closeddpa99c/cordova-diagnostic-plugin

[FEATURE] Add function to toggle debugEnabled and add a getter

Existing function enableDebug() is great but we can only switch from default false value to true ; after calling function it's kind of a final state.

Could plugin expose a disable function too, or even better a toggle like enableDebug(boolean) instead? + a getter to get current debugEnabled state?

(I may find time to create a PR for that if this Feature request is voted)

closed time in a month

ath0mas

issue closeddpa99c/cordova-diagnostic-plugin

[FEATURE] Open App Notification Settings

I'm submitting a ... (check one with "x"):

bug report [X ] feature request documentation issue

Would be useful to have a switchToNotifications() kind of function, so that the user can directly be brought into the Notifications settings page to modify their settings.

closed time in a month

geoffreyteng

issue closeddpa99c/cordova-diagnostic-plugin

[FEATURE] Add is5GHzBandSupported() for Android

  • [ ] bug report
  • [x] feature request
  • [ ] documentation issue

Feature request

<!-- Feature requests should include as much detail as possible:

  • A descriptive title
  • A description of the problem you're trying to solve, including why you think this is a problem
  • An overview of the suggested solution
  • Use case: why should this be implemented?
  • If the feature changes current behavior, reasons why your solution is better
  • Relevant links, e.g.
    • Stack Overflow post illustrating a solution
    • Code within a Github repo that illustrates a solution
    • Native API documentation for proposed feature -->

Add is5GHzBandSupported for android, available on API level 21. reference:

https://developer.android.com/reference/android/net/wifi/WifiManager.html#is5GHzBandSupported()

it will be very useful!

Thanks in advance Jonatan Gall

closed time in a month

jonatansouza