Install Expo application directly on device - expo

I would like to install Expo iOS application directly on my device instead of going to review with AppStore.
I been working on an app which is entirely personal application, and I would like to install it directly on my device.
I been using Expo Go for testings, but I want to be able to have it installed on my device as a standalone application that was not published to Appstore.
How could I do that?

Do the following:
Connect iPhone via USB
Run expo run:ios in your expo project, an emulator should come up with your app. You can just ignore it. This was the only way I could find to avoid going through EAS and therefore having to have a $100/year account. Even build:ios wanted a paid account.
Now that the ios directory has been created, open that in Xcode. You should see the phone's name at the top.
After it does all its indexing and downloading, you need to set up the signing. First go to Preferences -> Accounts and sign in with your apple dev account (doesn't need to be paid)
Go View -> Navigators -> Project -> $app-name -> Signing & Capabilities and fill in the team and whatever else is there.
Press run in Xcode, and the app should be built onto your phone!
Some notes:
You need a paid account for notifications. You can remove the expo-notifications dependency for testing on your devices
I had to change from an nvm installation of node to a brew one.
Happy coding!

Go into your Project directory and open a Terminal. Then just type in "expo build:ios".
Check here:
https://docs.expo.io//distribution/building-standalone-apps

Related

React-device-info issue in expo and ui-kitten

Good morning every body,
I'm having an issue using expo and ui-kitten. I'm pretty much familiar
with react-native-element as UI library for react native. But I found
out that ui-kitten has some stunning features for theming and styling
in react-native, expo and I follow this link
https://github.com/akveo/react-native-ui-kitten explained by
https://justinnoel.dev/2019/12/21/create-universal-react-native-apps-using-expo-for-web-and-ui-kitten.
In the app's directory I have the regular expo folders and another folder src where ui-kitten components rely.
But When trying to design my app using ui-kitten glossary, I was asked to install #react-native-community/react-device-info which is used by a component inside node-module.
The problem occurs when I use DateFns in the app to parse and format dates. Install #ui-kitten/date-fns ends up with this error " Error #react-native-community/react-device-info : NativeModule.RNDevice is null ". I tried the suggested steps by stack trace:
To link react-device-info to react-native if my react native version
was <=0.59, but mine is 0.61.4
To instal pod if I was using cocoa pod, but I'm not.
To rebuilt and re-run ( I rebuilt and re-run using same steps and
got same result).
The screen is here
So how can I fix this error which to me seem to be having no real clue whether it's from expo's dependencies or from a bug inside ui-kitten modules, or a conflict between the two.
Any help will be much appreciated !
THIS IS MY CONTEXT:
The main goal is to use ui-kitten along with expo features
I run the app on android emulator
The problem started after installing date-fns. Is expo not able to retrieve native data such as date time or calendar from device? How to fix that.
Thanks in advance.
UI Kitten has no common with react-native-device-info. If you're not using Expo, you should do exactly what the error says: link the library.
If you do, see Expo implementation for this package.
There are two way to troubleshoot this issue, by ejecting expo or by rebuilding another app. The fact is that expo does not support native modules such as device time or geolocation, I just forgot. That said using device's properties with expo is not feasible.
So the first approach is to eject expo by running expo eject. But it goes across the bord that expo has some facilities regarding dependencies and deployments. So the best option is to rebuild another expo app with ui-kitten but avoiding to use any feature from react-native and ui-kitten that calls the device info, and after deployment add the functionalities of the app that require the device's features such camera, geolocation or device's date and time.

Windows Store deployment file from folder instead of MSI

I want to ask you a couple of questions i looked in internet and didn't found an answer though...
I have an application for windows 10 PCx64 (artifacts of a built project C++/x64)
Is it possible to create odrinary Windows Store deployment file from folder?
How to do that? As i see MS is pushing new 'universal applciations' concept. But i don't want to rewrite apps entirely to .net/c#/Universal Apps. I just want to change build process so it will produce windows store deployment file, not MSI
Thanks!
You will soon be able to create a Windows Store package for a Win32 app and deploy it through the Windows Store. You'll even get access to UWP APIs and services :)
Subscribe to the "Windows Developer Preview Programs" to get some fresh news about "Project Centennial".
https://devpreviewsignup.windows.com/

Publishing to ProGet and I can't see any packages

I'm trying to set up a NuGet server using ProGet and am hitting a brick wall when publishing a package and it doesn't appear in the feed. The package is written to disk and works in other NuGet feeds. Other packages also don't appear in the ProGet feed so I'm pretty certain that the package is fine and that the problem lies with ProGet.
I'm using the community version of ProGet, but I don't see why that would affect anything.
Any ideas are most welcome!
The ProGet service is responsible for indexing packages, so if it's not running, packages could be uploaded but not displayed in any feeds. Here are the common troubleshooting steps for this scenario:
Verify that the ProGet Windows service (INEDOPROGETSVC) is running.
Ensure that the user account hosting the ProGet service has access to the feed storage path. Since it is NETWORK SERVICE by default, it would not see your mapped drives, and may not have access to the UNC path where the packages are stored.
Try running the ProGet service interactively, i.e. stop the ProGet Windows service and run ProGet.Service.exe manually as a console application to see any live output. Remember to restart the ProGet service when you close the console application.
Check for feed indexing errors to see if there was a problem indexing a particular packages. I know in much older versions that single "poisoned" packages (bad .nuspec file, invalid directory structure, etc.) could halt the indexing altogether.
Thanks John Rasch, found that your first point gave me what i needed to look in the right direction.
I could not find the (INEDOPROGETSVC) service but I did find (ProGet Servie) - I restarted this and then refreshed the my feed and all the missing packages showed up.
My version of ProGet is v3.3.12
Thanks John.

Sitecore SIM Installation permission error

I am trying to install SIM version 13 rev 1404021 using Administrative priveleges
When i click on Grant button it give me error that " you dont have neccessary permission set".
Also i have given full permission to Network Service,IUSR, IIS_USR and network to the folder
C:\Inetpub\wwwroot
Kindly let me know whate else permission need to be given inorder to run sitecore instance manager succesfully.
It may be caused by bug in SIM that doesn't get actual SQL Server user account (LocalService or custom) and thinks that it is always NetworkService. So work around is to switch your SQL Server service from using LocalService or custom account to NetworkService.
Same context with Alen's answer, but in windows 10.
Use 'Local System account' and tick the 'Allow service to interact with desktop'.
Then, restart the service.
At this point, you don't need to reopen the SIM installation window. You can just click the Grant button and it would work.
Well, for me the issue was that the database user didn't have the dbcreator role so the wizard couldn't create databases in SQL Server.
Open SQL Server Management Studio
Expand Security > Logins
Double-click on the user to open the properties dialog
In Server Roles, check the dbcreator role
Press OK and enjoy
Source: http://sitecoreblog.patrickperrone.com/2015/04/a-simple-error.html
When you downloaded the SIM zip file from Marketplace, did you click "Properties" on the zip file and click the "Unblock" button before unzipping and running it?
I've found in the past that forgetting this step can be the cause of odd security related errors with applications.
I ran across a similar issue I had, but for me root issue was that the wwwroot folder was on a VM/Parallels and that folder was marked "compress" and "archive"
unset that for wwwroot and child items, and then SIM proceeded correctly.

how to deploy c++ application and create setup file for my music player

I have developed one music player in C++. Now I want to create setup.exe for that application so that i can put that application for downloading for other users. When we download some software from website we get setup for installing that application. I want to know how can i create that setup file for me cpp application. Please help as soon as possible
For Windows platform
There are loads of solutions some free some not
personnaly I'd recommend wix (it's free, it uses windows installer technology) but for some it's overkill
checkout
http://wix.tramontana.co.hu/
for a great example/cook book
Others include
install shield http://www.installshield.com/ (used to have a cool debugger, but not free)
inno Setup (http://www.jrsoftware.org/isinfo.php)
Wise Installer (OK looks like it's dead!)
Do it by hand using ORCA (an MSI editor http://msdn.microsoft.com/en-us/library/aa370557(v=vs.85).aspx)
WIX 3.X (http://wix.codeplex.com/releases/view/115492)
You can also do this with the free edition of Advanced Installer. Here is 5 minutes tutorial showing how to do it: http://www.advancedinstaller.com/user-guide/tutorial-simple.html
To create projects of type "Simple" you don't need a license and you can deploy the package for commercial purposes too.