Giter Club home page Giter Club logo

devcenter's Introduction

This repository contains the source code for the IBM MobileFirst Foundation developer center. https://mobilefirstplatform.ibmcloud.com

Contributing

If you'd like to contribute, please see the contributing.md file for instructions.
See our onboarding guide to get start locally.

License

Copyright 2016 IBM Corp. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

devcenter's People

Contributors

amichaim avatar andriivasylchenko avatar briany5 avatar cadawson avatar eng618 avatar haimsch avatar hisubram avatar hkenc avatar idanadar avatar jergirl avatar jmeis avatar johnkgerken avatar ktop avatar liorbu1 avatar liorlu avatar nathanhazout avatar prashanthbhatbg avatar sandsuma avatar sjimdickens avatar soshanth avatar sreelathasankaranarayanan avatar sriharikulkarni avatar srukotta avatar svkrish avatar taitelman avatar tchengus avatar urisegev avatar vittalpai avatar ynunez avatar yotam123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

devcenter's Issues

Can we use CLI to run a command like we use Eclipse(Build all environment)?

I am using MFP 7.1 for our commercial project ,due to some reason, now we are using android studio andXCode as our environment to develop(Android client and iOS client),So eclipse is only used to "build all", is there any command that we can use to build all by CLI Command ,I tried
`

cd /myproject dir/(when type ls ,I can see apps folder)
mfp start
mfp build
`

and it doesn't have any response and logs, I think it didn't build all.
any idea about this problem?
Thanks in advance.

Search is broken

We are aware of an issue affecting the infrastructure of our search functionality and are working on resolving it.

undefined variables

Issue Details

Related issue

The installation script for mobile foundation seems to have some errors, as the variables:
${MF_IMAGE}
${OPERATOR_IMAGE_TAG}
${CONTAINER_REGISTRY_URL}

are not defined.

MobileFirst Migration Assist tool not working (Migrate from 7.0 to 8.0)

Hi Everyone,
While conversion of IBM Mobilefirst Platform 7.0 hybrid source code to IBM MobileFirst Platform 8.0 source code using mfpmigrate assist tool, I am getting an error as follows:

C:\Mobilefirst>mfpmigrate client --in C:\Mobilefirst\Example --out C:\Mobilefirst\CordovaNewCode
Error: An error occured during execution of command.
Error: Option '--in' cannot be equal to option '--out'
Also, if I am using scan then it says No deprecated or not supported APIs found.. Even though I have used old API as mentioned for IBM Mobilefirst Platform 7.1 and below versions.

C:\Mobilefirst>mfpmigrate scan --in C:\Mobilefirst\Example --out C:\Mobilefirst\CordovaNewCode
Starting the process to detect deprecated and not supported APIs...
Getting files from C:\Mobilefirst...
Scanning C:\Mobilefirst...
No deprecated or not supported APIs found.
Process to detect deprecated and not supported APIs has completed.
Please let me know why it is not converting hybrid to cordova IBM MobileFirst Platform 8.0.

Thanks,
Deepak

cordova-plugin-mfp & cordova-plugin-mfp-jsonstore | Not supported with Cordova 12

Issue Details

  • Plugin doesn't support this project's cordova-android version. cordova-android: 12.0.0, failed version requirement: >=6.1.2 <12 Skipping 'cordova-plugin-mfp' for android
  • Plugin doesn't support this project's cordova-android version. cordova-android: 12.0.0, failed version requirement: >=6.1.2 <12
    Skipping 'cordova-plugin-mfp-jsonstore' for android

Related issue

https://stackoverflow.com/questions/77149983/cordova-plugin-mfp-does-not-support-cordova-android-12

Mfp 8.0 ifix installation issue

Hi,
I'm facing issue when i update ifix using server configuration tool.

Buildfile: C:\Users\Administrator\Documents\IBM MobileFirst Platform Server Data\Server Configuration Tool\MobileFirst_Configuration_MobileFirst\MobileFirst.xml

admupdate:
[updatemobilefirstadmin] [08/03/2022 12:25:32:497 IST] Logging output of task to file C:\Users\Administrator\Documents\IBM MobileFirst Platform Server Data\Configuration Logs\updatemobilefirstadmin_2022_03_08_12_25_31.log

BUILD FAILED
C:\Users\Administrator\Documents\IBM MobileFirst Platform Server Data\Server Configuration Tool\MobileFirst_Configuration_MobileFirst\MobileFirst.xml:217: Illegal JEE configuration detected in the Liberty installed in C:\Program Files\IBM\WebSphere\Liberty:
The server.xml has already configured both JEE6 features and JEE7 features.
Check the features listed in the section of the server.xml

Total time: 2 seconds

Thanks!!

mfp-devkit-mac-0323-1719.zip not found

Hi,

I'm trying to download and install mfp-devkit-mac-_-_.zip but I can't find it.
We need to migrate from mfp 7.1.3 to 8.0 and can't find the devkit. I saw video tutorials about setting up but "Downloads" section says "Stay tuned"
Can you advise, please?

Thank you!

Docs are missing

I just recently started to using IBM Mobile first SDK for Cordova and Mobile First Server. When I began my research on the topic the docs had much more rich information in various topics. The documentation for MVVM Pattern is missing, as well as the API specification (I know there is one but the previous one was much more detailed), also the section for hybrid UI is missing; just to mention a few.

Where they moved to other site or link? Are you going to put them back?

Thanks

Incompatibility issue of test workbench with mobilefirst 8.0

Hi ,

I am trying to test my cordova application(mobile first 8.0) with IBM Mobilefirst test workbench 8.7.
But when I am trying to add my android application's .apk file it shows error.
Please refer the below link for the error screenshot
image

iOS app crashes if the running worklight version is expired

Hi @nasht00 @krckumar @sjimdickens @csantanapr ,

My iOS app uses IBMMobileFirstPlatformFoundation. I am facing a weird issue at a particular point.
Actually we want to test a forcefull upgrade scenario if we want to mark any public iOS app version outdated so that we could ask our customer to update the installed iOS version from the app store.

To do this, we just mark the MFP application version(worklightconsole) expired in and once we do it as soon the iOS app launched we start getting the forceful upgrade message along with the download URL. I verified this alert is triggered from the WLClient library itself we don't have access to that piece of code.

But here the issue is our app is getting crashed after that alert if we perform any activity in our app. We have a screen where we have mfp adapter calls (as these services are called on, again we get the same alert) but after such attempts app is getting crashed.

Here one of the crash logs

WORKLIGHT] Uncaught Exception: *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array 2019-10-10 11:55:00.252534+0400 App_Name [810:52186] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
`

[Animation] +[UIView setAnimationsEnabled:] being called from a background thread. Performing any operation from a background thread on UIView or a subclass is not supported and may result in unexpected and insidious behavior. trace=( 0 UIKitCore 0x000000021c0e84d4 <redacted> + 116 1 libdispatch.dylib 0x0000000108040c74 _dispatch_client_callout + 16 2 libdispatch.dylib 0x0000000108042c84 _dispatch_once_callout + 84 3 UIKitCore 0x000000021c0e845c <redacted> + 100 4 UIKitCore 0x000000021c0e85c8 <redacted> + 92 5 UIKitCore 0x000000021b3c7fdc <redacted> + 152 6 App_Name 0x0000000103ec20a8 -[RemoteDisableChallengeHandler handleFailure:] + 1012 7 App_Name 0x0000000103eceb54 __43-[WLRequest processFailuresWithDictionary:]_block_invoke + 412 8 CoreFoundation 0x00000001ef72de4c <redacted> + 84 9 App_Name 0x0000000103ece984 -[WLRequest processFailuresWithDictionary:] + 160 10 App_Name 0x0000000103ee1a0c -[WLAuthorizationManager handleRedirectWithResponse:request:] + 1048 11 App_Name 0x0000000103eca56c -[WLRequest requestRedirected:] + 120 12 App_Name 0x0000000103e811ec -[WLAFHTTPRequestOperationManagerWrapper requestRedirected:response:] + 1136 13 App_Name 0x0000000103e7fd84 __47-[WLAFHTTPRequestOperationManagerWrapper start]_block_invoke240 + 148 14 App_Name 0x0000000103e47480 -[WLAFURLConnectionOperation connection:willSendRequest:redirectResponse:] + 244 15 CoreFoundation 0x00000001ef83fba0 <redacted> + 144 16 CoreFoundation 0x00000001ef721c90 <redacted> + 292 17 CoreFoundation 0x00000001ef7228c4 <redacted> + 60 18 CoreFoundation 0x00000001ef83da5c <redacted> + 636 19 CoreFoundation 0x00000001ef83f9fc _CF_forwarding_prep_0 + 92 20 CFNetwork 0x00000001f001396c <redacted> + 152 21 CFNetwork 0x00000001f00527b0 <redacted> + 60 22 CFNetwork 0x00000001efddd608 <redacted> + 196 23 CFNetwork 0x00000001efddd660 <redacted> + 56 24 CFNetwork 0x00000001f0012d90 <redacted> + 112 25 CFNetwork 0x00000001eff5dff8 <redacted> + 328 26 CFNetwork 0x00000001eff5d86c <redacted> + 108 27 libdispatch.dylib 0x0000000108040c74 _dispatch_client_callout + 16 28 libdispatch.dylib 0x0000000108044840 _dispatch_block_invoke_direct + 232 29 CFNetwork 0x00000001f0031b20 <redacted> + 36 30 CoreFoundation 0x00000001ef76b490 CFArrayApplyFunction + 80 31 CFNetwork 0x00000001f00319f0 <redacted> + 128 32 CFNetwork 0x00000001f0032b54 <redacted> + 312 33 CFNetwork 0x00000001f00328d0 <redacted> + 60 34 CoreFoundation 0x00000001ef7ca2bc <redacted> + 24 35 CoreFoundation 0x00000001ef7ca23c <redacted> + 88 36 CoreFoundation 0x00000001ef7c9b24 <redacted> + 176 37 CoreFoundation 0x00000001ef7c4a60 <redacted> + 1004 38 CoreFoundation 0x00000001ef7c4354 CFRunLoopRunSpecific + 436 39 Foundation 0x00000001f0191fcc <redacted> + 300 40 Foundation 0x00000001f01cd49c <redacted> + 88 41 App_Name 0x0000000103e41f4c +[WLAFURLConnectionOperation networkRequestThreadEntryPoint:] + 308 42 Foundation 0x00000001f02be6e4 <redacted> + 984 43 libsystem_pthread.dylib 0x00000001ef4582c0 <redacted> + 128 44 libsystem_pthread.dylib 0x00000001ef458220 _pthread_start + 44 45 libsystem_pthread.dylib 0x00000001ef45bcdc thread_start + 4 )

Uncaught Exception: Engine marked as needing optimization even though it's already in progress. 2019-10-10 12:34:30.871948+0400 APP_Name [860:60246] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Engine marked as needing optimization even though it's already in progress.

Uncaught Exception: Exercised class for selector implementation needs to be pushed 2019-10-10 12:49:18.786861+0400 APP_Name[898:64810] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Exercised class for selector implementation needs to be pushed'

Other details

Worklight platformVersion -- 7.1.0
iOS version -- 12.x

It would be great if you guys can help me in this regard

Unable to run application

Hi Team ,

I am new to MobileFirst development foundation 8. I have installed cli , android sdk , cordova cli and started server on my end .
I have environment variables set for Android SDK tools and have installed build_tools.
I ran mfpdev app register , the app got registered . But when I run mfpdev app preview , I get error
"the specified platform version is invalid for platform 'android'".
How can this be resolved at our end ?

image

MFP Migration tool is not downloading using NPM install (with and without the zip file)

When running npm install -g mfpmigrate-cli I keep getting the following error messages regarding .staging. One example is as follows:

npm WARN tar ENOENT: no such file or directory, open 'C:\Users[userName]\AppData\Roaming\npm\node_modules.staging\lodash.tostring-cb7aa638\package.json'

I have used two different machines and wifi connections to try and install this tool. Furthermore I have tried to reinstall my node_models files and npm itself as that was recommended in other cases. I get the same error when trying to install previous versions as well.

Could someone guide me on how to install this tool so I can convert my 6.3 application to 8.0.
tempsnip

JSONStore can't pass the xcode build.

It gives me the following errors when tried to build app after I added JSONStore plugin:

duplicate symbol OBJC_CLASS$_StoragePlugin in:
MFPStarterCordova/Plugins/cordova-plugin-mfp/IBMMobileFirstPlatformFoundationHybrid.framework/IBMMobileFirstPlatformFoundationHybrid(StoragePlugin.o)
MFPStarterCordova/Plugins/cordova-plugin-mfp-jsonstore/IBMMobileFirstPlatformFoundationHybridJSONStore.framework/IBMMobileFirstPlatformFoundationHybridJSONStore(StoragePlugin.o)
duplicate symbol OBJC_METACLASS$_StoragePlugin in:
MFPStarterCordova/Plugins/cordova-plugin-mfp/IBMMobileFirstPlatformFoundationHybrid.framework/IBMMobileFirstPlatformFoundationHybrid(StoragePlugin.o)
MFPStarterCordova/Plugins/cordova-plugin-mfp-jsonstore/IBMMobileFirstPlatformFoundationHybridJSONStore.framework/IBMMobileFirstPlatformFoundationHybridJSONStore(StoragePlugin.o)
duplicate symbol OBJC_IVAR$_StoragePlugin._operationQueue in:
MFPStarterCordova/Plugins/cordova-plugin-mfp/IBMMobileFirstPlatformFoundationHybrid.framework/IBMMobileFirstPlatformFoundationHybrid(StoragePlugin.o)
MFPStarterCordova/Plugins/cordova-plugin-mfp-jsonstore/IBMMobileFirstPlatformFoundationHybridJSONStore.framework/IBMMobileFirstPlatformFoundationHybridJSONStore(StoragePlugin.o)
ld: 3 duplicate symbols for architecture x86_64

Adapter not getting called in IBM MobileFirst Platform v8.0

I am trying to call javascript adapter procedure using WLResourceRequest. But it is not getting called.

Client Code Snippet:

var url = "/adapters/AdapterNew/getFeed";
var resourceRequest = new WLResourceRequest(url, WLResourceRequest.GET);
resourceRequest.send().then(app.onSuccess, app.onFailure);
Server Code Snippet:

function getFeed(tag) {
var input = {
method : 'get',
returnedContentType : 'xml',
path : getPath(tag)
};
return MFP.Server.invokeHttp(input);
}
It is not giving any error. Please let me know the issue.

Thanks,
Deepak Kumar

Testing options for mobilefirst 8.0 applications

Hi,
What could be the best option for testing mobilefirst 8.0 applications in eclipse?

Also what are the prerequisites for tset workbench 8.7?please mention versions as well.

I am working with mobilefirst 7.0 to create hybrid applications.

Thanks

FWLSE3000E: A server error was detected.

com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 8 path $

I have submitted a ticket, escalated it and still not fixed.
I have this issue on my old Bluemix instance on dev and a brand new one on a different domain.

My development team at Watson Health really needs this functional.

mbstillbrokeasalways

also this link doesn't work:
https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/sending-push-notifications/
01252017bmfail2

link to API reference

there are numerous places in the documentation with phrases like:
"See the API Reference for “MFP.Server.invokeHttp” in the user documentation for a complete list of options."

However, there does not seem to be a link to the API reference anywhere, not on the sidebar or in this text, which means people have to then search Google. We should have a top level link on the left to the main API page and then link to specific pages within the API when we have these types of phrases.

Push notifications tutorial link Issue

Hi,

I am not able to open the below link:
[https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/sending-push-notifications/]

Cannot Filter On Author

When reading a blogpost, if you click on author name to see other blogposts written by the author it gives an error.

JMS adapter Configuration

while calling the adapter file in worklight i'm getting below error.

[ERROR ] FWLSE0005W: JMS connection exception received: jms/libertyQCF. Closing the connection. [project Adapters]
[ERROR ] FWLSE0035E: Invocation of procedure 'writeMessage' failed. [project Adapters]
Failed to create connection from factory: jms/libertyQCF

this error i'm getting in console.but i configured in server.xml

servlet-3.0
jndi-1.0
jdbc-4.0
localConnector-1.0
restConnector-1.0
jsp-2.2
appSecurity-1.0
ssl-1.0







<properties.wasJms nonPersistentMapping="ExpressNonPersistent" persistentMapping="ReliablePersistent"/>
<properties.wasJms/>



<properties.wasJms deliveryMode="Application" priority="1" queueName="libertyQ" readAhead="AsConnection" timeToLive="500000"/>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.