Titanium app not opening android N - appcelerator-titanium

Appcelerator application is not opening after installation. I tried one android module which was invoked in index.js to check if device datetime was enabled.When i commented this module reference from tiapp.xml, it worked. But i need this module. Please help on this.

Which version of Titanium SDK are you using? If we consider that you are using SDK 6.0 and above, then for Android modules, you need to re-build them with Titanium SDK 6.0 to make it compatible. For this reason if you remove the module it is working fine. Can you rebuild the module using the updated SDK and confirm.

I found the root cause is that Camera,Location,Storage,Calendar permissions are not getting set on app launch. Once i enable them manually via device app settings its working. I tried to set these permissions via example in
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Android Permissions section but not getting set. Please advise how to set permissions in Android N

Related

Debugging a watchOS install from phone

I have an iOS app that I added a WatchOS to. I paired simulators, works fine. I build it for my iPhone, it runs fine. When I try to install the watch app to the watch from my phone, I get a generic error. The watch has plenty of storage. How can I see a log of why it refuses to install? image of the error
The error dialog on the watch says “This app cannot be installed because its integrity could not be verified“
Update: Could it be because another developer originally made the iOS project so it has a package name for his account? com.<hisName>... and since I am signing with my account, I would need to change the package name to com.<myName>.AppName & com.<myName>.AppName.watchkitapp?
Solved. The bundle IDs matched but they needed to be for my account since I was signing it. I added my watch to my account too (UIDD). I was able to also build straight to my watch if I desired while my phone was tethered to my laptop. When I installed a new iOS app, the watch app was automatically installed for me too.

expo dev client application doesn't open

I'm trying to use expo-dev-client to add react-native-sms-retriever library to my project because expo doesn't have a library that supports reading sms messages. In expo documentation, it's suggested that I should use expo-dev-client to add custom native code. You can see the documentation here: https://docs.expo.dev/workflow/customizing/#developing-apps-with-custom-native-code
I followed all of the steps in starting guide for expo-dev-client. https://docs.expo.dev/clients/getting-started/
But when I start my app using "expo start --dev-client" and run on android, a white screen is shown for a second and then I'm redirected to expo go application page.
in console, the following 2 lines are written:
› Opening on Android...
› Opening com.droppgroup.masterclean://expo-development-client/?url=http%3A%2F%2F127.0.0.1%3A8081 on LDN_L21
I tried this on real device and 2 other emulators but I got the same result. I reinstalled expo go application and it still doesn't work.
Any suggestions on what I can do to make this work?
The issue may be a problem with Expo config plugins, which configure native code for an Expo project, by configuring Info.plist for example. I am currently experiencing a similar issue, though after scanning the QR code, I am directed to a black screen in my Expo Dev Client which crashes and takes me back to the home page. The Dev Client worked perfected until I ran expo add react-native-bluetooth-classic, since I am trying to access iOS bluetooth APIs. I am currently working on this issue, but I just wanted to point you in the direction of config plugins since the examples Expo gives for customizing your runtime have config plugins registred in the "plugins" property of app.json.
It may be necessary to create your own plugin, though I am unsure.
Please let me know if you come up with any fixes, and so will I.

no ASP.Net Core Template in New ASP.Net Core Web Application screen Visual Studio 2017

I'm following a tutorial in developing .Net Core application and after selecting New>Project>ASP.NET Core Web Application
I then get a new window 'New ASP.NET Core Web Application' which in my tutorial shows three choices for template but mine is empty.
There is an option which says 'Get additional project templates' which I did but it just offered a project which I downloaded from GIT called 'Templates-Master'. I don't know how I get this into my templates. I also went to my Installation setup to see if I missed anything but as you can see below it all seems to be there.
The problem is without being able to select a template, I can't go any further. My tutorial seems to imply they should be there, what do I do?
For the warning and unexpected result, it seems you installed the wrong version of SDK.
Try to install SDK, choose the right version(x86).
If it still exists, try to check PATH environment variable points to the location in which the SDK is installed. The installer normally sets the PATH.
Reference: Troubleshoot ASP.NET Core projects

After new version is updated using WinSparkle it doesn't launch app automatically

I'm using WinSparkle (latest version 0.5.3) framework in my Qt C++ app for auto-update. It works perfectly with detecting new version, downloading and installing the new version automatically.
But I found after the new version is installed, it doesn't launch the app automatically, and users have to launch it manually.
I checked the WinSparkle API reference, but didn't find any settings related to this. I think it should have built-in support for auto-launching the app after update?
Is there a way in WinSparkle to handle it in the same way as Sparkle does?
I've got my answer from this Github issue: https://github.com/vslavik/winsparkle/issues/132
Bascially WinSparkle cannot do this at the moment, we should implement the auto-launching function in the Windows app installer itself.
But it would be nice to allow WinSparkle to update from a ZIP file, and then take the control of launching app automatically after update. Any relevant PRs are welcome.

Ionic.io 2, Apple Application Loader, Missing Code-Signing Certificate

I'm using Ionic.io to build an Ionic 2 project and generate an .ipa (for upload to Apple's TestFlight).
When I try to upload my development .ipa file using Apple Application Uploader I get the following error:
Invalid Provisioning Profile. The provisioning profile included in the
bundle xxx.xxx.xxxx [Payload/xxx.app] is invalid. [Missing
code-signing certificate]. A Distribution Provisioning profile should
be used when submitting apps to the App Store. For more information,
visit the iOS Developer Portal."
The .ipa file is being generated by ionic.io
Ionic.io security profiles and certificates have been created as per instructions here (have tried on both Windows and Mac):
http://docs.ionic.io/services/profiles/
I've reviewed the document many times and have created keys multiple times (in case something was missed).
I'm building development with the following command. My understanding is we don't want to use "--release" because that's only for the production profile. In fact, the ionic.io package fails to build if this parameter is specified for dev.
ionic package build ios --profile dev
Push notifications are not enabled.
I posted this to the Ionic2 forum too but there has been no resolution.
Has anyone got this to work or have any ideas?
You need a mac to sign your app with a Provisioning Profile
First Build your app
ionic build ios
Then Open your app with Xcode. you can find the the project in your xcode project
ionicProject > platforms > iOS > ionicProject.xcodeproj
You need to make sure your Xcode account is setup
Click on Xcode > Preferences... > click on the plus sign
once your account is linked and you have downloed all your Provisioning profiles you can click on your project on the left
and under General you can add your Provisioning Profile below signing
This answer adds additional detail to LeRoy's answer. Because ionic.io is currently broken, the work around is to use a Mac to generate the .ipa. Note that this successfully generates a "debug" .ipa. But the steps should be similar to generate a release .ipa.
Needed a mac in a hurry so signed up for a macincloud.com account which came pre-installed with Xcode version 8.2.1.
Setup iOS security profiles as per ionic.io documentation here: http://docs.ionic.io/services/profiles/. The documentation steps are clear. I followed all steps including adding profiles to ionic.io. I was able to create using Windows and Mac. Ultimately I decided to use the Mac generated security profiles (but I don't think this mattered).
Copied my entire Ionic 2 project to the Mac.
Ran on cmd line: ionic resources
For safety, ran on cmd line: ionic platform remove ios and then ionic platform add ios.
Ran on the cmd line: ionic build ios
This generates an xCode project.
Open Xcode application. Choose open another project and select file: /platforms/ios/[project].xcodeproj
Open Xcode. In preferences > accounts added my apple account and clicked the download button.
Select Generic iOS Device
Select Generic iOS Device
In project settings > Targets > General tab: checked Automatically manage signing and selected my profile from drop down. Sometimes I had to check/uncheck this to force it to work.
Xcode complained about a signing mismatch. In project settings > Targets > Build Settings tab: change Code Signing Identity to iOS Developer. Sometimes I had to add/remove the ios platform again to get around this error.
Xcode menu Product > Archive. Followed prompts to upload to iTunes.