Thank you, @emccorson! The build succeeded once I set the version to 2.7.0.
Hopefully OneSignal team figures this out in the near future!
Thank you, @emccorson! The build succeeded once I set the version to 2.7.0.
Hopefully OneSignal team figures this out in the near future!
Oh, okay. I’m using the plugin from “https://github.com/OneSignal/OneSignal-Cordova-SDK”, it is named as “onesignal-cordova-plugin”.
What’re my options out from here? Any suggestions from the past encounters of this error?
Thanks @emccorson. Yes this is on Monaca’s remote build service via Localkit. I’m not sure there’s specified a version of Java set to be used while on remote build… how do I check this?
…
Configuration ‘compile’ in project ‘:’ is deprecated. Use ‘implementation’ instead.
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
Download https://jcenter.bintray.com/com/onesignal/OneSignal/3.12.4/OneSignal-3.12.4.pom
:preBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:processReleaseManifest
:preReleaseBuild
Download https://jcenter.bintray.com/com/onesignal/OneSignal/3.12.4/OneSignal-3.12.4.aar
:CordovaLib:compileReleaseAidl
:compileReleaseAidl
:CordovaLib:packageReleaseRenderscript NO-SOURCE
:compileReleaseRenderscript
:checkReleaseManifest
:generateReleaseBuildConfig
:prepareLintJar
:generateReleaseResValues
:generateReleaseResources
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:mergeReleaseResources
:createReleaseCompatibleScreenManifests
:processReleaseManifest
:splitsDiscoveryTaskRelease
:CordovaLib:platformAttrExtractor
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:prepareLintJar
:CordovaLib:javaPreCompileRelease
:CordovaLib:processReleaseJavaRes NO-SOURCE
:compileReleaseNdk NO-SOURCE
:mergeReleaseShaders
:compileReleaseShaders
:generateReleaseAssets
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:mergeReleaseAssets
:mergeReleaseJniLibFolders
:CordovaLib:compileReleaseNdk NO-SOURCE
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNativeLibsWithMergeJniLibsForRelease
:CordovaLib:transformNativeLibsWithIntermediateJniLibsForRelease
:processReleaseJavaRes NO-SOURCE
:validateSigningRelease
:CordovaLib:processReleaseResources
:processReleaseResources
:generateReleaseSources
:CordovaLib:generateReleaseSources
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease
:javaPreCompileRelease
:compileReleaseJavaWithJavac FAILED
38 actionable tasks: 38 executed
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 14s
Error: /private/tmp/monaca/5dfa2e0ae788853a5900a998/project/platforms/android/gradlew: Command failed with exit code 1 Error output:
注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
/private/tmp/monaca/5dfa2e0ae788853a5900a998/project/platforms/android/src/com/plugin/gcm/OneSignalPush.java:159: エラー: switch内の文字列は-source 1.6でサポートされていません
switch(action) {
^
(switch内の文字列を使用可能にするには、-source 7以降を使用してください)
注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
エラー1個
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 14s
Any idea how can this be fixed?
I created the backend as per document, but when I click register or manually register via monaca IDE backend UI and then log in via the memo demo app, nothing happens.
Hi,
Can monaca cloud (user, collections, etc) be used from a monaca html+angularjs app deployed on a web based browser? Is there any dependency on cordova plugins for using monaca backend - in a way that it can be used only via mobile devices?
Thanks in anticipation!
S
Hello,
The recent october play store policy update will limit which apps are allowed to request Call Log and SMS permissions. I received an email from playstore saying my app is affected.
I’m developing a cordova based app and I never use nor request a RECEIVE_SMS permission. I used “QuickLookAPK” from github to kind of inspect my app and also searched through the whole file system - to see if my app or any of its plugin dependencies requests that permission but I was not able to find any.
Anybody else facing this? I’m not sure yet how to find what is/can possibly turn out into requesting the receive_sms permission.
Any help would be great!
@azure313 yes. Let’s assume your item object has the height attribute. Simple example could be store your item into a array accessible by index, and use that to return the height. E.g. -
calculateItemHeight: function(index) {
return storedItems[index].height;
}
This is similar to how I am using it. If your item object doesn’t have height attribute, may be index can lead to finding height via some api call?
calculateItemHeight: function(index) {
return //make an api call here with index to find height.
}
As far as I know, returning height dynamically has to be based around index. I’m not sure how to use it directly with the itemScope.item that is in picture at that moment in time. May be others with more knowledge can help me here.