Skip to content

Commit

Permalink
Merge pull request #32 from taras-omelchuk/master
Browse files Browse the repository at this point in the history
Update "Secure-ICC",  "Secure-Icc-Ionic-Capacitor-Angular" samples for 11.1 release
  • Loading branch information
matt-falkner committed Aug 31, 2023
2 parents a3b8efa + 6d8aaed commit f8a8ef0
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 16,872 deletions.
10 changes: 5 additions & 5 deletions Secure-ICC/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ This sample application is written using the Ionic framework. It demonstrates us
* Secure Storage Management

## Requirements
* Node 12.x.x
* Node 14.x.x
* Ionic 6
* Cordova 11
* Dynamics SDK for Cordova v11.0
* Dynamics SDK for iOS v11.0
* Dynamics SDK for Android v11.0
* Cordova 11.0.0, 11.1.0
* Dynamics SDK for Cordova v11.1
* Dynamics SDK for iOS v11.1, v11.2
* Dynamics SDK for Android v11.1, v11.2

## Author(s)
* [Volodymyr Taliar](mailto:vtaliar@blackberry.com), [Taras Brateiko](mailto:tbrateiko@blackberry.com), [Taras Omelchuk](mailto:tomelchuk@blackberry.com)
Expand Down
12 changes: 6 additions & 6 deletions Secure-Icc-Ionic-Capacitor-Angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Features include:
* Secure Storage management

## Requirements
* Node 12.x.x
* Node 18.x.x
* Ionic 6 + Capacitor 4 + Angular
* Dynamics SDK for Cordova 11.0
* Dynamics SDK for iOS 11.0
* Dynamics SDK for Android 11.0
* Dynamics SDK for Cordova 11.1
* Dynamics SDK for iOS 11.1, 11.2
* Dynamics SDK for Android 11.1, 11.2

## Author(s)
* [Volodymyr Taliar](mailto:vtaliar@blackberry.com), [Bohdan Pidluzhnyy](mailto:bpidluzhnyy@blackberry.com), [Taras Omelchuk](mailto:tomelchuk@blackberry.com)
Expand All @@ -31,8 +31,8 @@ Features include:
`$ cd <path>/BlackBerry_Dynamics_SDK_for_Cordova_<version>/SampleApplications/Secure-ICC-Ionic-Capacitor-Angular`
`$ npm i`
* Add platform:
`$ ionic cap add ios`
`$ ionic cap add android`
`$ npx cap add ios`
`$ npx cap add android`
* Add Capacitor Base plugin:
`$ npm i git+https://github.com/blackberry/blackberry-dynamics-cordova-plugins#capacitor-base`
* Build project:
Expand Down
13 changes: 7 additions & 6 deletions Secure-Icc-Ionic-Capacitor-Angular/hooks/copyData.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2022 BlackBerry Limited. All Rights Reserved.
* Copyright (c) 2023 BlackBerry Limited. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,12 +14,13 @@
* limitations under the License.
*/

import path from 'path';
import fs from 'fs';
import fse from 'fs-extra';
import shell from 'shelljs';

(function() {
const shell = require('shelljs'),
fse = require('fs-extra'),
path = require('path'),
fs = require('fs'),
projectRoot = process.env.INIT_CWD,
const projectRoot = process.env.INIT_CWD,
androidProjectRoot = path.join(projectRoot, 'android'),
iosProjectRoot = path.join(projectRoot, 'ios'),
projectDataPath = path.join(projectRoot, 'src', 'data'),
Expand Down

0 comments on commit f8a8ef0

Please sign in to comment.