I'm a ColdFusion, Flex, PHP, JS on MySQL, Oracle, MSSQL DB developer. New to Monaca / Onsen and loving every minute of it! Feel free to reach out to me at firstname.lastname@example.org
Check out many of my examples at: https://codepen.io/munsterlander/
Check out my code samples at: https://github.com/munsterlander/Onsen-Examples
Posts made by munsterlander
RE: Build is Successful, but postBuild fails - Crosswalk, getUserMedia, and TrackStartError
@khemry If you are looking at the current project, it is significantly different as I had to work around that error. The current code base was set for export so I could do a local cordova build and consequently the splash screen images are different.
Release build removes camera permission
So based on the other thread, but completely different. I have figured out the issue. Doing a release build is removing the CAMERA permission in the AndroidManifest.xml. I am using this in the config.xml:
<preference name="android-manifest/uses-permission/[@android:name='android.permission.CAMERA']/@android:name" delete="true" /> <preference name="android-manifest/uses-permission/[@android:name='android.permission.READ_EXTERNAL_STORAGE']/@android:name" delete="true" />
READ_EXERNAL_STORAGE makes it into the APK, but not camera. I verified this by decompiling the APK.
I have confirmed this is an issue with Monaca remote build and the custom config plugin. Although the Monaca docs state the aforementioned code will work, the docs for the plugin state that remote builds will fail. Not certain the exact cause here, but I did a straight Cordova local build with the exact same plugins minus the Monaca ones and doing a release build works exactly like it is supposed too.
Since I am using navigator.mediaDevices.getUserMedia as I need webRTC access, I am using this plugin to request permissions at runtime: https://github.com/dpa99c/cordova-diagnostic-plugin. There is some issue with the remote build and custom-config plugin that is removing the camera permission but not the others. Interesting bug none-the-less and local building with a traditional cordova project solves the issue.
Build is Successful, but postBuild fails - Crosswalk, getUserMedia, and TrackStartError
I am trying to build out a custom debugger testing crosswalk for webRTC compliance. The build is successful (twice now), but it won’t deliver a file. Here is the last bit of the log:
BUILD SUCCESSFUL Total time: 33.556 secs Built the following apk(s): /private/tmp/monaca/5a46698fe78885c81a8b4567/project/platforms/android/build/outputs/apk/android-debug.apk - postBuild - Built App Path: null App File not found. null Remove working directories... Build Error: Error: App File not found. null
RE: Achieving page Transition Animation
@timwd Depending on the component, yes you can. For navigator, check the docs here:
I also highly recommend reading the API docs here:
RE: How to add tab bar to pages?
@timwd In the dropdown of the tutorial site, are some common patterns. Although you want splitter and tabbar there is navigator and tabbar which is similar. http://tutorial.onsen.io/?framework=vanilla&category=common patterns&module=navigator_tabbar
RE: ons-back-button with refresh = true does not work
@mmike If I was doing what you describe, I would have page B on init calling the function for the data, so that way on pop of C, I can just recall that function. There is no refresh option that you mention that I am aware of. Another option is to use resetToPage(‘b’). This basically pops everything down to A and then reloads B.