Universal Link does not open app in ad hoc installable build - ios-universal-links

I have added universal link support for an app. The following are added
aasa file is added at the root of the Website URL.
The entitlements file contains the appropriate URL
When the device is connected and app is installed using Xcode in Debug mode, the Universal linking works (Tapping on a link present in Mail opens the app).
However, when the app is archived and installable is created, tapping on the link opens the app in Safari Browser instead of opening the installed app.
Am I missing any other detail specifically while creating an archived installable ?

Resolved:
Add the .entitlements file in the Build Phases -> Copy Bundle Resources option.
While exporting validate that the entitlement for Associated Domain is available. If not, then turn the Capability On/Off, Close Xcode and reopen and then retry. Once it is available, then export the Archive.
Lastly, set a valid path "/somepath" instead of simply "*" in the aasa file.
Making the above changes helped to get it working.

Related

how to implement ios & android google login in capacitor?

I am using capacitor-firebase-auth to set up my app. Already follow below guide line to setup, but the result still return
"CapacitorFirebaseAuth" plugin is not implemented on ios
URL: undefined
is anyone know what is problem?
Add custom URL schemes to your Xcode project:
Open your project configuration: double-click the project name in the left tree view. Select your app from the TARGETS section, then select the Info tab, and expand the URL Types section.
Click the + button, and add a URL scheme for your reversed client ID. To find this value, open the GoogleService-Info.plist configuration file, and look for the REVERSED_CLIENT_ID key. Copy the value of that key, and paste it into the URL Schemes box on the configuration page. Leave the other fields blank.
You need to add the URL that is requested in the info.plist file of your project, you will find this in the main target of your app [1]: https://i.stack.imgur.com/PLLgf.png
Btw, you will probably also need to add GoogleService-Info.plist to your project as well if you haven't already, you can find this in the project settings of your firebase panel (cog icon top left on firebase dashboard) and setup the SDK for iOS etc.
If you don't know your reversed-client ID, follow the instructions above to get the GoogleService-Info.plist, it is located in that file. Firebase will also give you instructions as to how to configure your project.

How can I enable directory listing for a nexus3 raw repository?

In the past I was able to view the contents of my raw repository to which I upload my javadoc sites (through dav:http:// using mvn site-deploy):
e.g. Accessing from the browser: http://myserver/nexus/content/sites/my-raw-repository/ would list the subdirectories.
Now (after admin upgraded to nexus 3.20) directory-listing does not work and I have to explicitly request for a resource page e.g.:
http://myserver/nexus/content/sites/my-raw-repository/artifact-site-name/1.0.0/apidocs/index.html
Is there a way to bring back the directory listing?
This closed issue says that nexus3 supports it, but I cannot figure out how.
I found the issue. The repository browser url is now differrent.
content/sites has become: service/rest/repository/browse.
(The old path is still available but with no directory listing. Based on the findings below, I guess it is deprecated)
I went to the browse left-menu-option -> select the raw repository -> clicked on the Html View link and it took me to the correct location.
The new link is now: http://myserver/nexus/service/rest/repository/browse/my-raw-repository/
Something noteable is that now when reaching the actual resource file (e.g. html),
that resource file link is differrent: http://myserver/nexus/repository/my-raw-repository/path/to/the/htmlpage.html
so instead of service/rest/repository/browse/my-raw-repository/ it is repository/my-raw-repository/ (which also does not support directory listing)

my NativeScript app dosent display the google maps

here is my code :
https://github.com/jonny720/do-here-client/tree/master/do-here
i took the map component code from here :
https://github.com/dapriett/nativescript-google-maps-sdk/tree/master/ng-demo/app/map
the map component should display the google maps but nothing is shown.
*i installed google maps sdk, and setup the api key in the android platform.
its the first time i'm working with api in my app.
can someone light my eyes and tell me what is the problem?
The api key is missing and you should register custom element in main.ts file, and the 2 files to copy from the nativescript-google-map module were missing from your app folder
and as well as the key too.
I forked your repo and update the app, also created a .gitignore file to exclude unnecessary files and folder from repo.
I tested and it works fine.
You will have to update these files with your appropriate Google API key
> do-here/app/main.ts
> do-here/app/App_Resources/Android/values/nativescript_google_maps_api.xml
> do-here/app/App_Resources/Android/src/main/res/values/nativescript_google_maps_api.xml
and update this file to redirect all unauthorized access back to login page, changed it to test the map page
do-here/app/#shared/services/auth-guard.service.ts
ok first thank you a lot KielSoft
i solved it by typing in the cli :
tns tun android --clean

Can't add an add-on to my alfresco server 4.2.f

(Sorry for my english)
I'm trying to install the add-on: https://github.com/share-extras/reset-password-dialog. I do what it says to do to install it:
I put the "reset-password-dialog-2.0.1.jar" file in: /opt/alfresco-4.2.f/tomcat/shared/lib/
I then restart the alfresco server by doing:
/opt/alfresco-4.2.f/alfresco.sh stop
/opt/alfresco-4.2.f/alfresco.sh start
After the restart there should be a link to reset my password on the login screen but I don't see it
I've tried to activate the add-on by going on the module deployment page but on it I only see "Alfresco portlet extension" in available module
I have also tried to put the file in different directory like: /opt/alfresco-4.2.f/tomcat/lib/ and /opt/alfresco-4.2.f/tomcat/webapps/alfresco/WEB-INF/lib/
Is this the correct way to add an add-on ?
The plugin which you are using is not designed for the latest version or version which you are using.There are some files which are changed in alfresco version 4.2f.I have designed new solution which is compatible with your version.There may be some designing issue, but you can change it in login.get.html.ftl file.Functionality is working.I will soon update changes in git repo.
Git location for this project is as below.
https://github.com/krutik-jayswal/alfresco-solutions/tree/master/reset-password-dialog.

Blackberry Playbook App Debug Installation Error

I am trying to install a Blackberry Webworks App from my MAC onto a playbook using a usb cable and terminal line commands blackberry-deploy -installApp...
I am getting an error referring to an author mismatch between application and debug token
result::failure 881 application author does not match debug token author
has anyone had the same issue?
thanks
Paul
Try to set the following properties in your bar-descriptor.xml file
<!-- Name of author which is used for signing.
Must match the developer name of your development certificate -->
<author>**</author>
<!-- Unique author ID assigned by signing authority. Required if using debug tokens -->
<authorId>**</authorId>
"I had similar issue. Check that in blackbery-tablet.xml and fields are correct.
To get the right values for those fields just rename your packed .bar file to .zip, then unarchieve it. There will be manifest.mf file in META-INF folder. Open it with notepad. Grab and values from there and rebuild your app.
If that does not help, then rebuild debug token and make sure you install it on the device. Debug token needs to have correct device pin.
Please click the Thumbs Up icon if this comment has helped you! If your issue is resolved, please click the solution button on the resolution!" - source : http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Failure-881-Application-Author-does-not-match-debug-token-author/m-p/2055935#M32567
I had similar issue. and it was not an "author" problem : I was trying to deploy in debug mode and the debugToken was just not installed on the device.
The debugToken must be on the device so that the deploy can work. You can upload the debugToken with :
blackberry-deploy -installDebugToken debugtoken.bar -device 169.254.0.1 -password
hope this helps :)
Open the bar file with WinRar BUT DO NOT EXTRACT. Doing so will corrupt the META file. Within the WinRar Application locate the META.INF file and double click to open. (if the file type is not set to open with Notepad automatically choose it as the preferred application to do so.)
In the open Notepad with the META info, change the author name and author ID to that of your existing debugtoken. (This can be accessed from the debugtoken via the same process to locate the desired application's META.INF).
Close Notepad and choose to save upon exit. WinRar SHOULD ask if you would like to save it to the archive. Simply choose yes, then exit and attempt the installation again with the newly edited application bar file.
I observed that using this method, there is no change in the size of the originally packed file and supposedly no damage to its original contents.
Open with a text editor the file blackberry-tablet.xml, the file is inside your <BlackBerry WebWorks SDK Tablet install folder>\bbwp\AirAppTemplates\src\.
You should see a section with something like:
<publisher>Sample Inc.</publisher>
<category>core.internet</category>
after this section you have to add
<author>*replace with your author name info*</author>
<authorId>*replace with your author id info*</authorId>
You'll have to get your author and your author id info from the debug token that you uploaded on your PlayBook. You should have your debug token on your computer, rename .bar to .zip and extract. With a text editor look in the META-INF folder at the MANIFEST.MF file for values for Package-Author: and Package-Author-Id: folowed by the actual string values.
Hope this helps.

Resources