OneSignal has ceased to be integrated into Phonegap-build platform

For some reason, my Phonegap-build app with OneSignal plugin stopped working since yesterday. I am currently using version 2.4.5 and encountering the following error:

FAILURE: Build failed with an exception.

  • Where: Build file '/app/build.gradle' line: 94

  • What went wrong: A problem occurred evaluating project ':app'.

    Could not resolve all files for configuration 'classpath'. Could not resolve gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.99]. Required by: unspecified:unspecified:unspecified Could not resolve gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.99]. Failed to list versions for gradle.plugin.com.onesignal:onesignal-gradle-plugin. Unable to load Maven meta-data from . Could not get resource ''. Could not GET ''. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

The strange thing is that this setup worked perfectly fine the day before with the same OneSignal plugin version, and no changes were made on my end.

Answer №1

It seems that the gradle SSL certificate problem has been resolved successfully! Please attempt to compile using your trusty version 2.4.5 and inform me of the outcome.

Answer №2

I managed to fix the issue by updating the onesignal plugin version:

Previously, I was using an older version that caused problems:

The plugin only functions correctly with version 2.4.0:

Make sure to specify "spec=2.4.0" instead of "spec=^2.4.0".

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

JavaScript and jQuery - Struggling to retrieve checkbox values

In my dynamically generated (ASP) photo gallery, I have multiple checkboxes. Each checkbox is labeled as 'photos' and contains a unique photo ID in its value attribute. Here's an example of how the checkboxes are structured: <form name=" ...

In Angular, a variable that is exported from a module may not be accessible within a class function

Within my Angular project, I have a service file where I export a variable to be used in another file (component.ts). Interestingly, when I access the value of this variable outside of the class, everything works as expected. However, if I try to access i ...

Arranging object array according to a reference array in Javascript

My task involves sorting the properties of objects in an array based on the sequence of another array. let arrToSort = [ { Architect: 'Terry', Client: 'AZ', ClientType: 'Kids', Location: 'USA'}, { Architect: &a ...

Solutions for resolving the error "Unable to access property 'value1' because it is undefined"

constructor() { super(); this.state = { value1 : Math.floor(Math.random() * 100), value2 : Math.floor(Math.random() * 100), value3 : Math.floor(Math.random() * 100), proposedAnswer : Math.floor(Math.random() * 3) + this.state.value1 + t ...

Fetching the exchanged messages between the sender and recipient - utilizing MongoDB, Express, and React for chat functionality

I am dealing with two collections named students and teachers in the mongodb database. The structure of a conversation between a student and a teacher involves arrays of messages within each object, as well as the IDs of the sender and receiver. I am seeki ...

BroccoliMergeTrees function encountered an unexpected data type while attempting to merge trees: TreeMerger (lint) was expecting a Broccoli node, but received an [object

Since switching to Ubuntu 18.04, I've been trying to set up my Ember development environment but have encountered an issue. While my ember project works fine on Windows, I'm getting the error "BroccoliMergeTrees (TreeMerger (lint)): Expected Broc ...

When implementing afui and jQuery on PhoneGap, an error was encountered: "TypeError: Cannot read property 'touchLayer' of object function (selector, context)"

While working on deploying a web application using phonegap with afui (Intel Appframework UI) for Android, I encountered an issue when testing it in the android emulator. The debug console displayed the following error right after launching the app: Uncau ...

Having trouble accessing the input class with jQuery

When I click the "Reset To Default Settings" button in my form, I want to clear the default colors in my 4 color pickers. Each of them has an input type text field with the class anyicon-form-colorpicker. To achieve this, I locate the <a> tag and use ...

What is the best way to animate a 3D render based on scrolling with JavaScript?

My idea is to create a captivating animated 3D render that changes on scroll, much like the one featured on Apple's website. After inspecting the elements, it seems that this effect is achieved by using numerous images, each representing a specific fr ...

Deploying applications from a central server to the user's device

I am seeking a solution to remotely install my mobile application on users' devices from the organization's server. The goal is to streamline the process for users without requiring them to individually download the app from the app store. Is it ...

Can the navigation arrows be placed adjacent to the swiper container instead?

Has anyone successfully implemented swiper navigation arrows similar to the ones shown in this image? If so, could you please share how it was achieved? Here is an example for reference: I attempted to create stylized blocks and assign them as the origina ...

The size of an ImageView adjusts dynamically in response to changes in the size of a textfield

I designed a layout similar to this: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/tabBar" android:layout_width="fill_parent" android:layout_height="wrap_content" ...

Choosing elements from an array in real-time

Having a javascript array with JSON objects as values, such as: var array = [{"div0" : [2, 1, 3, 5]}, {"div1" : [1,5,7,8]}, {"div2" : [6,9,11]}]; I am able to manually select each object like array[0].div0, array[1].div1, array[2].div2. However, I' ...

Authorization through an external API

I am working on a website and I need to separate the front-end UI (html, css, client-side js) from the back-end business logic and authentication. My plan is to have one node app for the UI and another for the API. Is it possible to protect the UI pages w ...

Need help resolving the issue of retrieving feed error in Angular?

I am encountering an issue in Chrome that displays an error message: Error fetching feed: Undefined, 0. Do you have any suggestions on how to resolve this? Below is the Angular code I am using: // Implementing SimpleController, with data demoApp.controll ...

Obtaining the Time Zone from an Area Code Using JavaScript

Can a Script in JavaScript Determine the Time Zone Based on Area Code? I possess the Area Codes of the User. ...

Creating an array with checkboxes alongside key values can be achieved by following these steps in JavaScript

I'm looking for assistance in creating an array that can be passed via ajax to a PHP page. Here is the HTML code snippet: $(document).ready(function() { $('.p_options').change(function() { if ($(this).is(":checked")) { $(this ...

Issue with Next JS router.push not functioning unless the page is refreshed

I'm currently running Next.js 14.2 in my project with the page directory structure. After building and starting the application using npm start, a landing page is displayed with a login button that utilizes the <Link> component. I have also disa ...

Axios: Actions taken by users prior to logging in

After successfully sending "EnvioLogin" with the correct email/password, I am able to obtain the access token from "/login", but I encounter an issue when trying to access "/users" after that. Upon inspecting in my browser, I found these image links: https ...

Trouble with AdView: encountered ClassNotFoundException for org.json.JSONException

Despite not using JSON in my app, I am encountering a JSON error. Can someone please assist me with this issue? The app works fine when I remove com.google.ads.AdView, but then the ads stop working. I am running Android 4.2 and have added admob.jar to my l ...